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.0008161/0.0008161, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009352/0.0009349, allocations: 174.5 kB / 16.59 MB, free: 6.852 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.369/1.369, allocations: 223.3 MB / 240.6 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7166/0.7166, allocations: 115.5 MB / 407.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003036/0.0003037, allocations: 15.94 kB / 495.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1374, allocations: 77.52 MB / 0.5593 GB, free: 9.426 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterProperties): time 0.005082/0.1425, allocations: 3.917 MB / 0.5631 GB, free: 5.484 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002744/0.1453, allocations: 2.479 MB / 0.5656 GB, free: 3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.1455, allocations: 0 / 0.5656 GB, free: 3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.1458, allocations: 35.8 kB / 0.5656 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000294/0.1461, allocations: 91.42 kB / 0.5657 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.1473, allocations: 406.4 kB / 0.5661 GB, free: 2.484 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003277/0.1476, allocations: 267.9 kB / 0.5663 GB, free: 2.223 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.527e-05/0.1477, allocations: 5.562 kB / 0.5663 GB, free: 2.219 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.1487, allocations: 399 kB / 0.5667 GB, free: 1.828 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.1489, allocations: 91.66 kB / 0.5668 GB, free: 1.738 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.1489, allocations: 4 kB / 0.5668 GB, free: 1.734 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009573/0.1499, allocations: 407.2 kB / 0.5672 GB, free: 1.336 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.384e-05/0.15, allocations: 27.91 kB / 0.5672 GB, free: 1.309 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.544e-05/0.15, allocations: 57.64 kB / 0.5673 GB, free: 1.246 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003537/0.1504, allocations: 215.7 kB / 0.5675 GB, free: 1.035 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1504, allocations: 3.938 kB / 0.5675 GB, free: 1.031 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1504, allocations: 0 / 0.5675 GB, free: 1.031 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1504, allocations: 0 / 0.5675 GB, free: 1.031 MB / 430.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.0006818/0.1511, allocations: 475.1 kB / 0.5679 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.1512, allocations: 8.031 kB / 0.5679 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.1513, allocations: 23.81 kB / 0.568 GB, free: 496 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.1516, allocations: 210.8 kB / 0.5682 GB, free: 244 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1516, allocations: 12.33 kB / 0.5682 GB, free: 232 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.1516, allocations: 19.95 kB / 0.5682 GB, free: 212 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/0.152, allocations: 241.6 kB / 0.5684 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.152, allocations: 0 / 0.5684 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.1521, allocations: 8 kB / 0.5684 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/0.1521, allocations: 12 kB / 0.5684 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005054/0.1526, allocations: 427.5 kB / 0.5689 GB, free: 15.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.1538, allocations: 0.9998 MB / 0.5698 GB, free: 14.42 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.154, allocations: 162.1 kB / 0.57 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.1542, allocations: 68.88 kB / 0.57 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001354/0.1555, allocations: 1.821 MB / 0.5718 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.1556, allocations: 42.48 kB / 0.5719 GB, free: 11.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.214e-06/0.1556, allocations: 0 / 0.5719 GB, free: 11.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003227/0.1559, allocations: 145.4 kB / 0.572 GB, free: 11.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.1559, allocations: 51.41 kB / 0.5721 GB, free: 11.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.1561, allocations: 165.9 kB / 0.5722 GB, free: 11.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.1561, allocations: 29.7 kB / 0.5722 GB, free: 11.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.123e-05/0.1562, allocations: 155.7 kB / 0.5724 GB, free: 11.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/0.1563, allocations: 51.3 kB / 0.5724 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.367e-06/0.1563, allocations: 0 / 0.5724 GB, free: 11.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1564, allocations: 334.7 kB / 0.5728 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.759e-05/0.1565, allocations: 31.98 kB / 0.5728 GB, free: 10.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.1566, allocations: 141.7 kB / 0.5729 GB, free: 10.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.888e-05/0.1567, allocations: 54.19 kB / 0.573 GB, free: 10.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1567, allocations: 0 / 0.573 GB, free: 10.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003324/0.1571, allocations: 225 kB / 0.5732 GB, free: 10.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1571, allocations: 5.875 kB / 0.5732 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.1571, allocations: 4 kB / 0.5732 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.1571, allocations: 8 kB / 0.5732 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.1573, allocations: 55.92 kB / 0.5733 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.616e-05/0.1574, allocations: 4 kB / 0.5733 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.1575, allocations: 32.14 kB / 0.5733 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.1575, allocations: 16 kB / 0.5733 GB, free: 10.37 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.1576, allocations: 133.7 kB / 0.5734 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.1577, allocations: 15.81 kB / 0.5735 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002995/0.158, allocations: 156.2 kB / 0.5736 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.158, allocations: 0 / 0.5736 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.158, allocations: 0 / 0.5736 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.158, allocations: 3.984 kB / 0.5736 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.1583, allocations: 221.4 kB / 0.5738 GB, free: 9.789 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1583, allocations: 8 kB / 0.5738 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.131e-05/0.1584, allocations: 19.98 kB / 0.5738 GB, free: 9.762 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.1584, allocations: 4 kB / 0.5738 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.1584, allocations: 4 kB / 0.5739 GB, free: 9.754 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1584, allocations: 0 / 0.5739 GB, free: 9.754 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1584, allocations: 0 / 0.5739 GB, free: 9.754 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.1587, allocations: 233 kB / 0.5741 GB, free: 9.512 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.86e-05/0.1588, allocations: 101 kB / 0.5742 GB, free: 9.395 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.1588, allocations: 8 kB / 0.5742 GB, free: 9.387 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.159, allocations: 19.98 kB / 0.5742 GB, free: 9.367 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.159, allocations: 7.984 kB / 0.5742 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.1591, allocations: 15.98 kB / 0.5742 GB, free: 9.344 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.594e-05/0.1592, allocations: 117.6 kB / 0.5743 GB, free: 9.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1592, allocations: 0 / 0.5743 GB, free: 9.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000416/0.1596, allocations: 79.94 kB / 0.5744 GB, free: 9.152 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002741/0.1599, allocations: 179 kB / 0.5746 GB, free: 8.965 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000231/0.1601, allocations: 111.8 kB / 0.5747 GB, free: 8.855 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1601, allocations: 0.9375 kB / 0.5747 GB, free: 8.855 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.819e-05/0.1602, allocations: 43.92 kB / 0.5747 GB, free: 8.812 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004834/0.1607, allocations: 64.62 kB / 0.5748 GB, free: 8.754 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006855/0.1614, allocations: 435.4 kB / 0.5752 GB, free: 8.309 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.1617, allocations: 0.7094 MB / 0.5759 GB, free: 7.574 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001789/0.1619, allocations: 41.8 kB / 0.5759 GB, free: 7.535 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.313e-05/0.1619, allocations: 27.44 kB / 0.576 GB, free: 7.508 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1619, allocations: 3.938 kB / 0.576 GB, free: 7.504 MB / 446.1 MB Notification: Performance of Templates: time 0.006492/0.1684, allocations: 3.1 MB / 0.579 GB, free: 4.449 MB / 446.1 MB 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)