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.005289/0.005289, allocations: 102.7 kB / 15.73 MB, free: 5.984 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.001583/0.001583, allocations: 195.2 kB / 16.67 MB, free: 5.91 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.12 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.8375/0.8375, allocations: 143 MB / 433.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 71.56 kB / 0.5955 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1621, allocations: 82.04 MB / 0.6756 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005122/0.1672, allocations: 4.021 MB / 0.6795 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002161/0.1675, allocations: 167.5 kB / 0.6797 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.7e-05/0.1675, allocations: 0 / 0.6797 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.1677, allocations: 7.938 kB / 0.6797 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.956e-05/0.1678, allocations: 11.92 kB / 0.6797 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.1681, allocations: 79.69 kB / 0.6798 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.143e-05/0.1682, allocations: 31.91 kB / 0.6798 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.625e-05/0.1683, allocations: 0 / 0.6798 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.578e-05/0.1683, allocations: 23.92 kB / 0.6798 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.921e-05/0.1684, allocations: 11.92 kB / 0.6799 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.1684, allocations: 4 kB / 0.6799 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.1686, allocations: 59.81 kB / 0.6799 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.615e-05/0.1687, allocations: 7.969 kB / 0.6799 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.368e-05/0.1687, allocations: 11.94 kB / 0.6799 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.1689, allocations: 39.91 kB / 0.68 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1689, allocations: 0 / 0.68 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.884e-06/0.1689, allocations: 0 / 0.68 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.1689, allocations: 4 kB / 0.68 GB, free: 5.871 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.0004038/0.1693, allocations: 331.6 kB / 0.6803 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1694, allocations: 12.03 kB / 0.6803 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.1694, allocations: 8.828 kB / 0.6803 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.1696, allocations: 164.4 kB / 0.6805 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.445e-05/0.1696, allocations: 30.2 kB / 0.6805 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-06/0.1696, allocations: 384 / 0.6805 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.1698, allocations: 49.62 kB / 0.6805 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.1698, allocations: 0 / 0.6805 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1698, allocations: 0 / 0.6805 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.1698, allocations: 0 / 0.6805 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.492e-05/0.1699, allocations: 23.92 kB / 0.6806 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.1703, allocations: 338 kB / 0.6809 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.012e-05/0.1704, allocations: 22.52 kB / 0.6809 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.35e-05/0.1704, allocations: 4.859 kB / 0.6809 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.808e-05/0.1705, allocations: 85.16 kB / 0.681 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.1705, allocations: 38.56 kB / 0.681 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.1705, allocations: 0 / 0.681 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001302/0.1706, allocations: 33.7 kB / 0.6811 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.1707, allocations: 55.34 kB / 0.6811 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.083e-05/0.1708, allocations: 105.8 kB / 0.6812 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.1708, allocations: 29.7 kB / 0.6813 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.1709, allocations: 84.05 kB / 0.6813 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.24e-06/0.1709, allocations: 3.906 kB / 0.6813 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.1709, allocations: 21.83 kB / 0.6814 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.171, allocations: 322.8 kB / 0.6817 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.259e-05/0.171, allocations: 0 / 0.6817 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.163e-05/0.1711, allocations: 21.64 kB / 0.6817 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.411e-05/0.1711, allocations: 21.72 kB / 0.6817 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1711, allocations: 0 / 0.6817 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.985e-05/0.1712, allocations: 53.62 kB / 0.6818 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.1712, allocations: 8 kB / 0.6818 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1712, allocations: 0 / 0.6818 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1712, allocations: 0 / 0.6818 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.152e-05/0.1713, allocations: 4 kB / 0.6818 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1713, allocations: 0 / 0.6818 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.893e-05/0.1713, allocations: 4 kB / 0.6818 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.1713, allocations: 0 / 0.6818 GB, free: 3.758 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 6.799e-05/0.1714, allocations: 118.4 kB / 0.6819 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.1714, allocations: 8.266 kB / 0.6819 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.1715, allocations: 117 kB / 0.682 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.798e-05/0.1716, allocations: 180.2 kB / 0.6822 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.957e-05/0.1717, allocations: 180.2 kB / 0.6823 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.816e-05/0.1717, allocations: 184.2 kB / 0.6825 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.172, allocations: 417.1 kB / 0.6829 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-05/0.172, allocations: 101 kB / 0.683 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.908e-05/0.172, allocations: 108.9 kB / 0.6831 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.593e-05/0.1721, allocations: 180.2 kB / 0.6833 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.456e-05/0.1722, allocations: 180.3 kB / 0.6835 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.738e-05/0.1722, allocations: 184.2 kB / 0.6836 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.27e-05/0.1723, allocations: 184.3 kB / 0.6838 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.1724, allocations: 311.6 kB / 0.6841 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.211e-05/0.1725, allocations: 178.1 kB / 0.6843 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.015e-05/0.1726, allocations: 184.2 kB / 0.6845 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.1728, allocations: 109 kB / 0.6846 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.25e-05/0.1728, allocations: 180.2 kB / 0.6847 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.535e-05/0.1729, allocations: 113 kB / 0.6848 GB, free: 400 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.315e-05/0.1729, allocations: 83.28 kB / 0.6849 GB, free: 316 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1729, allocations: 0 / 0.6849 GB, free: 316 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002376/0.1732, allocations: 15.94 kB / 0.6849 GB, free: 300 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.0002621/0.1734, allocations: 202.4 kB / 0.6851 GB, free: 88 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.664e-05/0.1735, allocations: 15.94 kB / 0.6851 GB, free: 72 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1735, allocations: 0 / 0.6851 GB, free: 72 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.1735, allocations: 0 / 0.6851 GB, free: 72 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.174, allocations: 465.9 kB / 0.6856 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002388/0.1742, allocations: 181.9 kB / 0.6858 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.1744, allocations: 0.6768 MB / 0.6864 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.653e-05/0.1745, allocations: 7.938 kB / 0.6864 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.575e-05/0.1745, allocations: 7.438 kB / 0.6864 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of SimCode: time 3.61e-07/0.1745, allocations: 4 kB / 0.6864 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of Templates: time 0.002734/0.1773, allocations: 0.6491 MB / 0.6871 GB, free: 14.05 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)