Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.001472/0.001472, allocations: 80.2 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.001533/0.001533, allocations: 174.5 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.547/1.547, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.2/1.2, allocations: 154.6 MB / 413.7 MB, free: 5.289 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.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.6185 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.245e-05/3.461e-05, allocations: 7.844 kB / 0.6185 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00607/0.006105, allocations: 3.895 MB / 0.6223 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002331/0.006338, allocations: 143.5 kB / 0.6224 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.803e-05/0.006366, allocations: 0 / 0.6224 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.006496, allocations: 3.938 kB / 0.6224 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.723e-05/0.006593, allocations: 15.92 kB / 0.6225 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.006982, allocations: 87.66 kB / 0.6225 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.818e-05/0.00708, allocations: 39.8 kB / 0.6226 GB, free: 468 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.007123, allocations: 0 / 0.6226 GB, free: 468 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.608e-05/0.007189, allocations: 23.91 kB / 0.6226 GB, free: 444 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.123e-05/0.00727, allocations: 7.984 kB / 0.6226 GB, free: 436 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.007287, allocations: 4 kB / 0.6226 GB, free: 432 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002065/0.007493, allocations: 63.69 kB / 0.6227 GB, free: 368 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.406e-05/0.007548, allocations: 7.984 kB / 0.6227 GB, free: 360 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.939e-05/0.007577, allocations: 4 kB / 0.6227 GB, free: 356 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.007754, allocations: 67.84 kB / 0.6228 GB, free: 288 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.007759, allocations: 3.938 kB / 0.6228 GB, free: 284 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.262e-06/0.007761, allocations: 0 / 0.6228 GB, free: 284 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.007765, allocations: 0 / 0.6228 GB, free: 284 kB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004446/0.00821, allocations: 254.3 kB / 0.623 GB, free: 0 / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.008258, allocations: 13.52 kB / 0.623 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.026e-05/0.008308, allocations: 0.9375 kB / 0.623 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.008439, allocations: 113.8 kB / 0.6231 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-05/0.008539, allocations: 55.91 kB / 0.6232 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.178e-06/0.008548, allocations: 384 / 0.6232 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.008729, allocations: 75.89 kB / 0.6232 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.00874, allocations: 192 / 0.6232 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.008755, allocations: 3.938 kB / 0.6233 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/0.008775, allocations: 0 / 0.6233 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.441e-05/0.008829, allocations: 15.98 kB / 0.6233 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/0.009268, allocations: 204.6 kB / 0.6235 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.204e-05/0.00932, allocations: 14.58 kB / 0.6235 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.215e-05/0.009342, allocations: 20.73 kB / 0.6235 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.668e-05/0.009409, allocations: 16.03 kB / 0.6235 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.009442, allocations: 30.56 kB / 0.6235 GB, free: 15.35 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.009443, allocations: 0 / 0.6235 GB, free: 15.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.00016/0.009603, allocations: 33.7 kB / 0.6236 GB, free: 15.31 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.009655, allocations: 51.41 kB / 0.6236 GB, free: 15.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.009762, allocations: 105.8 kB / 0.6237 GB, free: 15.13 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.009783, allocations: 25.7 kB / 0.6237 GB, free: 15.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.658e-05/0.009839, allocations: 84.09 kB / 0.6238 GB, free: 15.02 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.312e-05/0.009853, allocations: 16.02 kB / 0.6238 GB, free: 15 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.009888, allocations: 17.7 kB / 0.6239 GB, free: 14.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.01004, allocations: 314.8 kB / 0.6242 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.64e-05/0.01005, allocations: 3.938 kB / 0.6242 GB, free: 14.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.934e-05/0.01008, allocations: 17.72 kB / 0.6242 GB, free: 14.63 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.873e-05/0.01012, allocations: 25.7 kB / 0.6242 GB, free: 14.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.01012, allocations: 0 / 0.6242 GB, free: 14.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.462e-05/0.0102, allocations: 45.58 kB / 0.6242 GB, free: 14.55 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.01022, allocations: 19.98 kB / 0.6243 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.01022, allocations: 3.938 kB / 0.6243 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.01024, allocations: 0 / 0.6243 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.543e-05/0.01029, allocations: 4 kB / 0.6243 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.0103, allocations: 0 / 0.6243 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.197e-05/0.01032, allocations: 8.281 kB / 0.6243 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.01033, allocations: 0 / 0.6243 GB, free: 14.52 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 9.179e-05/0.01042, allocations: 110.8 kB / 0.6244 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.01045, allocations: 3.938 kB / 0.6244 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.01058, allocations: 132.9 kB / 0.6245 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-05/0.01066, allocations: 184.3 kB / 0.6247 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.052e-05/0.01074, allocations: 184.2 kB / 0.6249 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.821e-05/0.01082, allocations: 180.2 kB / 0.625 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.01105, allocations: 356.8 kB / 0.6254 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.833e-05/0.0111, allocations: 104.9 kB / 0.6255 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.87e-05/0.01115, allocations: 105 kB / 0.6256 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.984e-05/0.01123, allocations: 188.1 kB / 0.6258 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.713e-05/0.01131, allocations: 176.3 kB / 0.6259 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.263e-05/0.01138, allocations: 180.3 kB / 0.6261 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.06e-05/0.01146, allocations: 180.2 kB / 0.6263 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.01164, allocations: 311.8 kB / 0.6266 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.01169, allocations: 112.9 kB / 0.6267 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.01179, allocations: 176.3 kB / 0.6268 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.01196, allocations: 116.9 kB / 0.627 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.93e-05/0.01204, allocations: 176.5 kB / 0.6271 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.794e-05/0.01209, allocations: 112.9 kB / 0.6272 GB, free: 11.31 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.283e-05/0.01214, allocations: 83.27 kB / 0.6273 GB, free: 11.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01214, allocations: 0 / 0.6273 GB, free: 11.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002552/0.0124, allocations: 19.94 kB / 0.6273 GB, free: 11.21 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 (0): * Single equations (assignments): 0 * 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.00023/0.01263, allocations: 194.5 kB / 0.6275 GB, free: 11.01 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.076e-05/0.01271, allocations: 4 kB / 0.6275 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01271, allocations: 0 / 0.6275 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.888e-06/0.01272, allocations: 3.938 kB / 0.6275 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000531/0.01325, allocations: 467.7 kB / 0.628 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.01355, allocations: 176.2 kB / 0.6281 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.862e-05/0.01361, allocations: 63.28 kB / 0.6282 GB, free: 10.26 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.717e-05/0.01366, allocations: 12.12 kB / 0.6282 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.158e-05/0.01368, allocations: 8.5 kB / 0.6282 GB, free: 10.24 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.01368, allocations: 0 / 0.6282 GB, free: 10.24 MB / 0.545 GB Notification: Performance of Templates: time 0.003275/0.01695, allocations: 0.6559 MB / 0.6289 GB, free: 9.59 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.085993859916925] Failed to read output from testmodel.py, exit status != 0: 0.025841880589723587 0.039763663000000005 0.029023959000000002 Calling exit ...