Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00132/0.00132, allocations: 110.2 kB / 19.69 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.00159/0.00159, allocations: 211.7 kB / 23 MB, free: 4.57 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.37/1.37, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002548/0.002548, allocations: 285.1 kB / 313.5 MB, free: 2.84 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.184/1.184, allocations: 180.6 MB / 0.5377 GB, free: 13 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002782/0.002782, allocations: 103.3 kB / 0.7408 GB, free: 28.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1551, allocations: 95.39 MB / 0.834 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005912/0.161, allocations: 3.398 MB / 0.8373 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001302/0.1612, allocations: 63.84 kB / 0.8373 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.169e-05/0.1612, allocations: 0 / 0.8373 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.1613, allocations: 3.938 kB / 0.8373 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.703e-05/0.1614, allocations: 11.92 kB / 0.8374 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006371/0.162, allocations: 195.2 kB / 0.8375 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.253e-05/0.1621, allocations: 31.86 kB / 0.8376 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.1622, allocations: 3.984 kB / 0.8376 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.213e-05/0.1622, allocations: 12 kB / 0.8376 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/0.1623, allocations: 19.86 kB / 0.8376 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.1623, allocations: 3.984 kB / 0.8376 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003953/0.1627, allocations: 187.5 kB / 0.8378 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.26e-05/0.1627, allocations: 15.97 kB / 0.8378 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.814e-05/0.1628, allocations: 7.938 kB / 0.8378 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002973/0.1631, allocations: 135.7 kB / 0.8379 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1631, allocations: 4 kB / 0.8379 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.903e-06/0.1631, allocations: 0 / 0.8379 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.1631, allocations: 0 / 0.8379 GB, free: 4.062 MB / 0.5762 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.0004459/0.1635, allocations: 270.2 kB / 0.8382 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.1636, allocations: 12.61 kB / 0.8382 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.1636, allocations: 8.875 kB / 0.8382 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.1637, allocations: 110.4 kB / 0.8383 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.931e-05/0.1638, allocations: 51.97 kB / 0.8384 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.1638, allocations: 8.375 kB / 0.8384 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.1639, allocations: 45.62 kB / 0.8384 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.164, allocations: 0 / 0.8384 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.164, allocations: 3.984 kB / 0.8384 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.164, allocations: 4 kB / 0.8384 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.428e-05/0.164, allocations: 11.98 kB / 0.8384 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005263/0.1646, allocations: 263.9 kB / 0.8387 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.304e-05/0.1646, allocations: 22.52 kB / 0.8387 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.953e-05/0.1646, allocations: 8.922 kB / 0.8387 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.415e-05/0.1647, allocations: 31.97 kB / 0.8388 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.1647, allocations: 34.56 kB / 0.8388 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1647, allocations: 0 / 0.8388 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001496/0.1649, allocations: 37.64 kB / 0.8388 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.1649, allocations: 51.41 kB / 0.8389 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.118e-05/0.165, allocations: 106 kB / 0.839 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.1651, allocations: 29.7 kB / 0.839 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.1651, allocations: 84.09 kB / 0.8391 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.005e-05/0.1651, allocations: 11.89 kB / 0.8391 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.1652, allocations: 17.7 kB / 0.8391 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1653, allocations: 318.8 kB / 0.8394 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.344e-05/0.1653, allocations: 0 / 0.8394 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.757e-05/0.1653, allocations: 17.72 kB / 0.8394 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.851e-05/0.1654, allocations: 25.7 kB / 0.8395 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1654, allocations: 3.938 kB / 0.8395 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.793e-05/0.1655, allocations: 49.69 kB / 0.8395 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1655, allocations: 8 kB / 0.8395 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1655, allocations: 0 / 0.8395 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1655, allocations: 3.938 kB / 0.8395 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.36e-05/0.1655, allocations: 12 kB / 0.8395 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1655, allocations: 0 / 0.8395 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.1656, allocations: 7.938 kB / 0.8395 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.1656, allocations: 0 / 0.8395 GB, free: 2.219 MB / 0.5762 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.814e-05/0.1656, allocations: 114.4 kB / 0.8397 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.1657, allocations: 0 / 0.8397 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.1658, allocations: 123.8 kB / 0.8398 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.368e-05/0.1659, allocations: 188.2 kB / 0.84 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-05/0.1659, allocations: 176.3 kB / 0.8401 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.656e-05/0.166, allocations: 184.3 kB / 0.8403 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.1663, allocations: 388.1 kB / 0.8407 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.052e-05/0.1663, allocations: 105 kB / 0.8408 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.812e-05/0.1663, allocations: 104.9 kB / 0.8409 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-05/0.1664, allocations: 184.3 kB / 0.841 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.55e-05/0.1665, allocations: 176.3 kB / 0.8412 GB, free: 404 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.542e-05/0.1666, allocations: 184.2 kB / 0.8414 GB, free: 212 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.375e-05/0.1666, allocations: 180.2 kB / 0.8416 GB, free: 24 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.1668, allocations: 311.7 kB / 0.8419 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.1669, allocations: 101 kB / 0.842 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.447e-05/0.1669, allocations: 188.2 kB / 0.8421 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.1671, allocations: 105 kB / 0.8422 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.647e-05/0.1672, allocations: 180.2 kB / 0.8424 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.376e-05/0.1672, allocations: 113 kB / 0.8425 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.889e-05/0.1673, allocations: 83.27 kB / 0.8426 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.1673, allocations: 0 / 0.8426 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003058/0.1676, allocations: 35.88 kB / 0.8426 GB, free: 14.87 MB / 0.5919 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.0002753/0.1679, allocations: 244.8 kB / 0.8429 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.709e-05/0.1679, allocations: 11.94 kB / 0.8429 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1679, allocations: 0 / 0.8429 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.223e-06/0.1679, allocations: 3.938 kB / 0.8429 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004728/0.1684, allocations: 463.8 kB / 0.8433 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002987/0.1687, allocations: 211.8 kB / 0.8435 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.169, allocations: 0.6806 MB / 0.8442 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.138e-05/0.169, allocations: 7.438 kB / 0.8442 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.169, allocations: 0 / 0.8442 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.00289/0.1719, allocations: 1.186 MB / 0.8453 GB, free: 12.02 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.977233228972182] Failed to read output from testmodel.py, exit status != 0: 0.17943059210665524 0.195182703 0.029031413000000002 Calling exit ...