Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001523/0.001523, allocations: 84.05 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.001657/0.001657, allocations: 165.1 kB / 22.46 MB, free: 5.359 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.495/1.495, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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.211/1.211, allocations: 154.6 MB / 413.8 MB, free: 5.227 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.6186 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.951e-05/3.134e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006718/0.006749, allocations: 3.61 MB / 0.6221 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002425/0.006991, allocations: 155.3 kB / 0.6222 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.503e-05/0.007017, allocations: 0 / 0.6222 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.007132, allocations: 0 / 0.6222 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.262e-05/0.007225, allocations: 11.92 kB / 0.6222 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004356/0.00766, allocations: 95.55 kB / 0.6223 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.007765, allocations: 31.86 kB / 0.6224 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.672e-05/0.007812, allocations: 0 / 0.6224 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.084e-05/0.007882, allocations: 23.97 kB / 0.6224 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.289e-05/0.007965, allocations: 11.98 kB / 0.6224 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.007982, allocations: 0 / 0.6224 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006985/0.00868, allocations: 203.3 kB / 0.6226 GB, free: 460 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.265e-05/0.008733, allocations: 11.97 kB / 0.6226 GB, free: 448 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.902e-05/0.008762, allocations: 15.88 kB / 0.6226 GB, free: 432 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.008944, allocations: 63.86 kB / 0.6227 GB, free: 368 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.008948, allocations: 0 / 0.6227 GB, free: 368 kB / 0.5294 GB Notification: Performance of FrontEnd: time 8.32e-07/0.008949, allocations: 4 kB / 0.6227 GB, free: 364 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.008958, allocations: 3.938 kB / 0.6227 GB, free: 360 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.0004338/0.009392, allocations: 254.3 kB / 0.6229 GB, free: 76 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.009436, allocations: 8.031 kB / 0.6229 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.00948, allocations: 4.938 kB / 0.6229 GB, free: 64 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.009625, allocations: 105.7 kB / 0.623 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.009726, allocations: 55.97 kB / 0.6231 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.009742, allocations: 4.359 kB / 0.6231 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.009914, allocations: 79.94 kB / 0.6232 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.009923, allocations: 192 / 0.6232 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.009936, allocations: 3.938 kB / 0.6232 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.009958, allocations: 4 kB / 0.6232 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.928e-05/0.01001, allocations: 15.92 kB / 0.6232 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.01044, allocations: 204.6 kB / 0.6234 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.441e-05/0.01049, allocations: 22.52 kB / 0.6234 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.042e-05/0.01051, allocations: 12.8 kB / 0.6234 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.114e-05/0.01057, allocations: 8.047 kB / 0.6234 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.01062, allocations: 38.55 kB / 0.6235 GB, free: 15.42 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/0.01062, allocations: 4 kB / 0.6235 GB, free: 15.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001447/0.01076, allocations: 33.64 kB / 0.6235 GB, free: 15.38 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.0108, allocations: 51.41 kB / 0.6236 GB, free: 15.31 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.96e-05/0.0109, allocations: 105.8 kB / 0.6237 GB, free: 15.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.01093, allocations: 25.7 kB / 0.6237 GB, free: 15.17 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/0.01098, allocations: 88.09 kB / 0.6238 GB, free: 15.08 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.137e-06/0.01099, allocations: 7.953 kB / 0.6238 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.01103, allocations: 13.72 kB / 0.6238 GB, free: 15.05 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.01117, allocations: 314.8 kB / 0.6241 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.828e-05/0.01119, allocations: 8.125 kB / 0.6241 GB, free: 14.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.871e-05/0.01123, allocations: 21.72 kB / 0.6241 GB, free: 14.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.743e-05/0.01127, allocations: 21.66 kB / 0.6241 GB, free: 14.67 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.01127, allocations: 4 kB / 0.6241 GB, free: 14.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.839e-05/0.01136, allocations: 49.56 kB / 0.6242 GB, free: 14.61 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.01137, allocations: 4 kB / 0.6242 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.01138, allocations: 0 / 0.6242 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.0114, allocations: 4 kB / 0.6242 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.722e-05/0.01144, allocations: 11.98 kB / 0.6242 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.01145, allocations: 4.062 kB / 0.6242 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.133e-05/0.01147, allocations: 0 / 0.6242 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.01148, allocations: 4 kB / 0.6242 GB, free: 14.59 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.175e-05/0.01157, allocations: 106.8 kB / 0.6243 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.01161, allocations: 7.938 kB / 0.6243 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.01173, allocations: 120.9 kB / 0.6244 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.046e-05/0.01182, allocations: 184.2 kB / 0.6246 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.598e-05/0.01191, allocations: 180.2 kB / 0.6248 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.37e-05/0.01199, allocations: 184.2 kB / 0.625 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.01225, allocations: 364.8 kB / 0.6253 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.536e-05/0.0123, allocations: 101 kB / 0.6254 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.509e-05/0.01236, allocations: 104.9 kB / 0.6255 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.832e-05/0.01245, allocations: 180.2 kB / 0.6257 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.695e-05/0.01254, allocations: 188.2 kB / 0.6259 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.724e-05/0.01262, allocations: 180.2 kB / 0.626 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.183e-05/0.01271, allocations: 184.2 kB / 0.6262 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.01289, allocations: 303.8 kB / 0.6265 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/0.01296, allocations: 108.9 kB / 0.6266 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.01306, allocations: 180.3 kB / 0.6268 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.01324, allocations: 124.9 kB / 0.6269 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.805e-05/0.01334, allocations: 180.2 kB / 0.6271 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.743e-05/0.01338, allocations: 101 kB / 0.6272 GB, free: 11.39 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.399e-05/0.01345, allocations: 83.28 kB / 0.6272 GB, free: 11.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01345, allocations: 0 / 0.6272 GB, free: 11.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002691/0.01372, allocations: 16 kB / 0.6272 GB, free: 11.29 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.000264/0.01398, allocations: 201.8 kB / 0.6274 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.678e-05/0.01406, allocations: 4 kB / 0.6274 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.01406, allocations: 0 / 0.6274 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.01406, allocations: 4.125 kB / 0.6274 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005032/0.01456, allocations: 459.7 kB / 0.6279 GB, free: 10.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003042/0.01487, allocations: 176.5 kB / 0.6281 GB, free: 10.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.299e-05/0.01494, allocations: 59.34 kB / 0.6281 GB, free: 10.35 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.934e-05/0.01498, allocations: 4 kB / 0.6281 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.01501, allocations: 12.5 kB / 0.6281 GB, free: 10.33 MB / 0.545 GB Notification: Performance of SimCode: time 6.11e-07/0.01501, allocations: 4 kB / 0.6281 GB, free: 10.33 MB / 0.545 GB Notification: Performance of Templates: time 0.003591/0.0186, allocations: 0.6602 MB / 0.6288 GB, free: 9.688 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.016490079462528] Failed to read output from testmodel.py, exit status != 0: 0.02810211479663849 0.044497602000000004 0.032141246000000005 Calling exit ...