Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001165/0.001165, allocations: 88.22 kB / 19.65 MB, free: 272 kB / 13.93 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.001385/0.001385, allocations: 173 kB / 23.02 MB, free: 1.543 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 1.05/1.05, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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-545:108: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-545:116: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 0.8408/0.8408, allocations: 154.6 MB / 414.5 MB, free: 0.668 MB / 378.7 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 179] 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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.5203 GB, free: 2.238 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.133e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.234 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00421/0.004232, allocations: 4.157 MB / 0.5243 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0001599/0.004392, allocations: 164.6 kB / 0.5245 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.398e-05/0.004416, allocations: 0 / 0.5245 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.004525, allocations: 7.984 kB / 0.5245 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.638e-05/0.004601, allocations: 4.562 kB / 0.5245 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.004932, allocations: 93.23 kB / 0.5246 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.456e-05/0.005017, allocations: 36.94 kB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.779e-05/0.005054, allocations: 0 / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.417e-05/0.005109, allocations: 27.91 kB / 0.5247 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.322e-05/0.005182, allocations: 12.8 kB / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.005195, allocations: 0 / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.005363, allocations: 61.02 kB / 0.5247 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.355e-05/0.005406, allocations: 4 kB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.935e-05/0.005426, allocations: 4 kB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.005553, allocations: 68.56 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.005555, allocations: 0 / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.062e-06/0.005556, allocations: 0.5938 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.005561, allocations: 4.938 kB / 0.5248 GB, free: 13.61 MB / 0.4948 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.0003476/0.005908, allocations: 360.2 kB / 0.5252 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.005946, allocations: 8.031 kB / 0.5252 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.238e-05/0.005998, allocations: 13.75 kB / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.288e-05/0.006081, allocations: 113.1 kB / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.466e-05/0.006145, allocations: 56.75 kB / 0.5253 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.00616, allocations: 384 / 0.5253 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.00628, allocations: 83.78 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.006286, allocations: 192 / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.006296, allocations: 3.938 kB / 0.5254 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.006319, allocations: 0 / 0.5254 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.514e-05/0.006344, allocations: 11.98 kB / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003271/0.006671, allocations: 255.8 kB / 0.5257 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.238e-05/0.006704, allocations: 31 kB / 0.5257 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.45e-05/0.006718, allocations: 11.62 kB / 0.5257 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-05/0.006763, allocations: 9.031 kB / 0.5257 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.006785, allocations: 33.39 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.006786, allocations: 1.688 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001158/0.006901, allocations: 45.62 kB / 0.5258 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.006924, allocations: 51.41 kB / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.158e-05/0.006996, allocations: 159.4 kB / 0.526 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.007007, allocations: 29.69 kB / 0.526 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.007054, allocations: 134.8 kB / 0.5262 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.01e-06/0.007059, allocations: 3.953 kB / 0.5262 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/0.007084, allocations: 26.12 kB / 0.5262 GB, free: 12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.007192, allocations: 492.1 kB / 0.5267 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.007203, allocations: 7.984 kB / 0.5267 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.805e-05/0.007221, allocations: 19.38 kB / 0.5267 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.826e-05/0.007249, allocations: 27.31 kB / 0.5267 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.007251, allocations: 0 / 0.5267 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.056e-05/0.007302, allocations: 55.84 kB / 0.5268 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.007313, allocations: 8 kB / 0.5268 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.007317, allocations: 0 / 0.5268 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.007331, allocations: 0 / 0.5268 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.343e-05/0.007364, allocations: 4 kB / 0.5268 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.007369, allocations: 8.719 kB / 0.5268 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.23e-05/0.007381, allocations: 4 kB / 0.5268 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.00739, allocations: 4.797 kB / 0.5268 GB, free: 11.36 MB / 0.4948 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.8e-05/0.007448, allocations: 157.5 kB / 0.5269 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.007463, allocations: 7.891 kB / 0.527 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.638e-05/0.007559, allocations: 168 kB / 0.5271 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.647e-05/0.007616, allocations: 272 kB / 0.5274 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.363e-05/0.007679, allocations: 271.5 kB / 0.5276 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.627e-05/0.007736, allocations: 268.2 kB / 0.5279 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.007895, allocations: 0.492 MB / 0.5284 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.331e-05/0.007928, allocations: 144.9 kB / 0.5285 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.423e-05/0.007962, allocations: 153.1 kB / 0.5287 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.321e-05/0.008025, allocations: 268 kB / 0.5289 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.043e-05/0.008086, allocations: 264.1 kB / 0.5292 GB, free: 8.824 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.049e-05/0.008146, allocations: 280 kB / 0.5294 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.878e-05/0.008205, allocations: 268.1 kB / 0.5297 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.008327, allocations: 450.9 kB / 0.5301 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.925e-05/0.008366, allocations: 156.8 kB / 0.5303 GB, free: 7.648 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.973e-05/0.008436, allocations: 272.1 kB / 0.5305 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.452e-05/0.00853, allocations: 148.9 kB / 0.5307 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.448e-05/0.008595, allocations: 268 kB / 0.5309 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/0.008629, allocations: 148.9 kB / 0.5311 GB, free: 6.801 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.252e-05/0.008672, allocations: 127.2 kB / 0.5312 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008672, allocations: 2.75 kB / 0.5312 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001579/0.008829, allocations: 19.94 kB / 0.5312 GB, free: 6.656 MB / 0.4948 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.0001418/0.008971, allocations: 230.4 kB / 0.5314 GB, free: 6.422 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.579e-05/0.009037, allocations: 23.61 kB / 0.5314 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.009038, allocations: 0 / 0.5314 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.009039, allocations: 0 / 0.5314 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.009361, allocations: 0.7166 MB / 0.5321 GB, free: 5.676 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003945/0.009755, allocations: 237.5 kB / 0.5324 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.193e-05/0.009787, allocations: 51.36 kB / 0.5324 GB, free: 5.344 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.795e-05/0.009815, allocations: 11.3 kB / 0.5324 GB, free: 5.336 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.876e-05/0.009834, allocations: 16.44 kB / 0.5325 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.009835, allocations: 0 / 0.5325 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of Templates: time 0.002007/0.01184, allocations: 0.6553 MB / 0.5331 GB, free: 4.699 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9368909867480397]