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.001267/0.001267, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001411/0.001411, allocations: 220.9 kB / 22.99 MB, free: 4.914 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.374/1.374, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.00249/0.00249, allocations: 295.6 kB / 313.5 MB, free: 2.613 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.189/1.189, allocations: 180.6 MB / 0.5377 GB, free: 14.51 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.00289/0.00289, allocations: 96.44 kB / 0.7407 GB, free: 28.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1497, allocations: 95.39 MB / 0.8339 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004987/0.1546, allocations: 3.234 MB / 0.837 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001038/0.1548, allocations: 55.8 kB / 0.8371 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.138e-05/0.1548, allocations: 0 / 0.8371 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.859e-05/0.1549, allocations: 0 / 0.8371 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.008e-05/0.1549, allocations: 19.91 kB / 0.8371 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005392/0.1555, allocations: 191.2 kB / 0.8373 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.023e-05/0.1556, allocations: 39.84 kB / 0.8373 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.767e-05/0.1556, allocations: 3.984 kB / 0.8373 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.827e-05/0.1556, allocations: 15.98 kB / 0.8373 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.458e-05/0.1557, allocations: 11.92 kB / 0.8373 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.1557, allocations: 0 / 0.8373 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002814/0.156, allocations: 131.6 kB / 0.8375 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.862e-05/0.156, allocations: 4 kB / 0.8375 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/0.156, allocations: 11.98 kB / 0.8375 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.1563, allocations: 135.6 kB / 0.8376 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1563, allocations: 0 / 0.8376 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1563, allocations: 0 / 0.8376 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.1563, allocations: 0 / 0.8376 GB, free: 3.945 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.0003817/0.1567, allocations: 266.2 kB / 0.8379 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.1567, allocations: 12.62 kB / 0.8379 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/0.1567, allocations: 0.9375 kB / 0.8379 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.1568, allocations: 106.5 kB / 0.838 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-05/0.1569, allocations: 59.97 kB / 0.838 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.1569, allocations: 4.312 kB / 0.838 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.1571, allocations: 79.31 kB / 0.8381 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.1571, allocations: 0 / 0.8381 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.1571, allocations: 0 / 0.8381 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.1571, allocations: 0 / 0.8381 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.38e-05/0.1572, allocations: 15.98 kB / 0.8381 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005177/0.1577, allocations: 248.5 kB / 0.8384 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.468e-05/0.1578, allocations: 18.52 kB / 0.8384 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.185e-05/0.1578, allocations: 4.859 kB / 0.8384 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.1579, allocations: 36.03 kB / 0.8384 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.1579, allocations: 38.56 kB / 0.8385 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1579, allocations: 0 / 0.8385 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001319/0.158, allocations: 29.7 kB / 0.8385 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.1581, allocations: 55.41 kB / 0.8385 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.641e-05/0.1582, allocations: 109.8 kB / 0.8387 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.1582, allocations: 25.7 kB / 0.8387 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.503e-05/0.1583, allocations: 92.03 kB / 0.8388 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.132e-06/0.1583, allocations: 3.953 kB / 0.8388 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.1583, allocations: 21.7 kB / 0.8388 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1584, allocations: 314.8 kB / 0.8391 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.394e-05/0.1584, allocations: 4.125 kB / 0.8391 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.761e-05/0.1585, allocations: 25.7 kB / 0.8391 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.345e-05/0.1585, allocations: 17.72 kB / 0.8391 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1585, allocations: 0 / 0.8391 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.798e-05/0.1586, allocations: 53.56 kB / 0.8392 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1586, allocations: 6.344 kB / 0.8392 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.1586, allocations: 0 / 0.8392 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1586, allocations: 4 kB / 0.8392 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.103e-05/0.1587, allocations: 4 kB / 0.8392 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1587, allocations: 8.047 kB / 0.8392 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.688e-05/0.1587, allocations: 0 / 0.8392 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.1587, allocations: 4 kB / 0.8392 GB, free: 2.113 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 8.893e-05/0.1588, allocations: 118.4 kB / 0.8393 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.1588, allocations: 7.938 kB / 0.8393 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.1589, allocations: 117.7 kB / 0.8394 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.152e-05/0.159, allocations: 184.3 kB / 0.8396 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.433e-05/0.1591, allocations: 184.2 kB / 0.8398 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-05/0.1592, allocations: 180.3 kB / 0.84 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.1594, allocations: 372.7 kB / 0.8403 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.281e-05/0.1594, allocations: 109 kB / 0.8404 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.173e-05/0.1595, allocations: 101 kB / 0.8405 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001007/0.1596, allocations: 184.2 kB / 0.8407 GB, free: 500 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-05/0.1597, allocations: 176.3 kB / 0.8409 GB, free: 316 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.463e-05/0.1597, allocations: 180.2 kB / 0.841 GB, free: 128 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.791e-05/0.1598, allocations: 180.3 kB / 0.8412 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.16, allocations: 311.7 kB / 0.8415 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.654e-05/0.1601, allocations: 101 kB / 0.8416 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.1602, allocations: 184.2 kB / 0.8418 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.1604, allocations: 117 kB / 0.8419 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.828e-05/0.1605, allocations: 180.2 kB / 0.8421 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.436e-05/0.1605, allocations: 105 kB / 0.8422 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.521e-05/0.1606, allocations: 91.27 kB / 0.8423 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1606, allocations: 0 / 0.8423 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002707/0.1608, allocations: 31.88 kB / 0.8423 GB, free: 14.79 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.0002747/0.1611, allocations: 232.6 kB / 0.8425 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.2e-05/0.1612, allocations: 15.92 kB / 0.8425 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1612, allocations: 0 / 0.8425 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.1612, allocations: 0 / 0.8425 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004751/0.1617, allocations: 459.6 kB / 0.843 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000279/0.1619, allocations: 215.9 kB / 0.8432 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.519e-05/0.162, allocations: 55.36 kB / 0.8432 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.162, allocations: 15.42 kB / 0.8432 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.162, allocations: 0 / 0.8432 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of Templates: time 0.002772/0.1648, allocations: 1.201 MB / 0.8444 GB, free: 12.56 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.941705406177789] Failed to read output from testmodel.py, exit status != 0: 0.17175190011039376 0.18658854800000002 0.027339819 Calling exit ...