Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.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.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007869/0.0007873, allocations: 92.95 kB / 16.02 MB, free: 84 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.0008293/0.0008295, allocations: 181.9 kB / 16.91 MB, free: 6.914 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.437/1.437, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6924/0.6924, allocations: 115.4 MB / 407.5 MB, free: 2.848 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003108, allocations: 8 kB / 495.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1603, allocations: 77.51 MB / 0.5598 GB, free: 9.223 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001686/0.1621, allocations: 1.109 MB / 0.5609 GB, free: 8.102 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004029/0.1661, allocations: 2.852 MB / 0.5637 GB, free: 5.234 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.725e-05/0.1662, allocations: 4 kB / 0.5637 GB, free: 5.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.719e-05/0.1663, allocations: 7.922 kB / 0.5637 GB, free: 5.223 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.1664, allocations: 47.75 kB / 0.5637 GB, free: 5.176 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006442/0.1671, allocations: 155.4 kB / 0.5639 GB, free: 5.023 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003487/0.1674, allocations: 331.4 kB / 0.5642 GB, free: 4.699 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/0.1675, allocations: 7.984 kB / 0.5642 GB, free: 4.691 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.1676, allocations: 95.8 kB / 0.5643 GB, free: 4.598 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.1678, allocations: 135.8 kB / 0.5644 GB, free: 4.465 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.146e-05/0.1679, allocations: 8 kB / 0.5644 GB, free: 4.457 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004562/0.1684, allocations: 147.8 kB / 0.5645 GB, free: 4.312 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.1685, allocations: 91.75 kB / 0.5646 GB, free: 4.223 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.1686, allocations: 113.3 kB / 0.5647 GB, free: 4.105 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004137/0.169, allocations: 275.5 kB / 0.565 GB, free: 3.836 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.169, allocations: 7.938 kB / 0.565 GB, free: 3.828 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1691, allocations: 0 / 0.565 GB, free: 3.828 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1691, allocations: 0 / 0.565 GB, free: 3.828 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008689/0.1699, allocations: 0.5145 MB / 0.5655 GB, free: 3.266 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.17, allocations: 12.03 kB / 0.5655 GB, free: 3.254 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.1701, allocations: 16.75 kB / 0.5655 GB, free: 3.238 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.1704, allocations: 244 kB / 0.5658 GB, free: 2.961 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.798e-05/0.1704, allocations: 28.34 kB / 0.5658 GB, free: 2.934 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.1705, allocations: 16.38 kB / 0.5658 GB, free: 2.918 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006906/0.1712, allocations: 322.2 kB / 0.5661 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1712, allocations: 0 / 0.5661 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.1712, allocations: 8 kB / 0.5661 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1712, allocations: 11.94 kB / 0.5661 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/0.1728, allocations: 0.7999 MB / 0.5669 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.1733, allocations: 313 kB / 0.5672 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/0.1751, allocations: 0.7779 MB / 0.568 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006248/0.1758, allocations: 260.7 kB / 0.5682 GB, free: 384 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005017/0.1763, allocations: 388.3 kB / 0.5686 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.1763, allocations: 42.5 kB / 0.5686 GB, free: 15.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.455e-06/0.1763, allocations: 0 / 0.5686 GB, free: 15.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001777/0.1781, allocations: 0.7327 MB / 0.5694 GB, free: 15.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.1782, allocations: 59.34 kB / 0.5694 GB, free: 15.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.1783, allocations: 133.1 kB / 0.5695 GB, free: 14.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.1783, allocations: 29.7 kB / 0.5696 GB, free: 14.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.1784, allocations: 96.78 kB / 0.5697 GB, free: 14.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.1785, allocations: 126.1 kB / 0.5698 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/0.1785, allocations: 29.7 kB / 0.5698 GB, free: 14.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1787, allocations: 326.8 kB / 0.5701 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005311/0.1792, allocations: 227.8 kB / 0.5703 GB, free: 14.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005408/0.1798, allocations: 239.5 kB / 0.5706 GB, free: 13.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.1808, allocations: 412.5 kB / 0.571 GB, free: 13.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1808, allocations: 0 / 0.571 GB, free: 13.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001225/0.182, allocations: 0.5204 MB / 0.5715 GB, free: 12.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.1821, allocations: 11.94 kB / 0.5715 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1821, allocations: 0 / 0.5715 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1821, allocations: 0 / 0.5715 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/0.1825, allocations: 103.9 kB / 0.5716 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.1825, allocations: 7.938 kB / 0.5716 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.1827, allocations: 63.8 kB / 0.5717 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.1828, allocations: 11.98 kB / 0.5717 GB, free: 12.71 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * 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 0.0001488/0.1829, allocations: 145.8 kB / 0.5718 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.183, allocations: 23.73 kB / 0.5718 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.1844, allocations: 0.57 MB / 0.5724 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.1844, allocations: 4 kB / 0.5724 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1844, allocations: 0 / 0.5724 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1844, allocations: 3.984 kB / 0.5724 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003432/0.1848, allocations: 317.3 kB / 0.5727 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.1848, allocations: 0 / 0.5727 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003589/0.1851, allocations: 119.7 kB / 0.5728 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1851, allocations: 0 / 0.5728 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/0.1852, allocations: 19.98 kB / 0.5728 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.1852, allocations: 4 kB / 0.5728 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1852, allocations: 0 / 0.5728 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.1864, allocations: 0.5472 MB / 0.5734 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.619e-05/0.1865, allocations: 104.8 kB / 0.5735 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.1865, allocations: 4 kB / 0.5735 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.1867, allocations: 51.97 kB / 0.5735 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002411/0.187, allocations: 115.8 kB / 0.5736 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/0.187, allocations: 11.98 kB / 0.5736 GB, free: 10.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.023e-05/0.1871, allocations: 99.27 kB / 0.5737 GB, free: 10.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1871, allocations: 4 kB / 0.5737 GB, free: 10.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004072/0.1875, allocations: 119.9 kB / 0.5739 GB, free: 10.38 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 (37): * Single equations (assignments): 37 * 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.000408/0.1879, allocations: 183.1 kB / 0.574 GB, free: 10.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.1891, allocations: 0.5149 MB / 0.5745 GB, free: 9.676 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1892, allocations: 3.938 kB / 0.5745 GB, free: 9.672 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006424/0.1898, allocations: 300.3 kB / 0.5748 GB, free: 9.379 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.1902, allocations: 71.86 kB / 0.5749 GB, free: 9.309 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008281/0.1911, allocations: 0.5019 MB / 0.5754 GB, free: 8.777 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.1915, allocations: 0.7292 MB / 0.5761 GB, free: 8.023 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000433/0.192, allocations: 179.2 kB / 0.5763 GB, free: 7.859 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.1921, allocations: 39.41 kB / 0.5763 GB, free: 7.82 MB / 446.1 MB Notification: Performance of SimCode: time 1.172e-06/0.1921, allocations: 0 / 0.5763 GB, free: 7.82 MB / 446.1 MB Notification: Performance of Templates: time 0.01023/0.2023, allocations: 4.843 MB / 0.581 GB, free: 3.043 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)