Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001295/0.001295, allocations: 80.28 kB / 19.18 MB, free: 2.527 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.002121/0.002121, allocations: 164.2 kB / 22.46 MB, free: 5.355 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.549/1.549, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.19/1.19, allocations: 154.6 MB / 413.7 MB, free: 5.309 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_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_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.6185 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.007e-05/5.221e-05, allocations: 3.281 kB / 0.6185 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003471/0.003523, allocations: 1.512 MB / 0.62 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009759/0.004499, allocations: 474 kB / 0.6205 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.42e-05/0.004563, allocations: 0 / 0.6205 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.017e-05/0.004593, allocations: 3.938 kB / 0.6205 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.535e-05/0.004659, allocations: 15.81 kB / 0.6205 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.004924, allocations: 35.94 kB / 0.6205 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.005076, allocations: 59.72 kB / 0.6206 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.005187, allocations: 8 kB / 0.6206 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.005355, allocations: 39.83 kB / 0.6206 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.885e-05/0.005434, allocations: 15.98 kB / 0.6206 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.005451, allocations: 4 kB / 0.6206 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.255e-05/0.005504, allocations: 8 kB / 0.6206 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.005526, allocations: 11.92 kB / 0.6207 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.005574, allocations: 23.92 kB / 0.6207 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.005722, allocations: 51.75 kB / 0.6207 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.005728, allocations: 8 kB / 0.6207 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.61e-07/0.005729, allocations: 0 / 0.6207 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.005733, allocations: 0 / 0.6207 GB, free: 2.363 MB / 0.5294 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.0005899/0.006323, allocations: 290.1 kB / 0.621 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.006369, allocations: 13.47 kB / 0.621 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/0.006602, allocations: 20.88 kB / 0.621 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.006863, allocations: 133.6 kB / 0.6212 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.006875, allocations: 4.375 kB / 0.6212 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.006888, allocations: 8.312 kB / 0.6212 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.007077, allocations: 58.23 kB / 0.6212 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.007087, allocations: 192 / 0.6212 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.007096, allocations: 384 / 0.6212 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.007107, allocations: 11.92 kB / 0.6212 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.007242, allocations: 35.97 kB / 0.6213 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.007616, allocations: 208.6 kB / 0.6215 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.00776, allocations: 42.5 kB / 0.6215 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.103e-05/0.007841, allocations: 24.94 kB / 0.6215 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.007859, allocations: 0 / 0.6215 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.007894, allocations: 42.48 kB / 0.6216 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.007895, allocations: 0 / 0.6216 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003461/0.008241, allocations: 85.59 kB / 0.6217 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/0.008303, allocations: 55.41 kB / 0.6217 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.008419, allocations: 125.8 kB / 0.6218 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.008437, allocations: 25.7 kB / 0.6219 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.223e-05/0.008509, allocations: 96.09 kB / 0.622 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.00853, allocations: 7.891 kB / 0.622 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.008574, allocations: 21.7 kB / 0.622 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.008728, allocations: 310.8 kB / 0.6223 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.493e-05/0.008803, allocations: 19.98 kB / 0.6223 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.093e-05/0.008864, allocations: 15.98 kB / 0.6223 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.009026, allocations: 44.83 kB / 0.6224 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.009028, allocations: 0 / 0.6224 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000187/0.009215, allocations: 77.5 kB / 0.6224 GB, free: 460 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.00923, allocations: 7.984 kB / 0.6224 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.009235, allocations: 0 / 0.6224 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.00925, allocations: 0 / 0.6224 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.891e-05/0.009349, allocations: 12 kB / 0.6225 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.009357, allocations: 3.984 kB / 0.6225 GB, free: 436 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.473e-05/0.009412, allocations: 7.984 kB / 0.6225 GB, free: 428 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.009419, allocations: 4 kB / 0.6225 GB, free: 424 kB / 0.5294 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 0.0001029/0.009522, allocations: 110.8 kB / 0.6226 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.009555, allocations: 15.83 kB / 0.6226 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.582e-05/0.009591, allocations: 11.98 kB / 0.6226 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.009592, allocations: 0 / 0.6226 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.009599, allocations: 7.938 kB / 0.6226 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.009602, allocations: 0 / 0.6226 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.009761, allocations: 113.3 kB / 0.6227 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.009762, allocations: 0 / 0.6227 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.946e-05/0.009831, allocations: 11.98 kB / 0.6227 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.009833, allocations: 4 kB / 0.6227 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.009842, allocations: 3.938 kB / 0.6227 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.009844, allocations: 0 / 0.6227 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.009844, allocations: 0 / 0.6227 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.01012, allocations: 171.7 kB / 0.6229 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.154e-05/0.01013, allocations: 4.047 kB / 0.6229 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.01015, allocations: 11.92 kB / 0.6229 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.174e-05/0.01024, allocations: 4 kB / 0.6229 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.01028, allocations: 7.984 kB / 0.6229 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.01029, allocations: 4 kB / 0.6229 GB, free: 15.88 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.616e-05/0.01036, allocations: 98.52 kB / 0.623 GB, free: 15.78 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01036, allocations: 0 / 0.623 GB, free: 15.78 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002252/0.01059, allocations: 8 kB / 0.623 GB, free: 15.77 MB / 0.545 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 0.0001219/0.01071, allocations: 95.25 kB / 0.6231 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001963/0.0109, allocations: 43.89 kB / 0.6232 GB, free: 15.63 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.01091, allocations: 0 / 0.6232 GB, free: 15.63 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.891e-05/0.01099, allocations: 27.98 kB / 0.6232 GB, free: 15.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.01122, allocations: 0 / 0.6232 GB, free: 15.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004219/0.01164, allocations: 164.6 kB / 0.6233 GB, free: 15.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.333e-05/0.01173, allocations: 71.5 kB / 0.6234 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.517e-05/0.01176, allocations: 3.984 kB / 0.6234 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/0.0118, allocations: 20.5 kB / 0.6234 GB, free: 15.3 MB / 0.545 GB Notification: Performance of SimCode: time 6.32e-07/0.0118, allocations: 0 / 0.6234 GB, free: 15.3 MB / 0.545 GB Notification: Performance of Templates: time 0.003011/0.01481, allocations: 451.2 kB / 0.6239 GB, free: 14.88 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.954807501286268] Failed to read output from testmodel.py, exit status != 0: 0.023770414292812347 0.039208972 0.030193221000000003 Calling exit ...