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.001352/0.001352, allocations: 80.92 kB / 19.18 MB, free: 2.516 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.001445/0.001445, allocations: 163.8 kB / 22.46 MB, free: 5.375 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.459/1.459, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.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.002626/0.002626, allocations: 241.9 kB / 259.4 MB, free: 472 kB / 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.056/1.056, allocations: 138.4 MB / 454.3 MB, free: 2.016 MB / 366.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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.6468 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.692e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005746/0.005772, allocations: 3.638 MB / 0.6503 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002225/0.005995, allocations: 143.4 kB / 0.6504 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.247e-05/0.006017, allocations: 0 / 0.6504 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.006143, allocations: 0 / 0.6504 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.086e-05/0.006234, allocations: 15.91 kB / 0.6505 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.006593, allocations: 83.62 kB / 0.6505 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.909e-05/0.006682, allocations: 39.84 kB / 0.6506 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.478e-05/0.006717, allocations: 4 kB / 0.6506 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.096e-05/0.006778, allocations: 19.97 kB / 0.6506 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.781e-05/0.006856, allocations: 11.92 kB / 0.6506 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.006875, allocations: 4 kB / 0.6506 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006374/0.007512, allocations: 211.2 kB / 0.6508 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.555e-05/0.007568, allocations: 7.984 kB / 0.6508 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.821e-05/0.007596, allocations: 4 kB / 0.6508 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.007769, allocations: 67.78 kB / 0.6509 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.007775, allocations: 4 kB / 0.6509 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.002e-06/0.007776, allocations: 4 kB / 0.6509 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.00778, allocations: 0 / 0.6509 GB, free: 0.793 MB / 0.5606 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.0004059/0.008186, allocations: 254.3 kB / 0.6511 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.008224, allocations: 8.75 kB / 0.6512 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.00827, allocations: 4.938 kB / 0.6512 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.008386, allocations: 113.7 kB / 0.6513 GB, free: 376 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.713e-05/0.008463, allocations: 51.97 kB / 0.6513 GB, free: 312 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.008473, allocations: 4.375 kB / 0.6513 GB, free: 308 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.008621, allocations: 67.95 kB / 0.6514 GB, free: 228 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.008629, allocations: 4.125 kB / 0.6514 GB, free: 224 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.008642, allocations: 7.938 kB / 0.6514 GB, free: 216 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.00866, allocations: 3.938 kB / 0.6514 GB, free: 212 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.752e-05/0.008707, allocations: 15.98 kB / 0.6514 GB, free: 196 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3228/0.3315, allocations: 196.3 kB / 0.6516 GB, free: 57.31 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.382e-05/0.3316, allocations: 18.64 kB / 0.6516 GB, free: 57.29 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.701e-05/0.3316, allocations: 7.047 kB / 0.6516 GB, free: 57.28 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/0.3317, allocations: 10.52 kB / 0.6516 GB, free: 57.28 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.3317, allocations: 37.66 kB / 0.6517 GB, free: 57.24 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 2.014e-06/0.3317, allocations: 0 / 0.6517 GB, free: 57.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001597/0.3319, allocations: 40.58 kB / 0.6517 GB, free: 57.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.3319, allocations: 53.28 kB / 0.6518 GB, free: 57.15 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.197e-05/0.332, allocations: 100.8 kB / 0.6519 GB, free: 57.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.332, allocations: 28.36 kB / 0.6519 GB, free: 57.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.038e-05/0.332, allocations: 93.09 kB / 0.652 GB, free: 56.94 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.59e-06/0.332, allocations: 4.891 kB / 0.652 GB, free: 56.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.332, allocations: 16.12 kB / 0.652 GB, free: 56.92 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.115e-05/0.3321, allocations: 314.9 kB / 0.6523 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.713e-05/0.3321, allocations: 6.062 kB / 0.6523 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.2e-05/0.3321, allocations: 18.53 kB / 0.6523 GB, free: 56.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.163e-05/0.3321, allocations: 22 kB / 0.6523 GB, free: 56.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3321, allocations: 0.9844 kB / 0.6523 GB, free: 56.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.506e-05/0.3322, allocations: 55.03 kB / 0.6524 GB, free: 56.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3322, allocations: 5.469 kB / 0.6524 GB, free: 56.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3322, allocations: 0 / 0.6524 GB, free: 56.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.3322, allocations: 7.406 kB / 0.6524 GB, free: 56.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.777e-05/0.3323, allocations: 5.828 kB / 0.6524 GB, free: 56.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.3323, allocations: 0 / 0.6524 GB, free: 56.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.182e-05/0.3323, allocations: 4.219 kB / 0.6524 GB, free: 56.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.3323, allocations: 0 / 0.6524 GB, free: 56.54 MB / 0.5606 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 4.4e-05/0.3324, allocations: 113.4 kB / 0.6525 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.3324, allocations: 2.969 kB / 0.6525 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.668e-05/0.3325, allocations: 124.1 kB / 0.6526 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-05/0.3325, allocations: 186.2 kB / 0.6528 GB, free: 56.12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.389e-05/0.3325, allocations: 183.8 kB / 0.653 GB, free: 55.94 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.041e-05/0.3326, allocations: 177 kB / 0.6532 GB, free: 55.76 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.3327, allocations: 359.6 kB / 0.6535 GB, free: 55.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/0.3327, allocations: 102.3 kB / 0.6536 GB, free: 55.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.298e-05/0.3327, allocations: 107.1 kB / 0.6537 GB, free: 55.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-05/0.3327, allocations: 183 kB / 0.6539 GB, free: 55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.3327, allocations: 178.3 kB / 0.6541 GB, free: 54.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-05/0.3328, allocations: 179.8 kB / 0.6542 GB, free: 54.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-05/0.3328, allocations: 194.5 kB / 0.6544 GB, free: 54.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.642e-05/0.3329, allocations: 303.6 kB / 0.6547 GB, free: 54.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.935e-05/0.3329, allocations: 105.8 kB / 0.6548 GB, free: 54.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.131e-05/0.3329, allocations: 183 kB / 0.655 GB, free: 53.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.3331, allocations: 110.2 kB / 0.6551 GB, free: 53.74 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.3331, allocations: 185.3 kB / 0.6553 GB, free: 53.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.3331, allocations: 106.2 kB / 0.6554 GB, free: 53.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.038e-05/0.3331, allocations: 87.23 kB / 0.6554 GB, free: 53.38 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3331, allocations: 0 / 0.6554 GB, free: 53.38 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002494/0.3334, allocations: 17.55 kB / 0.6555 GB, free: 53.38 MB / 0.5606 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.0001641/0.3336, allocations: 192 kB / 0.6556 GB, free: 53.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.654e-05/0.3336, allocations: 11.73 kB / 0.6557 GB, free: 53.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3336, allocations: 2.625 kB / 0.6557 GB, free: 53.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.3336, allocations: 0 / 0.6557 GB, free: 53.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.334, allocations: 471.3 kB / 0.6561 GB, free: 52.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002295/0.3342, allocations: 181.2 kB / 0.6563 GB, free: 52.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.077e-05/0.3343, allocations: 61.12 kB / 0.6563 GB, free: 52.52 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.868e-05/0.3343, allocations: 8.031 kB / 0.6563 GB, free: 52.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.78e-05/0.3343, allocations: 9.281 kB / 0.6564 GB, free: 52.52 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.3343, allocations: 2.688 kB / 0.6564 GB, free: 52.52 MB / 0.5606 GB Notification: Performance of Templates: time 0.003171/0.3375, allocations: 0.678 MB / 0.657 GB, free: 52.5 MB / 0.5606 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: 5.986385203897953] Failed to read output from testmodel.py, exit status != 0: 0.3456139676272869 0.36004881299999997 0.349148478 Calling exit ...