Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 210.7 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.598/1.598, allocations: 230.6 MB / 256 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.338/1.338, allocations: 203.5 MB / 0.5038 GB, free: 4.871 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00353/0.00353, allocations: 75.88 kB / 0.7183 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9072/0.9107, allocations: 102 MB / 0.8179 GB, free: 29.1 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003159/0.9139, allocations: 1.528 MB / 0.8193 GB, free: 28.08 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0009805/0.9149, allocations: 457.3 kB / 0.8198 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.116e-05/0.9149, allocations: 2.062 kB / 0.8198 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.918e-05/0.915, allocations: 5.25 kB / 0.8198 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 5.933e-05/0.915, allocations: 16.14 kB / 0.8198 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.9153, allocations: 40.61 kB / 0.8198 GB, free: 27.75 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.9155, allocations: 53.25 kB / 0.8199 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.9156, allocations: 7.594 kB / 0.8199 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.9157, allocations: 33.09 kB / 0.8199 GB, free: 27.71 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.275e-05/0.9158, allocations: 25.78 kB / 0.82 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.9158, allocations: 3.188 kB / 0.82 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 4.852e-05/0.9159, allocations: 5.031 kB / 0.82 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.9159, allocations: 8.078 kB / 0.82 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.9159, allocations: 20.84 kB / 0.82 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.9161, allocations: 57.19 kB / 0.82 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.9161, allocations: 1.719 kB / 0.8201 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9161, allocations: 0 / 0.8201 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.9161, allocations: 0.5 kB / 0.8201 GB, free: 27.66 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005137/0.9166, allocations: 301.6 kB / 0.8203 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.9167, allocations: 9.031 kB / 0.8203 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002529/0.9169, allocations: 25.38 kB / 0.8204 GB, free: 27.37 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.9171, allocations: 125 kB / 0.8205 GB, free: 27.24 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.9171, allocations: 7.969 kB / 0.8205 GB, free: 27.23 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.9171, allocations: 1.656 kB / 0.8205 GB, free: 27.23 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.9173, allocations: 55.88 kB / 0.8206 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.9173, allocations: 0.7188 kB / 0.8206 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.9173, allocations: 5.188 kB / 0.8206 GB, free: 27.19 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.9173, allocations: 0.9062 kB / 0.8206 GB, free: 27.19 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.9175, allocations: 36.31 kB / 0.8206 GB, free: 27.18 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.9179, allocations: 221.1 kB / 0.8208 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.918, allocations: 42.8 kB / 0.8208 GB, free: 26.93 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.971e-05/0.9181, allocations: 25.12 kB / 0.8209 GB, free: 26.92 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.9181, allocations: 4.875 kB / 0.8209 GB, free: 26.92 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.9181, allocations: 36.53 kB / 0.8209 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.9181, allocations: 0 / 0.8209 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0003413/0.9185, allocations: 87.11 kB / 0.821 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.9185, allocations: 54.36 kB / 0.821 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.9186, allocations: 121 kB / 0.8212 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.9186, allocations: 26.33 kB / 0.8212 GB, free: 26.63 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.71e-05/0.9187, allocations: 99.69 kB / 0.8213 GB, free: 26.54 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.9187, allocations: 9.812 kB / 0.8213 GB, free: 26.53 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.9187, allocations: 15.56 kB / 0.8213 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.832e-05/0.9188, allocations: 317.9 kB / 0.8216 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.427e-05/0.9189, allocations: 18.39 kB / 0.8216 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.234e-05/0.9189, allocations: 17.53 kB / 0.8216 GB, free: 26.19 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.9191, allocations: 44.86 kB / 0.8217 GB, free: 26.17 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.9191, allocations: 5.656 kB / 0.8217 GB, free: 26.17 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001849/0.9193, allocations: 77.59 kB / 0.8218 GB, free: 26.12 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.9193, allocations: 6.344 kB / 0.8218 GB, free: 26.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.9193, allocations: 2.938 kB / 0.8218 GB, free: 26.12 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.9193, allocations: 0 / 0.8218 GB, free: 26.12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.9194, allocations: 9.656 kB / 0.8218 GB, free: 26.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.9194, allocations: 0.5625 kB / 0.8218 GB, free: 26.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.434e-05/0.9195, allocations: 8.719 kB / 0.8218 GB, free: 26.12 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.9195, allocations: 1.375 kB / 0.8218 GB, free: 26.12 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.192e-05/0.9195, allocations: 117.6 kB / 0.8219 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.9196, allocations: 7.891 kB / 0.8219 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.9196, allocations: 10.39 kB / 0.8219 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.9196, allocations: 4.75 kB / 0.8219 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.9196, allocations: 1.484 kB / 0.8219 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.9196, allocations: 0 / 0.8219 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.9197, allocations: 119.8 kB / 0.822 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.9197, allocations: 4 kB / 0.822 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.43e-05/0.9198, allocations: 10.27 kB / 0.8221 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.9198, allocations: 0.6094 kB / 0.8221 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.9198, allocations: 1.219 kB / 0.8221 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.9198, allocations: 0.7188 kB / 0.8221 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.9198, allocations: 0 / 0.8221 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.92, allocations: 170.5 kB / 0.8222 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.257e-05/0.9201, allocations: 3.516 kB / 0.8222 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.9201, allocations: 0.7969 kB / 0.8222 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.032e-05/0.9202, allocations: 8.562 kB / 0.8222 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/0.9202, allocations: 7.438 kB / 0.8222 GB, free: 25.69 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.9202, allocations: 2.031 kB / 0.8222 GB, free: 25.69 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.875e-05/0.9203, allocations: 101.3 kB / 0.8223 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6e-08/0.9203, allocations: 5.156 kB / 0.8223 GB, free: 25.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002175/0.9205, allocations: 6.375 kB / 0.8223 GB, free: 25.6 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.821e-05/0.9206, allocations: 96.11 kB / 0.8224 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002154/0.9208, allocations: 43.62 kB / 0.8225 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.9208, allocations: 0 / 0.8225 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 8.972e-05/0.9209, allocations: 20.91 kB / 0.8225 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.9211, allocations: 9.484 kB / 0.8225 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004586/0.9216, allocations: 173 kB / 0.8227 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.245e-05/0.9216, allocations: 69.22 kB / 0.8227 GB, free: 25.28 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.845e-05/0.9217, allocations: 6.203 kB / 0.8227 GB, free: 25.28 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.9217, allocations: 13.69 kB / 0.8228 GB, free: 25.27 MB / 0.6387 GB Notification: Performance of SimCode: time 2.91e-07/0.9217, allocations: 0 / 0.8228 GB, free: 25.27 MB / 0.6387 GB Notification: Performance of Templates: time 0.003511/0.9252, allocations: 500 kB / 0.8232 GB, free: 25.19 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.2612729500979185] Failed to read output from testmodel.py, exit status != 0: 0.9353847112506628 0.946284732 0.027443565000000003 Calling exit ...