Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005981/0.005981, allocations: 103.4 kB / 15.74 MB, free: 6.008 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.001143/0.001143, allocations: 198.4 kB / 16.68 MB, free: 5.93 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.9156/0.9156, allocations: 143 MB / 433.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 64.44 kB / 0.5955 GB, free: 12.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1615, allocations: 82.04 MB / 0.6756 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004475/0.166, allocations: 3.293 MB / 0.6789 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 9.355e-05/0.1661, allocations: 55.84 kB / 0.6789 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.54e-05/0.1662, allocations: 0 / 0.6789 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.1663, allocations: 3.938 kB / 0.6789 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.017e-05/0.1663, allocations: 19.91 kB / 0.6789 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004813/0.1668, allocations: 175.2 kB / 0.6791 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.861e-05/0.1669, allocations: 35.91 kB / 0.6791 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.005e-05/0.167, allocations: 3.984 kB / 0.6791 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.797e-05/0.167, allocations: 11.94 kB / 0.6792 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.029e-05/0.1671, allocations: 27.91 kB / 0.6792 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.1671, allocations: 0 / 0.6792 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000303/0.1674, allocations: 171.6 kB / 0.6793 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.763e-05/0.1675, allocations: 4 kB / 0.6793 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.1675, allocations: 15.91 kB / 0.6794 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.1677, allocations: 135.7 kB / 0.6795 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1678, allocations: 4 kB / 0.6795 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1678, allocations: 0 / 0.6795 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.1678, allocations: 0 / 0.6795 GB, free: 6.363 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.0003862/0.1682, allocations: 347.5 kB / 0.6798 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.1682, allocations: 8.031 kB / 0.6798 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.1682, allocations: 0.9375 kB / 0.6798 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.1684, allocations: 172.2 kB / 0.68 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.016e-05/0.1684, allocations: 30.25 kB / 0.68 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.1684, allocations: 384 / 0.68 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.1686, allocations: 49.62 kB / 0.6801 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1686, allocations: 3.984 kB / 0.6801 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.1686, allocations: 0 / 0.6801 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.1686, allocations: 4 kB / 0.6801 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.677e-05/0.1687, allocations: 15.98 kB / 0.6801 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005727/0.1692, allocations: 0.5872 MB / 0.6807 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.427e-05/0.1693, allocations: 14.58 kB / 0.6807 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.381e-05/0.1693, allocations: 8.922 kB / 0.6807 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002307/0.1695, allocations: 344.4 kB / 0.681 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.1696, allocations: 34.56 kB / 0.6811 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1696, allocations: 0 / 0.6811 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001408/0.1697, allocations: 41.62 kB / 0.6811 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.1698, allocations: 51.41 kB / 0.6811 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.211e-05/0.1698, allocations: 105.8 kB / 0.6812 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.1699, allocations: 25.7 kB / 0.6813 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.1699, allocations: 84.05 kB / 0.6814 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.102e-06/0.1699, allocations: 8.125 kB / 0.6814 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.1699, allocations: 17.62 kB / 0.6814 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.1701, allocations: 322.8 kB / 0.6817 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.642e-05/0.1701, allocations: 11.94 kB / 0.6817 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.143e-05/0.1701, allocations: 13.72 kB / 0.6817 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.34e-05/0.1701, allocations: 25.66 kB / 0.6817 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1701, allocations: 4 kB / 0.6817 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.277e-05/0.1702, allocations: 41.69 kB / 0.6818 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.1702, allocations: 4 kB / 0.6818 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1702, allocations: 0 / 0.6818 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.1703, allocations: 4 kB / 0.6818 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.554e-05/0.1703, allocations: 11.98 kB / 0.6818 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.1703, allocations: 3.938 kB / 0.6818 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.1703, allocations: 3.938 kB / 0.6818 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.1704, allocations: 4 kB / 0.6818 GB, free: 3.609 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.354e-05/0.1704, allocations: 113.8 kB / 0.6819 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.1705, allocations: 7.938 kB / 0.6819 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.1706, allocations: 117 kB / 0.682 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.283e-05/0.1706, allocations: 184.2 kB / 0.6822 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.134e-05/0.1707, allocations: 180.3 kB / 0.6824 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.756e-05/0.1707, allocations: 180.3 kB / 0.6826 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.171, allocations: 417.1 kB / 0.683 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-05/0.171, allocations: 101 kB / 0.683 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.975e-05/0.171, allocations: 108.9 kB / 0.6832 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.758e-05/0.1711, allocations: 180.3 kB / 0.6833 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.549e-05/0.1712, allocations: 180.2 kB / 0.6835 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.132e-05/0.1712, allocations: 180.3 kB / 0.6837 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.044e-05/0.1713, allocations: 180.3 kB / 0.6838 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.1714, allocations: 311.7 kB / 0.6841 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.047e-05/0.1715, allocations: 185.9 kB / 0.6843 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.753e-05/0.1715, allocations: 184.3 kB / 0.6845 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.1717, allocations: 113 kB / 0.6846 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.1718, allocations: 180.2 kB / 0.6848 GB, free: 372 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.592e-05/0.1718, allocations: 101 kB / 0.6849 GB, free: 264 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.024e-05/0.1718, allocations: 91.27 kB / 0.685 GB, free: 172 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1718, allocations: 0 / 0.685 GB, free: 172 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002778/0.1721, allocations: 28 kB / 0.685 GB, free: 144 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.0002598/0.1724, allocations: 245.4 kB / 0.6852 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.523e-05/0.1725, allocations: 19.92 kB / 0.6852 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1725, allocations: 0 / 0.6852 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.1725, allocations: 0 / 0.6852 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.1729, allocations: 460.6 kB / 0.6857 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002297/0.1731, allocations: 178.1 kB / 0.6858 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.1734, allocations: 0.669 MB / 0.6865 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.337e-05/0.1734, allocations: 11.98 kB / 0.6865 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.544e-05/0.1735, allocations: 7.438 kB / 0.6865 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of SimCode: time 2.1e-07/0.1735, allocations: 0 / 0.6865 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.003399/0.1769, allocations: 1.264 MB / 0.6877 GB, free: 13.29 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)