Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.00149/0.00149, 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.001713/0.001713, allocations: 211.4 kB / 23.01 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.347/1.347, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.002406/0.002406, allocations: 295.5 kB / 313.5 MB, free: 2.828 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.13/1.13, allocations: 180.6 MB / 0.5377 GB, free: 13.08 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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [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.002772/0.002772, allocations: 99.14 kB / 0.7408 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1568, allocations: 95.39 MB / 0.8339 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005739/0.1626, allocations: 3.828 MB / 0.8377 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002183/0.1628, allocations: 171.4 kB / 0.8378 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.045e-05/0.1628, allocations: 0 / 0.8378 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.781e-05/0.1629, allocations: 7.922 kB / 0.8378 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.361e-05/0.163, allocations: 7.938 kB / 0.8378 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.1633, allocations: 92.86 kB / 0.8379 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.088e-05/0.1634, allocations: 35.84 kB / 0.838 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.909e-05/0.1634, allocations: 4 kB / 0.838 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.79e-05/0.1634, allocations: 15.97 kB / 0.838 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.644e-05/0.1635, allocations: 11.94 kB / 0.838 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.1635, allocations: 4 kB / 0.838 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006105/0.1641, allocations: 235.2 kB / 0.8382 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.858e-05/0.1642, allocations: 11.98 kB / 0.8382 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.1642, allocations: 11.92 kB / 0.8382 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.1643, allocations: 67.86 kB / 0.8383 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1643, allocations: 0 / 0.8383 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1643, allocations: 0 / 0.8383 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.1644, allocations: 0 / 0.8383 GB, free: 3.656 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.0003501/0.1647, allocations: 258.3 kB / 0.8386 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.1647, allocations: 8.75 kB / 0.8386 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.1648, allocations: 0.9375 kB / 0.8386 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.1649, allocations: 118.4 kB / 0.8387 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.051e-05/0.1649, allocations: 59.91 kB / 0.8387 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.165, allocations: 4.359 kB / 0.8387 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.1651, allocations: 57.55 kB / 0.8388 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.1651, allocations: 0 / 0.8388 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1651, allocations: 0 / 0.8388 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.1651, allocations: 0 / 0.8388 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.138e-05/0.1652, allocations: 15.98 kB / 0.8388 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.1655, allocations: 228 kB / 0.839 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.131e-05/0.1656, allocations: 22.58 kB / 0.8391 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.599e-05/0.1656, allocations: 8.797 kB / 0.8391 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.993e-05/0.1656, allocations: 8.062 kB / 0.8391 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.1657, allocations: 30.56 kB / 0.8391 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.1657, allocations: 0 / 0.8391 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.000127/0.1658, allocations: 33.69 kB / 0.8391 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.1658, allocations: 59.53 kB / 0.8392 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.318e-05/0.1659, allocations: 101.8 kB / 0.8393 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.1659, allocations: 25.7 kB / 0.8393 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.166, allocations: 92.09 kB / 0.8394 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.123e-06/0.166, allocations: 3.953 kB / 0.8394 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.166, allocations: 17.66 kB / 0.8394 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1661, allocations: 314.8 kB / 0.8397 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.005e-05/0.1662, allocations: 15.92 kB / 0.8397 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.243e-05/0.1662, allocations: 17.72 kB / 0.8397 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.364e-05/0.1662, allocations: 17.72 kB / 0.8398 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1662, allocations: 0 / 0.8398 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.122e-05/0.1663, allocations: 57.62 kB / 0.8398 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.1663, allocations: 4 kB / 0.8398 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1663, allocations: 0 / 0.8398 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.1663, allocations: 4.062 kB / 0.8398 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.041e-05/0.1664, allocations: 7.984 kB / 0.8398 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1664, allocations: 4 kB / 0.8398 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.658e-05/0.1664, allocations: 0 / 0.8398 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.1664, allocations: 0 / 0.8398 GB, free: 1.887 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.721e-05/0.1665, allocations: 114.4 kB / 0.8399 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.1665, allocations: 0 / 0.8399 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.1666, allocations: 125.7 kB / 0.8401 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.671e-05/0.1667, allocations: 184.2 kB / 0.8402 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.44e-05/0.1667, allocations: 184.2 kB / 0.8404 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.08e-05/0.1668, allocations: 176.3 kB / 0.8406 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.167, allocations: 384.2 kB / 0.841 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.69e-05/0.1671, allocations: 104.9 kB / 0.8411 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.806e-05/0.1671, allocations: 105 kB / 0.8412 GB, free: 448 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.509e-05/0.1672, allocations: 184.2 kB / 0.8413 GB, free: 256 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.327e-05/0.1673, allocations: 180.3 kB / 0.8415 GB, free: 68 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-05/0.1674, allocations: 184.2 kB / 0.8417 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-05/0.1674, allocations: 176.3 kB / 0.8418 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.1676, allocations: 315.6 kB / 0.8421 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.1676, allocations: 109.3 kB / 0.8423 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.615e-05/0.1677, allocations: 184.1 kB / 0.8424 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.1679, allocations: 109 kB / 0.8425 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.205e-05/0.1679, allocations: 180.2 kB / 0.8427 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.417e-05/0.168, allocations: 108.9 kB / 0.8428 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.122e-05/0.168, allocations: 87.28 kB / 0.8429 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.168, allocations: 0 / 0.8429 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002718/0.1683, allocations: 15.98 kB / 0.8429 GB, free: 14.55 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.0001728/0.1685, allocations: 190.4 kB / 0.8431 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.763e-05/0.1686, allocations: 12 kB / 0.8431 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1686, allocations: 128 / 0.8431 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.036e-06/0.1686, allocations: 7.938 kB / 0.8431 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.169, allocations: 464.5 kB / 0.8435 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002491/0.1692, allocations: 211.8 kB / 0.8438 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.1695, allocations: 0.6768 MB / 0.8444 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.412e-05/0.1695, allocations: 11.44 kB / 0.8444 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.1695, allocations: 0 / 0.8444 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of Templates: time 0.002235/0.1718, allocations: 0.7239 MB / 0.8451 GB, free: 12.22 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.937209683004767] Failed to read output from testmodel.py, exit status != 0: 0.17871648585423827 0.193225482 0.026008583000000002 Calling exit ...