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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 211.8 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.422/1.422, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.939/0.939, allocations: 145 MB / 457.4 MB, free: 15.31 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 70.36 kB / 0.6336 GB, free: 6.254 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1656, allocations: 87.89 MB / 0.7194 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005753/0.1714, allocations: 3.233 MB / 0.7226 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001288/0.1715, allocations: 51.88 kB / 0.7226 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.646e-05/0.1715, allocations: 0 / 0.7226 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.1717, allocations: 7.984 kB / 0.7226 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.101e-05/0.1717, allocations: 7.922 kB / 0.7226 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007278/0.1725, allocations: 191.2 kB / 0.7228 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.129e-05/0.1726, allocations: 35.84 kB / 0.7228 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.826e-05/0.1726, allocations: 8 kB / 0.7228 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.271e-05/0.1727, allocations: 11.98 kB / 0.7229 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.344e-05/0.1727, allocations: 19.92 kB / 0.7229 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.1727, allocations: 0 / 0.7229 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003377/0.1731, allocations: 123.6 kB / 0.723 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.054e-05/0.1731, allocations: 15.97 kB / 0.723 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.1732, allocations: 8 kB / 0.723 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002776/0.1734, allocations: 127.6 kB / 0.7231 GB, free: 10.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1734, allocations: 0 / 0.7231 GB, free: 10.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1734, allocations: 0 / 0.7231 GB, free: 10.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.1735, allocations: 0 / 0.7231 GB, free: 10.52 MB / 0.545 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.0004506/0.1739, allocations: 270.3 kB / 0.7234 GB, free: 10.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.1739, allocations: 8.031 kB / 0.7234 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.174, allocations: 4.938 kB / 0.7234 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.1741, allocations: 114.4 kB / 0.7235 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.068e-05/0.1742, allocations: 51.97 kB / 0.7236 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.1742, allocations: 8.375 kB / 0.7236 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.1744, allocations: 75.27 kB / 0.7236 GB, free: 9.922 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1744, allocations: 3.984 kB / 0.7236 GB, free: 9.918 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.1744, allocations: 3.938 kB / 0.7237 GB, free: 9.914 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.1744, allocations: 0 / 0.7237 GB, free: 9.914 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.535e-05/0.1744, allocations: 19.92 kB / 0.7237 GB, free: 9.895 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005052/0.1749, allocations: 240.5 kB / 0.7239 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.341e-05/0.175, allocations: 18.52 kB / 0.7239 GB, free: 9.602 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.232e-05/0.175, allocations: 12.91 kB / 0.7239 GB, free: 9.586 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.1751, allocations: 43.95 kB / 0.724 GB, free: 9.543 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.1751, allocations: 30.56 kB / 0.724 GB, free: 9.504 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.1751, allocations: 0 / 0.724 GB, free: 9.504 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001628/0.1753, allocations: 33.7 kB / 0.724 GB, free: 9.465 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.1754, allocations: 55.41 kB / 0.7241 GB, free: 9.398 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.679e-05/0.1754, allocations: 97.84 kB / 0.7242 GB, free: 9.293 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.1755, allocations: 29.7 kB / 0.7242 GB, free: 9.258 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.476e-05/0.1755, allocations: 92.03 kB / 0.7243 GB, free: 9.164 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.402e-06/0.1755, allocations: 3.953 kB / 0.7243 GB, free: 9.16 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.1756, allocations: 13.72 kB / 0.7243 GB, free: 9.141 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1757, allocations: 326.9 kB / 0.7246 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.313e-05/0.1757, allocations: 4 kB / 0.7246 GB, free: 8.809 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.525e-05/0.1758, allocations: 13.72 kB / 0.7246 GB, free: 8.789 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.998e-05/0.1758, allocations: 29.7 kB / 0.7247 GB, free: 8.754 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1758, allocations: 0 / 0.7247 GB, free: 8.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.302e-05/0.1759, allocations: 45.64 kB / 0.7247 GB, free: 8.703 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1759, allocations: 9.719 kB / 0.7247 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.1759, allocations: 3.984 kB / 0.7247 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1759, allocations: 4.062 kB / 0.7247 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.621e-05/0.176, allocations: 4 kB / 0.7247 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.176, allocations: 0 / 0.7247 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.164e-05/0.176, allocations: 7.938 kB / 0.7247 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.176, allocations: 0 / 0.7247 GB, free: 8.676 MB / 0.545 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.32e-05/0.1761, allocations: 113.8 kB / 0.7249 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.1761, allocations: 0 / 0.7249 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.1763, allocations: 128.9 kB / 0.725 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.56e-05/0.1763, allocations: 184.2 kB / 0.7251 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.964e-05/0.1764, allocations: 188.2 kB / 0.7253 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.455e-05/0.1765, allocations: 176.3 kB / 0.7255 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.1768, allocations: 364.7 kB / 0.7258 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.108e-05/0.1769, allocations: 101 kB / 0.7259 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.306e-05/0.1769, allocations: 105 kB / 0.726 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.421e-05/0.177, allocations: 184.2 kB / 0.7262 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.554e-05/0.1771, allocations: 176.3 kB / 0.7264 GB, free: 6.883 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001024/0.1772, allocations: 188.2 kB / 0.7266 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.554e-05/0.1773, allocations: 176.3 kB / 0.7267 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.1775, allocations: 311.6 kB / 0.727 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.767e-05/0.1776, allocations: 109 kB / 0.7271 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.1777, allocations: 184.2 kB / 0.7273 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.1779, allocations: 113 kB / 0.7274 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.995e-05/0.1779, allocations: 176.3 kB / 0.7276 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.785e-05/0.178, allocations: 113.2 kB / 0.7277 GB, free: 5.469 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.261e-05/0.178, allocations: 83.28 kB / 0.7278 GB, free: 5.387 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.178, allocations: 0 / 0.7278 GB, free: 5.387 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003202/0.1784, allocations: 35.86 kB / 0.7278 GB, free: 5.352 MB / 0.545 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.0003167/0.1787, allocations: 247.2 kB / 0.728 GB, free: 5.102 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.295e-05/0.1788, allocations: 7.938 kB / 0.7281 GB, free: 5.094 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1788, allocations: 0 / 0.7281 GB, free: 5.094 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.1788, allocations: 0 / 0.7281 GB, free: 5.094 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000524/0.1793, allocations: 478.6 kB / 0.7285 GB, free: 4.625 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002756/0.1796, allocations: 170.2 kB / 0.7287 GB, free: 4.434 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.774e-05/0.1796, allocations: 63.34 kB / 0.7287 GB, free: 4.352 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.183e-05/0.1797, allocations: 4 kB / 0.7287 GB, free: 4.348 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.098e-05/0.1797, allocations: 11.44 kB / 0.7287 GB, free: 4.336 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.1797, allocations: 0 / 0.7287 GB, free: 4.336 MB / 0.545 GB Notification: Performance of Templates: time 0.004095/0.1838, allocations: 1.319 MB / 0.73 GB, free: 3.082 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.556531477719545] Failed to read output from testmodel.py, exit status != 0: 0.19254557229578495 0.207284041 0.030720681000000003 Calling exit ...