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.001494/0.001494, allocations: 106.7 kB / 16.41 MB, free: 6.027 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.001654/0.001654, allocations: 180.2 kB / 17.34 MB, free: 5.633 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.432/1.432, 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.8576/0.8576, allocations: 143 MB / 434.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 68.11 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1519, allocations: 82.03 MB / 0.6763 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004909/0.1569, allocations: 3.3 MB / 0.6795 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000119/0.157, allocations: 51.84 kB / 0.6796 GB, free: 7 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.731e-05/0.1571, allocations: 8 kB / 0.6796 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.1572, allocations: 3.938 kB / 0.6796 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.806e-05/0.1573, allocations: 7.969 kB / 0.6796 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005826/0.1579, allocations: 179.2 kB / 0.6798 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.534e-05/0.158, allocations: 35.84 kB / 0.6798 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.158, allocations: 11.98 kB / 0.6798 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.853e-05/0.1581, allocations: 11.94 kB / 0.6798 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.435e-05/0.1581, allocations: 19.97 kB / 0.6799 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.1581, allocations: 0 / 0.6799 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003407/0.1585, allocations: 171.6 kB / 0.68 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.347e-05/0.1585, allocations: 4 kB / 0.68 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.565e-05/0.1586, allocations: 11.92 kB / 0.68 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.1589, allocations: 139.7 kB / 0.6802 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1589, allocations: 0 / 0.6802 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1589, allocations: 0 / 0.6802 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.1589, allocations: 4 kB / 0.6802 GB, free: 6.402 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.0004219/0.1593, allocations: 346 kB / 0.6805 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1594, allocations: 15.97 kB / 0.6805 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.1594, allocations: 0.9375 kB / 0.6805 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.1596, allocations: 164.3 kB / 0.6807 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.424e-05/0.1596, allocations: 34.25 kB / 0.6807 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.715e-06/0.1596, allocations: 384 / 0.6807 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.1598, allocations: 49.56 kB / 0.6808 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.1598, allocations: 4 kB / 0.6808 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1598, allocations: 4 kB / 0.6808 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.1598, allocations: 0 / 0.6808 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.555e-05/0.1599, allocations: 15.97 kB / 0.6808 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006597/0.1606, allocations: 0.5833 MB / 0.6813 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.58e-05/0.1606, allocations: 18.52 kB / 0.6814 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.575e-05/0.1606, allocations: 4.859 kB / 0.6814 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002526/0.1609, allocations: 356.5 kB / 0.6817 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.1609, allocations: 34.55 kB / 0.6817 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1609, allocations: 0 / 0.6817 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001576/0.1611, allocations: 33.7 kB / 0.6818 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.1611, allocations: 55.41 kB / 0.6818 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.866e-05/0.1612, allocations: 97.84 kB / 0.6819 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.1612, allocations: 25.83 kB / 0.6819 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/0.1613, allocations: 96.05 kB / 0.682 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.654e-06/0.1613, allocations: 0 / 0.682 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.1614, allocations: 21.56 kB / 0.6821 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1615, allocations: 326.8 kB / 0.6824 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.1615, allocations: 7.938 kB / 0.6824 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.511e-05/0.1615, allocations: 13.72 kB / 0.6824 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.513e-05/0.1616, allocations: 21.72 kB / 0.6824 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1616, allocations: 0 / 0.6824 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.192e-05/0.1617, allocations: 57.62 kB / 0.6825 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.1617, allocations: 4 kB / 0.6825 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1617, allocations: 0 / 0.6825 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.1617, allocations: 0 / 0.6825 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.047e-05/0.1618, allocations: 11.98 kB / 0.6825 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1618, allocations: 0 / 0.6825 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.1618, allocations: 4 kB / 0.6825 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.1618, allocations: 8 kB / 0.6825 GB, free: 3.641 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 7.087e-05/0.1619, allocations: 109.8 kB / 0.6826 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.1619, allocations: 0 / 0.6826 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.162, allocations: 124.9 kB / 0.6827 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.213e-05/0.1621, allocations: 176.3 kB / 0.6829 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.861e-05/0.1622, allocations: 188.2 kB / 0.6831 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-05/0.1622, allocations: 176.3 kB / 0.6832 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.1625, allocations: 421 kB / 0.6836 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.2e-05/0.1625, allocations: 101 kB / 0.6837 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.1626, allocations: 105 kB / 0.6838 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.166e-05/0.1626, allocations: 180.2 kB / 0.684 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-05/0.1627, allocations: 184.3 kB / 0.6842 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.353e-05/0.1628, allocations: 184.2 kB / 0.6844 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.047e-05/0.1628, allocations: 176.3 kB / 0.6845 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.163, allocations: 311.7 kB / 0.6848 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.357e-05/0.163, allocations: 190 kB / 0.685 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.258e-05/0.1631, allocations: 180.2 kB / 0.6852 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.1633, allocations: 113 kB / 0.6853 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.706e-05/0.1634, allocations: 176.3 kB / 0.6854 GB, free: 412 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.999e-05/0.1634, allocations: 104.9 kB / 0.6855 GB, free: 300 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.489e-05/0.1635, allocations: 87.27 kB / 0.6856 GB, free: 212 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1635, allocations: 4 kB / 0.6856 GB, free: 208 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000285/0.1637, allocations: 28 kB / 0.6857 GB, free: 180 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.0002831/0.164, allocations: 242.8 kB / 0.6859 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.083e-05/0.1641, allocations: 11.98 kB / 0.6859 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.1641, allocations: 0 / 0.6859 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.1641, allocations: 3.938 kB / 0.6859 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.1645, allocations: 464.6 kB / 0.6863 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002535/0.1648, allocations: 199.9 kB / 0.6865 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.165, allocations: 0.6729 MB / 0.6872 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.427e-05/0.1651, allocations: 15.42 kB / 0.6872 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of SimCode: time 2.51e-07/0.1651, allocations: 0 / 0.6872 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of Templates: time 0.002968/0.1681, allocations: 1.248 MB / 0.6884 GB, free: 13.28 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)