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.00193/0.00193, allocations: 109.3 kB / 16.41 MB, free: 6.473 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.002188/0.002188, allocations: 189.7 kB / 17.34 MB, free: 5.711 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.07 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.915/0.915, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 67.42 kB / 0.5962 GB, free: 12.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1726, allocations: 82.04 MB / 0.6763 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005331/0.1779, allocations: 3.303 MB / 0.6796 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0001123/0.178, allocations: 51.86 kB / 0.6796 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.988e-05/0.178, allocations: 4 kB / 0.6796 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.1781, allocations: 7.938 kB / 0.6796 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.969e-05/0.1782, allocations: 11.97 kB / 0.6796 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005406/0.1788, allocations: 182.4 kB / 0.6798 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.237e-05/0.1789, allocations: 39.84 kB / 0.6798 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.895e-05/0.1789, allocations: 7.984 kB / 0.6798 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.776e-05/0.179, allocations: 11.94 kB / 0.6799 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.621e-05/0.179, allocations: 19.97 kB / 0.6799 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.179, allocations: 0 / 0.6799 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003275/0.1794, allocations: 171.5 kB / 0.68 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.681e-05/0.1794, allocations: 7.984 kB / 0.68 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.1794, allocations: 11.92 kB / 0.6801 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.1797, allocations: 135.6 kB / 0.6802 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1797, allocations: 4 kB / 0.6802 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1797, allocations: 0 / 0.6802 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1797, allocations: 4 kB / 0.6802 GB, free: 6.438 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.0005671/0.1803, allocations: 351.3 kB / 0.6805 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1803, allocations: 8.031 kB / 0.6805 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.1804, allocations: 0.9375 kB / 0.6805 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.1805, allocations: 168.3 kB / 0.6807 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.326e-05/0.1806, allocations: 26.27 kB / 0.6807 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.1806, allocations: 384 / 0.6807 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.1807, allocations: 57.55 kB / 0.6808 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1807, allocations: 4 kB / 0.6808 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.1807, allocations: 0 / 0.6808 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.1808, allocations: 0 / 0.6808 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.523e-05/0.1808, allocations: 11.98 kB / 0.6808 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007434/0.1815, allocations: 0.5872 MB / 0.6814 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.521e-05/0.1816, allocations: 18.52 kB / 0.6814 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.137e-05/0.1816, allocations: 16.92 kB / 0.6814 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002686/0.1819, allocations: 340.4 kB / 0.6817 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.1819, allocations: 30.56 kB / 0.6818 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1819, allocations: 0 / 0.6818 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001546/0.1821, allocations: 41.64 kB / 0.6818 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.1821, allocations: 51.41 kB / 0.6818 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.1822, allocations: 101.9 kB / 0.6819 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.1822, allocations: 33.81 kB / 0.682 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/0.1823, allocations: 88.09 kB / 0.6821 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.598e-06/0.1823, allocations: 3.938 kB / 0.6821 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.1823, allocations: 17.72 kB / 0.6821 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1825, allocations: 318.7 kB / 0.6824 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.275e-05/0.1825, allocations: 11.98 kB / 0.6824 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.397e-05/0.1825, allocations: 13.91 kB / 0.6824 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.161e-05/0.1825, allocations: 25.72 kB / 0.6824 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1825, allocations: 0 / 0.6824 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.488e-05/0.1826, allocations: 53.58 kB / 0.6825 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.1826, allocations: 4 kB / 0.6825 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.1826, allocations: 0 / 0.6825 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1827, allocations: 4.094 kB / 0.6825 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.715e-05/0.1827, allocations: 11.97 kB / 0.6825 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1827, allocations: 0 / 0.6825 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.893e-05/0.1827, allocations: 11.94 kB / 0.6825 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1827, allocations: 4 kB / 0.6825 GB, free: 3.672 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 8.305e-05/0.1828, allocations: 109.8 kB / 0.6826 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.1829, allocations: 4 kB / 0.6826 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.183, allocations: 123.7 kB / 0.6827 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.928e-05/0.1831, allocations: 180.3 kB / 0.6829 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.859e-05/0.1831, allocations: 184.2 kB / 0.6831 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-05/0.1832, allocations: 176.3 kB / 0.6833 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.1835, allocations: 417.1 kB / 0.6837 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.625e-05/0.1835, allocations: 101 kB / 0.6838 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.703e-05/0.1836, allocations: 101 kB / 0.6839 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.26e-05/0.1837, allocations: 188.2 kB / 0.684 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.579e-05/0.1838, allocations: 180.3 kB / 0.6842 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.314e-05/0.1838, allocations: 184.2 kB / 0.6844 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.878e-05/0.1839, allocations: 176.3 kB / 0.6845 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.1841, allocations: 307.7 kB / 0.6848 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.324e-05/0.1842, allocations: 190.1 kB / 0.685 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.1843, allocations: 188.2 kB / 0.6852 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.1845, allocations: 109 kB / 0.6853 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.62e-05/0.1846, allocations: 176.3 kB / 0.6855 GB, free: 448 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.897e-05/0.1846, allocations: 104.9 kB / 0.6856 GB, free: 336 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.187e-05/0.1847, allocations: 95.27 kB / 0.6857 GB, free: 240 kB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1847, allocations: 4 kB / 0.6857 GB, free: 236 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003124/0.185, allocations: 31.88 kB / 0.6857 GB, free: 204 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.0003223/0.1853, allocations: 238.2 kB / 0.6859 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.314e-05/0.1854, allocations: 8 kB / 0.6859 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1854, allocations: 3.938 kB / 0.6859 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.527e-06/0.1854, allocations: 3.984 kB / 0.6859 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004935/0.1859, allocations: 460.7 kB / 0.6864 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003049/0.1862, allocations: 203.7 kB / 0.6866 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.1865, allocations: 0.6729 MB / 0.6872 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.207e-05/0.1865, allocations: 7.438 kB / 0.6872 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/0.1865, allocations: 0 / 0.6872 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of Templates: time 0.003168/0.1897, allocations: 1.256 MB / 0.6885 GB, free: 13.31 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)