Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 111.5 kB / 16.41 MB, free: 6.48 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.001656/0.001656, allocations: 183 kB / 17.34 MB, free: 5.75 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.48/1.48, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9309/0.9309, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002757/0.002757, allocations: 63.91 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1653, allocations: 82.03 MB / 0.6763 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005817/0.1711, allocations: 4.028 MB / 0.6802 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002397/0.1714, allocations: 163.5 kB / 0.6804 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.612e-05/0.1714, allocations: 0 / 0.6804 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.1715, allocations: 7.938 kB / 0.6804 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.842e-05/0.1716, allocations: 15.91 kB / 0.6804 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.1719, allocations: 82.88 kB / 0.6805 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.656e-05/0.172, allocations: 27.86 kB / 0.6805 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.891e-05/0.1721, allocations: 8 kB / 0.6805 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.544e-05/0.1721, allocations: 11.98 kB / 0.6805 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.749e-05/0.1722, allocations: 11.92 kB / 0.6806 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.1722, allocations: 8 kB / 0.6806 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.1724, allocations: 59.8 kB / 0.6806 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.301e-05/0.1724, allocations: 4 kB / 0.6806 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.1725, allocations: 19.92 kB / 0.6806 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.1726, allocations: 39.89 kB / 0.6807 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1726, allocations: 3.938 kB / 0.6807 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.654e-06/0.1726, allocations: 0 / 0.6807 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.1726, allocations: 0 / 0.6807 GB, free: 5.824 MB / 0.5137 GB 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.0004266/0.173, allocations: 339.3 kB / 0.681 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1731, allocations: 12.03 kB / 0.681 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.1731, allocations: 8.938 kB / 0.681 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.1732, allocations: 160.4 kB / 0.6812 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.409e-05/0.1733, allocations: 30.27 kB / 0.6812 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.1733, allocations: 4.375 kB / 0.6812 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.1734, allocations: 49.59 kB / 0.6813 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.1735, allocations: 0 / 0.6813 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1735, allocations: 0 / 0.6813 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.1735, allocations: 0 / 0.6813 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.938e-05/0.1735, allocations: 27.92 kB / 0.6813 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/0.174, allocations: 334 kB / 0.6816 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.676e-05/0.174, allocations: 18.58 kB / 0.6816 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.5e-05/0.174, allocations: 4.859 kB / 0.6816 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.176e-05/0.1741, allocations: 85.17 kB / 0.6817 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/0.1742, allocations: 38.56 kB / 0.6817 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.313e-06/0.1742, allocations: 0 / 0.6817 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001439/0.1743, allocations: 41.58 kB / 0.6818 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.1744, allocations: 55.41 kB / 0.6818 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.817e-05/0.1745, allocations: 101.8 kB / 0.6819 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.1745, allocations: 25.7 kB / 0.682 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.1745, allocations: 92.02 kB / 0.682 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.298e-06/0.1745, allocations: 4 kB / 0.6821 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.1746, allocations: 21.84 kB / 0.6821 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1747, allocations: 314.8 kB / 0.6824 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.741e-05/0.1747, allocations: 7.984 kB / 0.6824 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.371e-05/0.1748, allocations: 13.72 kB / 0.6824 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.351e-05/0.1748, allocations: 21.66 kB / 0.6824 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1748, allocations: 0 / 0.6824 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.853e-05/0.1749, allocations: 53.64 kB / 0.6825 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.1749, allocations: 8 kB / 0.6825 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1749, allocations: 0 / 0.6825 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1749, allocations: 0 / 0.6825 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.475e-05/0.175, allocations: 11.92 kB / 0.6825 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.175, allocations: 4 kB / 0.6825 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.684e-05/0.175, allocations: 0 / 0.6825 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.175, allocations: 0 / 0.6825 GB, free: 3.699 MB / 0.5137 GB 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 9.74e-05/0.1751, allocations: 121.8 kB / 0.6826 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.1751, allocations: 0 / 0.6826 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.1752, allocations: 120.9 kB / 0.6827 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.831e-05/0.1753, allocations: 180.2 kB / 0.6829 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.488e-05/0.1754, allocations: 180.3 kB / 0.6831 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.47e-05/0.1755, allocations: 188.2 kB / 0.6832 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.1758, allocations: 405.2 kB / 0.6836 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.953e-05/0.1758, allocations: 105 kB / 0.6837 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.008e-05/0.1759, allocations: 112.9 kB / 0.6838 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.889e-05/0.1759, allocations: 180.2 kB / 0.684 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.722e-05/0.176, allocations: 180.2 kB / 0.6842 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.048e-05/0.1761, allocations: 184.3 kB / 0.6844 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.298e-05/0.1762, allocations: 176.3 kB / 0.6845 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.1764, allocations: 315.7 kB / 0.6848 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.495e-05/0.1765, allocations: 182 kB / 0.685 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.275e-05/0.1766, allocations: 184.2 kB / 0.6852 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.1767, allocations: 109 kB / 0.6853 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.03e-05/0.1768, allocations: 188.2 kB / 0.6855 GB, free: 452 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.555e-05/0.1769, allocations: 101 kB / 0.6856 GB, free: 344 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.232e-05/0.1769, allocations: 83.27 kB / 0.6856 GB, free: 260 kB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1769, allocations: 0 / 0.6856 GB, free: 260 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002715/0.1772, allocations: 15.94 kB / 0.6856 GB, free: 244 kB / 0.5137 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 (0): * Single equations (assignments): 0 * 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.0002973/0.1775, allocations: 206.4 kB / 0.6858 GB, free: 28 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.269e-05/0.1776, allocations: 11.94 kB / 0.6859 GB, free: 16 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1776, allocations: 0 / 0.6859 GB, free: 16 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.296e-06/0.1776, allocations: 4 kB / 0.6859 GB, free: 12 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004602/0.178, allocations: 462.7 kB / 0.6863 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/0.1783, allocations: 215.4 kB / 0.6865 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.1787, allocations: 0.6768 MB / 0.6872 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.1787, allocations: 7.438 kB / 0.6872 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.1787, allocations: 0 / 0.6872 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of Templates: time 0.002444/0.1811, allocations: 0.7655 MB / 0.6879 GB, free: 13.84 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)