Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties") translateModel(IBPSA.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 109.4 kB / 16.41 MB, free: 6.027 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.0009692/0.0009692, allocations: 190.1 kB / 17.34 MB, free: 5.633 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.254/1.254, allocations: 222.9 MB / 241 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.6768/0.6768, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 66.52 kB / 0.5577 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1292, allocations: 76.17 MB / 0.6321 GB, free: 4.332 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterProperties): time 0.005672/0.1349, allocations: 4.421 MB / 0.6364 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002634/0.1375, allocations: 2.695 MB / 0.6391 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.765e-05/0.1376, allocations: 4 kB / 0.6391 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000235/0.1379, allocations: 47.67 kB / 0.6391 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.1381, allocations: 83.38 kB / 0.6392 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009682/0.1391, allocations: 0.4951 MB / 0.6397 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002598/0.1394, allocations: 232 kB / 0.6399 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.893e-05/0.1394, allocations: 13.5 kB / 0.6399 GB, free: 12.31 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008948/0.1403, allocations: 418.8 kB / 0.6403 GB, free: 11.9 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.1404, allocations: 87.66 kB / 0.6404 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.1405, allocations: 8 kB / 0.6404 GB, free: 11.81 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008196/0.1413, allocations: 0.4911 MB / 0.6409 GB, free: 11.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.955e-05/0.1414, allocations: 39.83 kB / 0.6409 GB, free: 11.28 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.356e-05/0.1415, allocations: 79.64 kB / 0.641 GB, free: 11.2 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004764/0.142, allocations: 347.1 kB / 0.6413 GB, free: 10.86 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.142, allocations: 4 kB / 0.6413 GB, free: 10.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.142, allocations: 4 kB / 0.6413 GB, free: 10.85 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.142, allocations: 0 / 0.6413 GB, free: 10.85 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006559/0.1426, allocations: 0.4915 MB / 0.6418 GB, free: 10.31 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.1427, allocations: 11.97 kB / 0.6418 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.1428, allocations: 20.75 kB / 0.6418 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.1431, allocations: 216.1 kB / 0.642 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1431, allocations: 8.703 kB / 0.642 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.1431, allocations: 16.38 kB / 0.6421 GB, free: 10 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003577/0.1435, allocations: 253.1 kB / 0.6423 GB, free: 9.734 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1435, allocations: 0 / 0.6423 GB, free: 9.734 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.1435, allocations: 12 kB / 0.6423 GB, free: 9.723 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/0.1435, allocations: 4 kB / 0.6423 GB, free: 9.719 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004403/0.144, allocations: 431.5 kB / 0.6427 GB, free: 9.297 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009547/0.145, allocations: 0.9998 MB / 0.6437 GB, free: 8.203 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.1452, allocations: 173 kB / 0.6439 GB, free: 8.027 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.1453, allocations: 68.86 kB / 0.6439 GB, free: 7.957 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001247/0.1466, allocations: 1.813 MB / 0.6457 GB, free: 5.785 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.1466, allocations: 46.55 kB / 0.6458 GB, free: 5.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.1466, allocations: 0 / 0.6458 GB, free: 5.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002964/0.1469, allocations: 145.3 kB / 0.6459 GB, free: 5.582 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.147, allocations: 63.34 kB / 0.646 GB, free: 5.508 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.1471, allocations: 172.8 kB / 0.6461 GB, free: 5.324 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.1472, allocations: 33.7 kB / 0.6462 GB, free: 5.285 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.001e-05/0.1472, allocations: 139.8 kB / 0.6463 GB, free: 5.145 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.1473, allocations: 47.36 kB / 0.6463 GB, free: 5.098 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.1474, allocations: 53.61 kB / 0.6464 GB, free: 5.039 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1475, allocations: 330.8 kB / 0.6467 GB, free: 4.707 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.985e-05/0.1475, allocations: 27.98 kB / 0.6467 GB, free: 4.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.1477, allocations: 154.1 kB / 0.6469 GB, free: 4.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.1479, allocations: 195.8 kB / 0.6471 GB, free: 4.242 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1479, allocations: 0 / 0.6471 GB, free: 4.242 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003014/0.1482, allocations: 213.5 kB / 0.6473 GB, free: 4.027 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1482, allocations: 9.859 kB / 0.6473 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1482, allocations: 8 kB / 0.6473 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1483, allocations: 4 kB / 0.6473 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.1484, allocations: 63.8 kB / 0.6473 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.1485, allocations: 4 kB / 0.6473 GB, free: 3.941 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.1486, allocations: 23.75 kB / 0.6474 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.1486, allocations: 15.98 kB / 0.6474 GB, free: 3.902 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.465e-05/0.1487, allocations: 133.7 kB / 0.6475 GB, free: 3.762 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.1487, allocations: 11.91 kB / 0.6475 GB, free: 3.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.149, allocations: 165.5 kB / 0.6477 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.149, allocations: 3.938 kB / 0.6477 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.149, allocations: 0 / 0.6477 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1491, allocations: 3.984 kB / 0.6477 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.1493, allocations: 213.5 kB / 0.6479 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1493, allocations: 0 / 0.6479 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.341e-05/0.1494, allocations: 23.98 kB / 0.6479 GB, free: 3.293 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1494, allocations: 0 / 0.6479 GB, free: 3.293 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.1494, allocations: 8 kB / 0.6479 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1494, allocations: 3.938 kB / 0.6479 GB, free: 3.281 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1494, allocations: 0 / 0.6479 GB, free: 3.281 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.1497, allocations: 235.2 kB / 0.6481 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.011e-05/0.1497, allocations: 108.8 kB / 0.6483 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.1498, allocations: 4 kB / 0.6483 GB, free: 2.906 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.15, allocations: 19.92 kB / 0.6483 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.421e-05/0.15, allocations: 7.984 kB / 0.6483 GB, free: 2.879 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.15, allocations: 12 kB / 0.6483 GB, free: 2.867 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.276e-05/0.1501, allocations: 125.6 kB / 0.6484 GB, free: 2.746 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1501, allocations: 0 / 0.6484 GB, free: 2.746 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003494/0.1505, allocations: 75.98 kB / 0.6485 GB, free: 2.672 MB / 494.1 MB 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002704/0.1508, allocations: 175.1 kB / 0.6487 GB, free: 2.488 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002204/0.151, allocations: 120.4 kB / 0.6488 GB, free: 2.371 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.151, allocations: 7.938 kB / 0.6488 GB, free: 2.363 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.116e-05/0.1511, allocations: 43.92 kB / 0.6488 GB, free: 2.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.1515, allocations: 51.88 kB / 0.6489 GB, free: 2.27 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006151/0.1521, allocations: 341.5 kB / 0.6492 GB, free: 1.914 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.1524, allocations: 0.7207 MB / 0.6499 GB, free: 1.164 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000138/0.1525, allocations: 41.75 kB / 0.6499 GB, free: 1.125 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.1526, allocations: 31.42 kB / 0.65 GB, free: 1.094 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1526, allocations: 3.938 kB / 0.65 GB, free: 1.09 MB / 494.1 MB Notification: Performance of Templates: time 0.00606/0.1586, allocations: 3.343 MB / 0.6532 GB, free: 13.77 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.sim & ./IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)