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.001397/0.001397, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00121/0.00121, allocations: 196.1 kB / 16.14 MB, free: 6.688 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.337/1.337, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.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.9548/0.9548, allocations: 143 MB / 433 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 59.91 kB / 0.5135 GB, free: 12.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1703, allocations: 82.04 MB / 0.5936 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005254/0.1756, allocations: 3.34 MB / 0.5969 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001449/0.1758, allocations: 55.86 kB / 0.5969 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.948e-05/0.1758, allocations: 0 / 0.5969 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.1761, allocations: 11.86 kB / 0.5969 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.1762, allocations: 11.98 kB / 0.5969 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006518/0.1768, allocations: 175.3 kB / 0.5971 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.177, allocations: 55.81 kB / 0.5972 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.78e-05/0.177, allocations: 8 kB / 0.5972 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.48e-05/0.1771, allocations: 11.98 kB / 0.5972 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.899e-05/0.1772, allocations: 15.92 kB / 0.5972 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.1772, allocations: 0 / 0.5972 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003587/0.1776, allocations: 171.5 kB / 0.5974 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.385e-05/0.1776, allocations: 7.984 kB / 0.5974 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.1777, allocations: 8 kB / 0.5974 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.178, allocations: 147.9 kB / 0.5975 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.178, allocations: 0 / 0.5975 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.178, allocations: 0 / 0.5975 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.178, allocations: 4 kB / 0.5975 GB, free: 6.031 MB / 0.4981 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.000578/0.1786, allocations: 339.5 kB / 0.5978 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.1787, allocations: 8.031 kB / 0.5979 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.1787, allocations: 8.844 kB / 0.5979 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.1788, allocations: 164.4 kB / 0.598 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.245e-05/0.1789, allocations: 30.25 kB / 0.598 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.1789, allocations: 8.375 kB / 0.5981 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.1791, allocations: 49.56 kB / 0.5981 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1791, allocations: 4 kB / 0.5981 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1791, allocations: 0 / 0.5981 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.1791, allocations: 0 / 0.5981 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.226e-05/0.1792, allocations: 15.98 kB / 0.5981 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008205/0.18, allocations: 0.5872 MB / 0.5987 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.991e-05/0.18, allocations: 22.58 kB / 0.5987 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.696e-05/0.1801, allocations: 12.86 kB / 0.5987 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003051/0.1804, allocations: 336.4 kB / 0.599 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.1804, allocations: 34.55 kB / 0.5991 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.1804, allocations: 0 / 0.5991 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001496/0.1806, allocations: 37.7 kB / 0.5991 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.1806, allocations: 51.53 kB / 0.5992 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.039e-05/0.1807, allocations: 105.8 kB / 0.5993 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1807, allocations: 29.7 kB / 0.5993 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/0.1808, allocations: 84.05 kB / 0.5994 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.704e-06/0.1808, allocations: 7.891 kB / 0.5994 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.1808, allocations: 17.72 kB / 0.5994 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.181, allocations: 318.8 kB / 0.5997 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.555e-05/0.181, allocations: 7.938 kB / 0.5997 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.447e-05/0.181, allocations: 17.72 kB / 0.5997 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.693e-05/0.1811, allocations: 21.72 kB / 0.5997 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1811, allocations: 4 kB / 0.5998 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.695e-05/0.1812, allocations: 53.84 kB / 0.5998 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1812, allocations: 6.188 kB / 0.5998 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1812, allocations: 0 / 0.5998 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1812, allocations: 0 / 0.5998 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.686e-05/0.1813, allocations: 16.05 kB / 0.5998 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.289e-06/0.1813, allocations: 0 / 0.5998 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.992e-05/0.1813, allocations: 3.938 kB / 0.5998 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.1813, allocations: 7.984 kB / 0.5998 GB, free: 3.273 MB / 0.4981 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.371e-05/0.1814, allocations: 113.8 kB / 0.5999 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.1814, allocations: 0 / 0.5999 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.1815, allocations: 124.8 kB / 0.6001 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.482e-05/0.1816, allocations: 184.3 kB / 0.6002 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.067e-05/0.1817, allocations: 184.1 kB / 0.6004 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-05/0.1817, allocations: 180.3 kB / 0.6006 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.1819, allocations: 409.1 kB / 0.601 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.732e-05/0.182, allocations: 101 kB / 0.6011 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.615e-05/0.182, allocations: 109 kB / 0.6012 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-05/0.1821, allocations: 188.2 kB / 0.6014 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.813e-05/0.1821, allocations: 176.3 kB / 0.6015 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-05/0.1822, allocations: 184.2 kB / 0.6017 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.666e-05/0.1823, allocations: 176.3 kB / 0.6019 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.1824, allocations: 319.7 kB / 0.6022 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.449e-05/0.1825, allocations: 182.1 kB / 0.6023 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.77e-05/0.1825, allocations: 180.2 kB / 0.6025 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.1827, allocations: 109 kB / 0.6026 GB, free: 220 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.1827, allocations: 180.3 kB / 0.6028 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.3407/0.5235, allocations: 110.6 kB / 0.6029 GB, free: 44.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.109e-05/0.5236, allocations: 80.77 kB / 0.603 GB, free: 44.65 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5236, allocations: 0 / 0.603 GB, free: 44.65 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004136/0.524, allocations: 31.8 kB / 0.603 GB, free: 44.65 MB / 0.4981 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.000261/0.5243, allocations: 233.1 kB / 0.6032 GB, free: 44.49 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.908e-05/0.5244, allocations: 11.34 kB / 0.6032 GB, free: 44.49 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5244, allocations: 0 / 0.6032 GB, free: 44.49 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.935e-06/0.5244, allocations: 2.906 kB / 0.6032 GB, free: 44.49 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.5248, allocations: 0.5217 MB / 0.6038 GB, free: 43.97 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002211/0.525, allocations: 184.7 kB / 0.6039 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.253e-05/0.5251, allocations: 0.6764 MB / 0.6046 GB, free: 43.11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.5e-05/0.5252, allocations: 7.062 kB / 0.6046 GB, free: 43.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.669e-05/0.5252, allocations: 9.125 kB / 0.6046 GB, free: 43.1 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.5252, allocations: 2.062 kB / 0.6046 GB, free: 43.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.003233/0.5284, allocations: 1.232 MB / 0.6058 GB, free: 43.01 MB / 0.4981 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)