Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 109.2 kB / 17.09 MB, free: 5.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 194.7 kB / 18.02 MB, free: 4.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6654/0.6654, allocations: 115.3 MB / 407.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 65.42 kB / 0.5583 GB, free: 32.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1121, allocations: 76.18 MB / 0.6327 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004602/0.1168, allocations: 3.706 MB / 0.6363 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001718/0.117, allocations: 163.4 kB / 0.6365 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.635e-05/0.117, allocations: 0 / 0.6365 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 7.377e-05/0.1171, allocations: 0 / 0.6365 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.244e-05/0.1171, allocations: 19.91 kB / 0.6365 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.1174, allocations: 90.44 kB / 0.6366 GB, free: 444 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.025e-05/0.1175, allocations: 31.91 kB / 0.6366 GB, free: 412 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.166e-05/0.1175, allocations: 0 / 0.6366 GB, free: 412 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.527e-05/0.1176, allocations: 15.94 kB / 0.6366 GB, free: 396 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.544e-05/0.1176, allocations: 15.91 kB / 0.6367 GB, free: 380 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.859e-06/0.1177, allocations: 0 / 0.6367 GB, free: 380 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004437/0.1181, allocations: 187.4 kB / 0.6368 GB, free: 192 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.091e-05/0.1182, allocations: 7.969 kB / 0.6368 GB, free: 184 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.042e-05/0.1182, allocations: 12 kB / 0.6369 GB, free: 172 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.1183, allocations: 43.83 kB / 0.6369 GB, free: 128 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1183, allocations: 0 / 0.6369 GB, free: 128 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1183, allocations: 0 / 0.6369 GB, free: 128 kB / 478.1 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.1183, allocations: 0 / 0.6369 GB, free: 128 kB / 478.1 MB 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.0003262/0.1187, allocations: 335.5 kB / 0.6372 GB, free: 15.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.1187, allocations: 16.02 kB / 0.6372 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.1187, allocations: 0.9375 kB / 0.6372 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.991e-05/0.1188, allocations: 164.3 kB / 0.6374 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.359e-05/0.1189, allocations: 38.27 kB / 0.6374 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-06/0.1189, allocations: 384 / 0.6374 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.119, allocations: 45.56 kB / 0.6375 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.119, allocations: 0 / 0.6375 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.119, allocations: 0 / 0.6375 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/0.1191, allocations: 4 kB / 0.6375 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.891e-05/0.1191, allocations: 15.98 kB / 0.6375 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.1195, allocations: 334 kB / 0.6378 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.9e-05/0.1195, allocations: 22.52 kB / 0.6378 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.433e-05/0.1195, allocations: 8.922 kB / 0.6378 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.248e-05/0.1196, allocations: 89.03 kB / 0.6379 GB, free: 14.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.1197, allocations: 30.56 kB / 0.638 GB, free: 14.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1197, allocations: 0 / 0.638 GB, free: 14.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001187/0.1198, allocations: 45.55 kB / 0.638 GB, free: 14.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.1198, allocations: 55.53 kB / 0.6381 GB, free: 14.72 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.599e-05/0.1199, allocations: 101.8 kB / 0.6382 GB, free: 14.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.1199, allocations: 29.7 kB / 0.6382 GB, free: 14.58 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.446e-05/0.12, allocations: 80.14 kB / 0.6383 GB, free: 14.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.12, allocations: 3.906 kB / 0.6383 GB, free: 14.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.12, allocations: 25.64 kB / 0.6383 GB, free: 14.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.157e-05/0.1201, allocations: 314.8 kB / 0.6386 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.354e-05/0.1201, allocations: 4 kB / 0.6386 GB, free: 14.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.122e-05/0.1202, allocations: 21.7 kB / 0.6386 GB, free: 14.11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.823e-05/0.1202, allocations: 17.72 kB / 0.6386 GB, free: 14.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1202, allocations: 4 kB / 0.6386 GB, free: 14.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.096e-05/0.1203, allocations: 49.62 kB / 0.6387 GB, free: 14.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.1203, allocations: 4 kB / 0.6387 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.1203, allocations: 0 / 0.6387 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.1203, allocations: 8.344 kB / 0.6387 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.238e-05/0.1204, allocations: 4 kB / 0.6387 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1204, allocations: 4 kB / 0.6387 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.647e-05/0.1204, allocations: 0 / 0.6387 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.1204, allocations: 4 kB / 0.6387 GB, free: 14.01 MB / 494.1 MB 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.919e-05/0.1205, allocations: 113.8 kB / 0.6388 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.1205, allocations: 15.88 kB / 0.6388 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.707e-05/0.1206, allocations: 120.9 kB / 0.6389 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.983e-05/0.1207, allocations: 180.3 kB / 0.6391 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.731e-05/0.1207, allocations: 104.9 kB / 0.6392 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.905e-05/0.1208, allocations: 186.1 kB / 0.6394 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.398e-05/0.1209, allocations: 176.3 kB / 0.6396 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.121, allocations: 112.9 kB / 0.6397 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.16e-05/0.1211, allocations: 184.2 kB / 0.6398 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.896e-05/0.1212, allocations: 259.5 kB / 0.6401 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001443/0.1213, allocations: 379 kB / 0.6404 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.04e-05/0.1214, allocations: 105 kB / 0.6405 GB, free: 11.99 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.08e-05/0.1214, allocations: 87.28 kB / 0.6406 GB, free: 11.91 MB / 494.1 MB Notification: Performance of Backend: time 3.41e-07/0.1214, allocations: 3.938 kB / 0.6406 GB, free: 11.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000374/0.1218, allocations: 110.2 kB / 0.6407 GB, free: 11.79 MB / 494.1 MB Notification: Performance of SimCode: time 0.0004475/0.1222, allocations: 0.864 MB / 0.6416 GB, free: 10.87 MB / 494.1 MB Notification: Performance of Templates: time 0.002244/0.1245, allocations: 0.5539 MB / 0.6421 GB, free: 10.32 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)