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.001224/0.001224, allocations: 99.69 kB / 16.4 MB, free: 6.457 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.001188/0.001188, allocations: 192 kB / 17.34 MB, free: 5.719 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.459/1.459, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7465/0.7465, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 60.88 kB / 0.5685 GB, free: 28.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1602, allocations: 77.94 MB / 0.6446 GB, free: 8.941 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterProperties): time 0.007567/0.1679, allocations: 4.415 MB / 0.6489 GB, free: 4.496 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00335/0.1713, allocations: 2.695 MB / 0.6516 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.1714, allocations: 0 / 0.6516 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.1718, allocations: 47.67 kB / 0.6516 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004215/0.1723, allocations: 99.34 kB / 0.6517 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.174, allocations: 494.8 kB / 0.6522 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004387/0.1744, allocations: 228 kB / 0.6524 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.947e-05/0.1745, allocations: 9.562 kB / 0.6524 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001177/0.1757, allocations: 429.6 kB / 0.6528 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.1759, allocations: 83.67 kB / 0.6529 GB, free: 444 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.354e-05/0.1759, allocations: 8 kB / 0.6529 GB, free: 436 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.1772, allocations: 0.4912 MB / 0.6534 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.707e-05/0.1773, allocations: 35.78 kB / 0.6534 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.1774, allocations: 75.66 kB / 0.6535 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007765/0.1782, allocations: 362.9 kB / 0.6538 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.1782, allocations: 0 / 0.6538 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1782, allocations: 0 / 0.6538 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.1782, allocations: 0 / 0.6538 GB, free: 15.47 MB / 0.4981 GB 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.0007703/0.179, allocations: 0.4986 MB / 0.6543 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.179, allocations: 8.625 kB / 0.6543 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.1792, allocations: 24.84 kB / 0.6544 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.1795, allocations: 212.1 kB / 0.6546 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-05/0.1796, allocations: 8.703 kB / 0.6546 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.1796, allocations: 28.3 kB / 0.6546 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000405/0.18, allocations: 249.1 kB / 0.6548 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.18, allocations: 0 / 0.6548 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.1801, allocations: 8 kB / 0.6548 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/0.1801, allocations: 7.938 kB / 0.6549 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004984/0.1806, allocations: 435.5 kB / 0.6553 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.1817, allocations: 1.004 MB / 0.6563 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.182, allocations: 161.7 kB / 0.6564 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.1821, allocations: 72.53 kB / 0.6565 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001352/0.1835, allocations: 1.829 MB / 0.6583 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.1835, allocations: 42.56 kB / 0.6583 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.1835, allocations: 0 / 0.6583 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.000339/0.1839, allocations: 144.2 kB / 0.6584 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.1839, allocations: 59.34 kB / 0.6585 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.1841, allocations: 173.4 kB / 0.6587 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.1841, allocations: 33.7 kB / 0.6587 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.834e-05/0.1842, allocations: 140.1 kB / 0.6588 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.1843, allocations: 55.52 kB / 0.6589 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-05/0.1844, allocations: 57.66 kB / 0.6589 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1845, allocations: 326.8 kB / 0.6592 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.506e-05/0.1845, allocations: 31.97 kB / 0.6593 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.1847, allocations: 137.7 kB / 0.6594 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.1849, allocations: 197.5 kB / 0.6596 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1849, allocations: 0 / 0.6596 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003091/0.1853, allocations: 223.7 kB / 0.6598 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1853, allocations: 4 kB / 0.6598 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.1853, allocations: 4 kB / 0.6598 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.1853, allocations: 8 kB / 0.6598 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.1855, allocations: 55.86 kB / 0.6599 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.1855, allocations: 15.91 kB / 0.6599 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.1856, allocations: 27.78 kB / 0.6599 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.1856, allocations: 12 kB / 0.6599 GB, free: 8.5 MB / 0.4981 GB 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 0.0001015/0.1857, allocations: 129.8 kB / 0.6601 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.1858, allocations: 19.94 kB / 0.6601 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002894/0.1861, allocations: 151 kB / 0.6602 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.1861, allocations: 7.922 kB / 0.6602 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1861, allocations: 0 / 0.6602 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1861, allocations: 3.938 kB / 0.6602 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.1864, allocations: 221.5 kB / 0.6604 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1864, allocations: 4 kB / 0.6604 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.506e-05/0.1865, allocations: 23.92 kB / 0.6605 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1865, allocations: 4 kB / 0.6605 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.1865, allocations: 4 kB / 0.6605 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.1865, allocations: 7.938 kB / 0.6605 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1865, allocations: 0 / 0.6605 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.1868, allocations: 222.5 kB / 0.6607 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.614e-05/0.1869, allocations: 108.9 kB / 0.6608 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.1869, allocations: 0 / 0.6608 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.1871, allocations: 23.86 kB / 0.6608 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/0.1871, allocations: 7.984 kB / 0.6608 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.1872, allocations: 19.98 kB / 0.6608 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.706e-05/0.1873, allocations: 128.8 kB / 0.661 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1873, allocations: 0 / 0.661 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003685/0.1876, allocations: 71.88 kB / 0.661 GB, free: 7.27 MB / 0.4981 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 (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.0003022/0.1879, allocations: 179 kB / 0.6612 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002523/0.1882, allocations: 127.8 kB / 0.6613 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1882, allocations: 0 / 0.6613 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.513e-05/0.1883, allocations: 43.92 kB / 0.6614 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.1887, allocations: 48.77 kB / 0.6614 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006683/0.1894, allocations: 338.6 kB / 0.6617 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.1897, allocations: 0.7168 MB / 0.6624 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001476/0.1898, allocations: 49.73 kB / 0.6625 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.16e-05/0.1899, allocations: 27.38 kB / 0.6625 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1899, allocations: 0 / 0.6625 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of Templates: time 0.006644/0.1965, allocations: 3.357 MB / 0.6658 GB, free: 2.371 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)