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.001495/0.001495, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001701/0.001701, allocations: 217.6 kB / 23.01 MB, free: 4.609 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.346/1.346, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.8635/0.8635, allocations: 145 MB / 458.2 MB, free: 15.51 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.001957/0.001957, allocations: 74.16 kB / 0.6344 GB, free: 6.812 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1595, allocations: 87.88 MB / 0.7202 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005813/0.1653, allocations: 3.405 MB / 0.7235 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001063/0.1654, allocations: 63.84 kB / 0.7236 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.375e-05/0.1655, allocations: 0 / 0.7236 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.1656, allocations: 7.938 kB / 0.7236 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.482e-05/0.1656, allocations: 7.922 kB / 0.7236 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00055/0.1662, allocations: 205.9 kB / 0.7238 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.75e-05/0.1663, allocations: 23.92 kB / 0.7238 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.445e-05/0.1663, allocations: 8 kB / 0.7238 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.251e-05/0.1663, allocations: 19.92 kB / 0.7239 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.347e-05/0.1664, allocations: 15.92 kB / 0.7239 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.1664, allocations: 0 / 0.7239 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003512/0.1668, allocations: 183.5 kB / 0.7241 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.349e-05/0.1668, allocations: 11.98 kB / 0.7241 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.1668, allocations: 11.92 kB / 0.7241 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.1671, allocations: 135.7 kB / 0.7242 GB, free: 10.82 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1671, allocations: 4 kB / 0.7242 GB, free: 10.81 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1671, allocations: 0 / 0.7242 GB, free: 10.81 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.1671, allocations: 4 kB / 0.7242 GB, free: 10.81 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.000402/0.1675, allocations: 274.1 kB / 0.7245 GB, free: 10.51 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.1675, allocations: 8.031 kB / 0.7245 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.1676, allocations: 0.9375 kB / 0.7245 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.1677, allocations: 110.5 kB / 0.7246 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.337e-05/0.1678, allocations: 55.97 kB / 0.7246 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.1678, allocations: 8.375 kB / 0.7247 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.1679, allocations: 45.62 kB / 0.7247 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1679, allocations: 0 / 0.7247 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1679, allocations: 3.984 kB / 0.7247 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.1679, allocations: 0 / 0.7247 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.413e-05/0.168, allocations: 19.92 kB / 0.7247 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000496/0.1685, allocations: 263.9 kB / 0.725 GB, free: 9.922 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.043e-05/0.1685, allocations: 18.58 kB / 0.725 GB, free: 9.895 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.775e-05/0.1685, allocations: 8.859 kB / 0.725 GB, free: 9.883 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.1686, allocations: 39.95 kB / 0.725 GB, free: 9.844 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.1687, allocations: 34.56 kB / 0.7251 GB, free: 9.801 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.1687, allocations: 0 / 0.7251 GB, free: 9.801 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001418/0.1688, allocations: 37.64 kB / 0.7251 GB, free: 9.758 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.1688, allocations: 51.53 kB / 0.7252 GB, free: 9.695 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.479e-05/0.1689, allocations: 109.8 kB / 0.7253 GB, free: 9.578 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.169, allocations: 25.7 kB / 0.7253 GB, free: 9.547 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/0.169, allocations: 84.09 kB / 0.7254 GB, free: 9.461 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.854e-06/0.169, allocations: 7.938 kB / 0.7254 GB, free: 9.453 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.1691, allocations: 17.72 kB / 0.7254 GB, free: 9.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1692, allocations: 318.8 kB / 0.7257 GB, free: 9.109 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.229e-05/0.1692, allocations: 0 / 0.7257 GB, free: 9.109 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.8e-05/0.1692, allocations: 21.7 kB / 0.7257 GB, free: 9.082 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.638e-05/0.1693, allocations: 25.66 kB / 0.7257 GB, free: 9.051 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1693, allocations: 0 / 0.7257 GB, free: 9.051 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.088e-05/0.1694, allocations: 53.56 kB / 0.7258 GB, free: 8.992 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1694, allocations: 4 kB / 0.7258 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1694, allocations: 4 kB / 0.7258 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1694, allocations: 0 / 0.7258 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.035e-05/0.1694, allocations: 8.062 kB / 0.7258 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1694, allocations: 0 / 0.7258 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.1695, allocations: 4 kB / 0.7258 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.1695, allocations: 0 / 0.7258 GB, free: 8.973 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.737e-05/0.1695, allocations: 121.8 kB / 0.7259 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.1696, allocations: 4 kB / 0.7259 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.1697, allocations: 116.9 kB / 0.726 GB, free: 8.715 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-05/0.1698, allocations: 180.3 kB / 0.7262 GB, free: 8.531 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.16e-05/0.1699, allocations: 184.3 kB / 0.7264 GB, free: 8.344 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.954e-05/0.1699, allocations: 184.2 kB / 0.7266 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.1702, allocations: 384.1 kB / 0.7269 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.137e-05/0.1702, allocations: 104.9 kB / 0.727 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.253e-05/0.1703, allocations: 109 kB / 0.7271 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.738e-05/0.1704, allocations: 180.3 kB / 0.7273 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.133e-05/0.1704, allocations: 180.2 kB / 0.7275 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.721e-05/0.1705, allocations: 180.2 kB / 0.7276 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.215e-05/0.1706, allocations: 184.2 kB / 0.7278 GB, free: 6.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.1707, allocations: 307.8 kB / 0.7281 GB, free: 6.445 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.1708, allocations: 108.9 kB / 0.7282 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.696e-05/0.1709, allocations: 184.3 kB / 0.7284 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.171, allocations: 108.9 kB / 0.7285 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.414e-05/0.1711, allocations: 184.3 kB / 0.7287 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.036e-05/0.1712, allocations: 109 kB / 0.7288 GB, free: 5.73 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.934e-05/0.1712, allocations: 87.16 kB / 0.7289 GB, free: 5.645 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1712, allocations: 0 / 0.7289 GB, free: 5.645 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003028/0.1715, allocations: 35.88 kB / 0.7289 GB, free: 5.609 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.0002767/0.1718, allocations: 246.5 kB / 0.7291 GB, free: 5.355 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.676e-05/0.1719, allocations: 8 kB / 0.7291 GB, free: 5.348 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1719, allocations: 0 / 0.7291 GB, free: 5.348 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.1719, allocations: 0 / 0.7291 GB, free: 5.348 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.1723, allocations: 460.6 kB / 0.7296 GB, free: 4.895 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000274/0.1726, allocations: 207.9 kB / 0.7298 GB, free: 4.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.1729, allocations: 0.6768 MB / 0.7304 GB, free: 3.957 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.019e-05/0.1729, allocations: 7.438 kB / 0.7304 GB, free: 3.949 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.1729, allocations: 0 / 0.7304 GB, free: 3.949 MB / 0.545 GB Notification: Performance of Templates: time 0.002996/0.1759, allocations: 1.244 MB / 0.7317 GB, free: 2.723 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: 7.3898671409115195] Failed to read output from testmodel.py, exit status != 0: 0.1840721459593624 0.198032267 0.027882177 Calling exit ...