Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.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.001298/0.001298, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.001509/0.001509, allocations: 216.2 kB / 23.01 MB, free: 5.113 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.391/1.391, 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.002526/0.002526, allocations: 281.7 kB / 313.5 MB, free: 2.824 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.164/1.164, allocations: 180.6 MB / 0.5377 GB, free: 12.94 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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") [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.002745/0.002745, allocations: 101.9 kB / 0.7408 GB, free: 28.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1504, allocations: 95.39 MB / 0.8339 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005511/0.1559, allocations: 4.131 MB / 0.838 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002064/0.1561, allocations: 163.5 kB / 0.8381 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.528e-05/0.1561, allocations: 4 kB / 0.8381 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.97e-05/0.1562, allocations: 7.922 kB / 0.8381 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.086e-05/0.1563, allocations: 11.86 kB / 0.8381 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.1566, allocations: 87.73 kB / 0.8382 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.086e-05/0.1567, allocations: 39.84 kB / 0.8383 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.613e-05/0.1567, allocations: 0 / 0.8383 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.758e-05/0.1568, allocations: 15.98 kB / 0.8383 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.176e-05/0.1568, allocations: 7.984 kB / 0.8383 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.1568, allocations: 7.938 kB / 0.8383 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000205/0.157, allocations: 83.7 kB / 0.8384 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.106e-05/0.1571, allocations: 7.984 kB / 0.8384 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.285e-05/0.1571, allocations: 8 kB / 0.8384 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.1572, allocations: 71.78 kB / 0.8385 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1572, allocations: 0 / 0.8385 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1572, allocations: 4 kB / 0.8385 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.1572, allocations: 0 / 0.8385 GB, free: 3.516 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.000358/0.1576, allocations: 258.3 kB / 0.8387 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.1576, allocations: 9.344 kB / 0.8387 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.1577, allocations: 0.9375 kB / 0.8387 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.1578, allocations: 110.5 kB / 0.8388 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.783e-05/0.1578, allocations: 51.97 kB / 0.8389 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-06/0.1579, allocations: 384 / 0.8389 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.158, allocations: 65.53 kB / 0.8389 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.158, allocations: 0 / 0.8389 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.158, allocations: 0 / 0.8389 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.158, allocations: 0 / 0.8389 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.793e-05/0.1581, allocations: 15.98 kB / 0.839 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.1584, allocations: 228 kB / 0.8392 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.783e-05/0.1585, allocations: 18.58 kB / 0.8392 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/0.1585, allocations: 16.78 kB / 0.8392 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.869e-05/0.1585, allocations: 8.062 kB / 0.8392 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.1586, allocations: 30.56 kB / 0.8392 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.1586, allocations: 0 / 0.8392 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001274/0.1587, allocations: 33.7 kB / 0.8393 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.1587, allocations: 59.39 kB / 0.8393 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.406e-05/0.1588, allocations: 101.7 kB / 0.8394 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.1588, allocations: 29.83 kB / 0.8395 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/0.1589, allocations: 96.08 kB / 0.8395 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.374e-06/0.1589, allocations: 11.88 kB / 0.8396 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.1589, allocations: 13.72 kB / 0.8396 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.1591, allocations: 318.8 kB / 0.8399 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.363e-05/0.1591, allocations: 7.938 kB / 0.8399 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.503e-05/0.1591, allocations: 17.7 kB / 0.8399 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.408e-05/0.1591, allocations: 21.72 kB / 0.8399 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1591, allocations: 0 / 0.8399 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.371e-05/0.1592, allocations: 49.62 kB / 0.84 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.1592, allocations: 8 kB / 0.84 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.1592, allocations: 0 / 0.84 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1592, allocations: 0 / 0.84 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.847e-05/0.1593, allocations: 4 kB / 0.84 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.1593, allocations: 7.984 kB / 0.84 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.704e-05/0.1593, allocations: 4.062 kB / 0.84 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1593, allocations: 0 / 0.84 GB, free: 1.746 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.772e-05/0.1594, allocations: 118.4 kB / 0.8401 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.1594, allocations: 0 / 0.8401 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.1595, allocations: 120.9 kB / 0.8402 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-05/0.1596, allocations: 176.3 kB / 0.8404 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.882e-05/0.1597, allocations: 188.2 kB / 0.8406 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.407e-05/0.1598, allocations: 180.3 kB / 0.8407 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002525/0.16, allocations: 388.1 kB / 0.8411 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-05/0.16, allocations: 101 kB / 0.8412 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-05/0.1601, allocations: 101 kB / 0.8413 GB, free: 308 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.48e-05/0.1602, allocations: 188.2 kB / 0.8415 GB, free: 112 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.582e-05/0.1603, allocations: 184.3 kB / 0.8417 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.603e-05/0.1603, allocations: 184.2 kB / 0.8418 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.482e-05/0.1604, allocations: 176.3 kB / 0.842 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.1606, allocations: 311.7 kB / 0.8423 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-05/0.1606, allocations: 109 kB / 0.8424 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.321e-05/0.1607, allocations: 180.2 kB / 0.8426 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.1609, allocations: 105 kB / 0.8427 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.407e-05/0.1609, allocations: 180.2 kB / 0.8428 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-05/0.161, allocations: 112.9 kB / 0.843 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.005e-05/0.161, allocations: 87.28 kB / 0.843 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.161, allocations: 0 / 0.843 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002613/0.1613, allocations: 19.94 kB / 0.8431 GB, free: 14.41 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.0001821/0.1615, allocations: 190.7 kB / 0.8432 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.033e-05/0.1615, allocations: 15.98 kB / 0.8433 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1615, allocations: 0 / 0.8433 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.166e-06/0.1616, allocations: 3.938 kB / 0.8433 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/0.162, allocations: 464.4 kB / 0.8437 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002631/0.1623, allocations: 203.8 kB / 0.8439 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.1626, allocations: 0.6768 MB / 0.8446 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.1626, allocations: 11.44 kB / 0.8446 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.1626, allocations: 0 / 0.8446 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of Templates: time 0.002271/0.1649, allocations: 0.7308 MB / 0.8453 GB, free: 12.07 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.95727944211103] Failed to read output from testmodel.py, exit status != 0: 0.17186466208659112 0.18620943199999995 0.02608726 Calling exit ...