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.001141/0.001141, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009058/0.0009058, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.019/1.019, allocations: 177.1 MB / 204.5 MB, free: 5.5 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-535:34: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-535:42: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.8167/0.8167, allocations: 154.9 MB / 415.9 MB, free: 252 kB / 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.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 1.583e-06/1.583e-06, allocations: 0 / 0.5219 GB, free: 1.57 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.75e-05/2.908e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.566 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006027/0.006056, allocations: 4.135 MB / 0.5259 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0002037/0.00626, allocations: 161.4 kB / 0.526 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.923e-05/0.006289, allocations: 0 / 0.526 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.006393, allocations: 5 kB / 0.5261 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.737e-05/0.00647, allocations: 19.84 kB / 0.5261 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003442/0.006814, allocations: 89.08 kB / 0.5262 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.527e-05/0.0069, allocations: 36.84 kB / 0.5262 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.712e-05/0.006937, allocations: 4 kB / 0.5262 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.143e-05/0.006998, allocations: 17.19 kB / 0.5262 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.363e-05/0.007072, allocations: 15.92 kB / 0.5262 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.007084, allocations: 0 / 0.5262 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.007275, allocations: 56.31 kB / 0.5263 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.171e-05/0.007316, allocations: 7.984 kB / 0.5263 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.921e-05/0.007336, allocations: 13.7 kB / 0.5263 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.007473, allocations: 59.88 kB / 0.5264 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.007475, allocations: 0 / 0.5264 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.62e-07/0.007476, allocations: 0 / 0.5264 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.00748, allocations: 1.719 kB / 0.5264 GB, free: 12.97 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.0003415/0.007821, allocations: 368.3 kB / 0.5267 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.007857, allocations: 12.03 kB / 0.5267 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.007899, allocations: 1.281 kB / 0.5267 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.908e-05/0.007988, allocations: 114.1 kB / 0.5268 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.247e-05/0.00805, allocations: 55.91 kB / 0.5269 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.008061, allocations: 384 / 0.5269 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.008177, allocations: 80.66 kB / 0.527 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.008185, allocations: 4.875 kB / 0.527 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.008194, allocations: 3.938 kB / 0.527 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.008215, allocations: 1.469 kB / 0.527 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.431e-05/0.00824, allocations: 11.98 kB / 0.527 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003074/0.008547, allocations: 236.4 kB / 0.5272 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.068e-05/0.008588, allocations: 34.98 kB / 0.5272 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.17e-05/0.008599, allocations: 9.031 kB / 0.5273 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.46e-05/0.008644, allocations: 4.062 kB / 0.5273 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.008671, allocations: 46.33 kB / 0.5273 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.008673, allocations: 0 / 0.5273 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001136/0.008786, allocations: 34.66 kB / 0.5273 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.008819, allocations: 55.34 kB / 0.5274 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.915e-05/0.008898, allocations: 161.9 kB / 0.5275 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.008912, allocations: 28.61 kB / 0.5276 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.008962, allocations: 134.8 kB / 0.5277 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.099e-06/0.008967, allocations: 3.953 kB / 0.5277 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.008999, allocations: 23.38 kB / 0.5277 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.009115, allocations: 0.4884 MB / 0.5282 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-06/0.009124, allocations: 0 / 0.5282 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.108e-05/0.009145, allocations: 19.38 kB / 0.5282 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.987e-05/0.009175, allocations: 22.12 kB / 0.5282 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.009177, allocations: 4 kB / 0.5282 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.288e-05/0.00925, allocations: 53.56 kB / 0.5283 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.009261, allocations: 4 kB / 0.5283 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.009265, allocations: 0 / 0.5283 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.597e-06/0.009274, allocations: 0.625 kB / 0.5283 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.367e-05/0.009308, allocations: 4 kB / 0.5283 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.009311, allocations: 9.219 kB / 0.5283 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.899e-05/0.00933, allocations: 3.984 kB / 0.5283 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.009338, allocations: 0 / 0.5283 GB, free: 10.75 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 7.083e-05/0.009408, allocations: 165.2 kB / 0.5285 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.009436, allocations: 9.453 kB / 0.5285 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003604/0.009796, allocations: 167.8 kB / 0.5286 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.629e-05/0.009862, allocations: 272 kB / 0.5289 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-05/0.009924, allocations: 268.1 kB / 0.5292 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.627e-05/0.00999, allocations: 265.6 kB / 0.5294 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.01019, allocations: 484.4 kB / 0.5299 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.745e-05/0.01023, allocations: 148.9 kB / 0.53 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/0.01027, allocations: 157.5 kB / 0.5302 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.481e-05/0.01033, allocations: 264.1 kB / 0.5304 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.458e-05/0.0104, allocations: 268.9 kB / 0.5307 GB, free: 8.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.645e-05/0.01046, allocations: 276 kB / 0.5309 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.678e-05/0.01053, allocations: 265.8 kB / 0.5312 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.01068, allocations: 444 kB / 0.5316 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.564e-05/0.01072, allocations: 152.9 kB / 0.5318 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.215e-05/0.0108, allocations: 276 kB / 0.532 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.01094, allocations: 159.2 kB / 0.5322 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.365e-05/0.01101, allocations: 268 kB / 0.5324 GB, free: 6.363 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.914e-05/0.01105, allocations: 148.9 kB / 0.5326 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.753e-05/0.0111, allocations: 127.2 kB / 0.5327 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.0111, allocations: 0 / 0.5327 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002549/0.01135, allocations: 15.94 kB / 0.5327 GB, free: 6.07 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.0001725/0.01153, allocations: 236.9 kB / 0.5329 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.986e-05/0.0116, allocations: 23.62 kB / 0.533 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.0116, allocations: 0 / 0.533 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.0116, allocations: 0 / 0.533 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.01201, allocations: 0.709 MB / 0.5336 GB, free: 5.094 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003778/0.01239, allocations: 243.4 kB / 0.5339 GB, free: 4.828 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.569e-05/0.01243, allocations: 55.22 kB / 0.5339 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.89e-05/0.01247, allocations: 14.78 kB / 0.5339 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.098e-05/0.01256, allocations: 86.17 kB / 0.534 GB, free: 4.656 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.01256, allocations: 0 / 0.534 GB, free: 4.656 MB / 0.4948 GB Notification: Performance of Templates: time 0.002695/0.01525, allocations: 0.7303 MB / 0.5347 GB, free: 3.961 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8169128196313977]