Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.0007959/0.0007959, allocations: 76.55 kB / 19.93 MB, free: 4.617 MB / 18.57 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.0008183/0.0008183, allocations: 177.9 kB / 23.22 MB, free: 1.332 MB / 18.57 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 0.8694/0.8694, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7158/0.7158, allocations: 154.5 MB / 414.5 MB, free: 0.8516 MB / 378.7 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 179] 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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.6192 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/1.939e-05, allocations: 5.344 kB / 0.6192 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003697/0.003716, allocations: 3.616 MB / 0.6228 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001333/0.00385, allocations: 139.4 kB / 0.6229 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.801e-05/0.003868, allocations: 0 / 0.6229 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.951e-05/0.003957, allocations: 3.938 kB / 0.6229 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.778e-05/0.004025, allocations: 23.91 kB / 0.6229 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.004296, allocations: 79.67 kB / 0.623 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.255e-05/0.004368, allocations: 35.86 kB / 0.623 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.292e-05/0.004401, allocations: 0 / 0.623 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.696e-05/0.004448, allocations: 27.91 kB / 0.6231 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.885e-05/0.004507, allocations: 7.984 kB / 0.6231 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.00452, allocations: 4 kB / 0.6231 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004263/0.004946, allocations: 211.2 kB / 0.6233 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.662e-05/0.004982, allocations: 11.92 kB / 0.6233 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.915e-05/0.005002, allocations: 11.98 kB / 0.6233 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.005117, allocations: 59.81 kB / 0.6234 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.393e-06/0.005118, allocations: 0 / 0.6234 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.91e-07/0.005119, allocations: 0 / 0.6234 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.257e-06/0.005122, allocations: 0 / 0.6234 GB, free: 9.012 MB / 0.5886 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.0002926/0.005415, allocations: 266.3 kB / 0.6236 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.005447, allocations: 9.469 kB / 0.6236 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.365e-05/0.005481, allocations: 0.9375 kB / 0.6236 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.068e-05/0.005552, allocations: 117.7 kB / 0.6237 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.218e-05/0.005604, allocations: 55.91 kB / 0.6238 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-06/0.005611, allocations: 384 / 0.6238 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.784e-05/0.005709, allocations: 71.95 kB / 0.6239 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.005716, allocations: 192 / 0.6239 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.005726, allocations: 3.938 kB / 0.6239 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.00574, allocations: 0 / 0.6239 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.597e-05/0.005776, allocations: 15.98 kB / 0.6239 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.006073, allocations: 204.6 kB / 0.6241 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.448e-05/0.006107, allocations: 30.55 kB / 0.6241 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.363e-05/0.006121, allocations: 12.86 kB / 0.6241 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.006157, allocations: 4 kB / 0.6241 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.006177, allocations: 30.56 kB / 0.6242 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.006178, allocations: 0 / 0.6242 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001053/0.006283, allocations: 33.7 kB / 0.6242 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.006309, allocations: 59.33 kB / 0.6242 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.309e-05/0.006372, allocations: 101.9 kB / 0.6243 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.006384, allocations: 25.7 kB / 0.6244 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/0.006424, allocations: 88.22 kB / 0.6244 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.492e-06/0.006431, allocations: 11.94 kB / 0.6245 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.006455, allocations: 13.72 kB / 0.6245 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.387e-05/0.006539, allocations: 318.8 kB / 0.6248 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.237e-06/0.006548, allocations: 4 kB / 0.6248 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.796e-05/0.006566, allocations: 17.7 kB / 0.6248 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.476e-05/0.006591, allocations: 21.72 kB / 0.6248 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.006592, allocations: 0 / 0.6248 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.686e-05/0.006639, allocations: 53.56 kB / 0.6249 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.00665, allocations: 12.06 kB / 0.6249 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.006654, allocations: 0 / 0.6249 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.006663, allocations: 0 / 0.6249 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.265e-05/0.006696, allocations: 4 kB / 0.6249 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.006701, allocations: 4 kB / 0.6249 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.159e-05/0.006713, allocations: 3.938 kB / 0.6249 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.006721, allocations: 0 / 0.6249 GB, free: 7.25 MB / 0.5886 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 5.454e-05/0.006775, allocations: 118.8 kB / 0.625 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.006788, allocations: 3.938 kB / 0.625 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.026e-05/0.006879, allocations: 133.2 kB / 0.6251 GB, free: 6.984 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.169e-05/0.00692, allocations: 176.3 kB / 0.6253 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.583e-05/0.006966, allocations: 196.2 kB / 0.6255 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-05/0.007006, allocations: 176.3 kB / 0.6257 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.007134, allocations: 356.8 kB / 0.626 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.446e-05/0.007158, allocations: 105 kB / 0.6261 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.295e-05/0.007181, allocations: 105 kB / 0.6262 GB, free: 5.82 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.98e-05/0.007221, allocations: 184.1 kB / 0.6264 GB, free: 5.633 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.145e-05/0.007262, allocations: 176.3 kB / 0.6265 GB, free: 5.453 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.12e-05/0.007303, allocations: 184.2 kB / 0.6267 GB, free: 5.266 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.116e-05/0.007345, allocations: 184.2 kB / 0.6269 GB, free: 5.078 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.082e-05/0.007435, allocations: 307.8 kB / 0.6272 GB, free: 4.754 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/0.007464, allocations: 104.9 kB / 0.6273 GB, free: 4.645 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.279e-05/0.007516, allocations: 192.2 kB / 0.6275 GB, free: 4.449 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.76e-05/0.007604, allocations: 105 kB / 0.6276 GB, free: 4.34 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.00765, allocations: 184.2 kB / 0.6277 GB, free: 4.152 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.007673, allocations: 101 kB / 0.6278 GB, free: 4.047 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.56e-05/0.007709, allocations: 87.27 kB / 0.6279 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007709, allocations: 0 / 0.6279 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001616/0.00787, allocations: 12 kB / 0.6279 GB, free: 3.949 MB / 0.5886 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.0001272/0.007998, allocations: 198.4 kB / 0.6281 GB, free: 3.742 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.76e-05/0.008055, allocations: 15.92 kB / 0.6281 GB, free: 3.727 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008057, allocations: 0 / 0.6281 GB, free: 3.727 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.21e-07/0.008058, allocations: 0 / 0.6281 GB, free: 3.727 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.008329, allocations: 461.2 kB / 0.6286 GB, free: 3.273 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001996/0.008528, allocations: 201.8 kB / 0.6288 GB, free: 3.043 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.787e-05/0.008566, allocations: 59.34 kB / 0.6288 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.00859, allocations: 16.61 kB / 0.6288 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of SimCode: time 5.61e-07/0.00859, allocations: 4 kB / 0.6289 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of Templates: time 0.001483/0.01007, allocations: 0.7382 MB / 0.6296 GB, free: 2.215 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.249757748097181] Failed to read output from testmodel.py, exit status != 0: 0.01419906597584486 0.021772782 0.015102292000000002 Calling exit ...