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.001318/0.001318, allocations: 79.78 kB / 19.18 MB, free: 2.527 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.001496/0.001496, allocations: 162.8 kB / 22.46 MB, free: 5.359 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.486/1.486, allocations: 177.1 MB / 202.8 MB, free: 9.191 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.00272/0.00272, allocations: 237.1 kB / 259.4 MB, free: 496 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.089/1.089, allocations: 138.4 MB / 454.3 MB, free: 2.043 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.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: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 3.938 kB / 0.6467 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.628e-05/3.828e-05, allocations: 10.22 kB / 0.6468 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006368/0.006407, allocations: 3.91 MB / 0.6506 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002408/0.006647, allocations: 147.4 kB / 0.6507 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.823e-05/0.006676, allocations: 4 kB / 0.6507 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.006781, allocations: 7.922 kB / 0.6507 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.562e-05/0.006857, allocations: 0 / 0.6507 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004112/0.007268, allocations: 91.61 kB / 0.6508 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.466e-05/0.007363, allocations: 35.84 kB / 0.6509 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/0.007409, allocations: 7.938 kB / 0.6509 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.23e-05/0.007471, allocations: 15.98 kB / 0.6509 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.804e-05/0.007569, allocations: 19.91 kB / 0.6509 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.007584, allocations: 0 / 0.6509 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.007794, allocations: 51.86 kB / 0.6509 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.004e-05/0.007844, allocations: 7.938 kB / 0.6509 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.48e-05/0.007869, allocations: 4 kB / 0.651 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.008038, allocations: 67.84 kB / 0.651 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.008042, allocations: 3.938 kB / 0.651 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.52e-07/0.008042, allocations: 4 kB / 0.651 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.008051, allocations: 4 kB / 0.651 GB, free: 0.6953 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.0004103/0.008461, allocations: 254.3 kB / 0.6513 GB, free: 428 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.008498, allocations: 13.92 kB / 0.6513 GB, free: 416 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/0.008539, allocations: 4.938 kB / 0.6513 GB, free: 412 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.008659, allocations: 109.7 kB / 0.6514 GB, free: 276 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.08e-05/0.00874, allocations: 51.97 kB / 0.6514 GB, free: 212 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.008748, allocations: 8.312 kB / 0.6515 GB, free: 204 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.008906, allocations: 67.95 kB / 0.6515 GB, free: 124 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.008915, allocations: 192 / 0.6515 GB, free: 124 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.008928, allocations: 7.938 kB / 0.6515 GB, free: 116 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.008949, allocations: 4 kB / 0.6515 GB, free: 112 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.877e-05/0.008998, allocations: 15.92 kB / 0.6515 GB, free: 96 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2622/0.2712, allocations: 197.7 kB / 0.6517 GB, free: 57.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.044e-05/0.2712, allocations: 18.67 kB / 0.6517 GB, free: 57.39 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.66e-05/0.2712, allocations: 9.641 kB / 0.6518 GB, free: 57.38 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.619e-05/0.2713, allocations: 8.703 kB / 0.6518 GB, free: 57.38 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.2714, allocations: 33.31 kB / 0.6518 GB, free: 57.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.753e-06/0.2714, allocations: 0 / 0.6518 GB, free: 57.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.000159/0.2715, allocations: 38.45 kB / 0.6518 GB, free: 57.31 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.873e-05/0.2715, allocations: 51.41 kB / 0.6519 GB, free: 57.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.427e-05/0.2716, allocations: 102.6 kB / 0.652 GB, free: 57.15 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.2716, allocations: 27.83 kB / 0.652 GB, free: 57.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.845e-05/0.2716, allocations: 87.83 kB / 0.6521 GB, free: 57.04 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.941e-06/0.2716, allocations: 9.609 kB / 0.6521 GB, free: 57.03 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.2717, allocations: 17.94 kB / 0.6521 GB, free: 57.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.048e-05/0.2717, allocations: 316.9 kB / 0.6524 GB, free: 56.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.552e-05/0.2717, allocations: 5.5 kB / 0.6524 GB, free: 56.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.579e-05/0.2718, allocations: 15.03 kB / 0.6524 GB, free: 56.69 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.192e-05/0.2718, allocations: 23.38 kB / 0.6525 GB, free: 56.67 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2718, allocations: 0 / 0.6525 GB, free: 56.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.312e-05/0.2719, allocations: 56.41 kB / 0.6525 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2719, allocations: 4.156 kB / 0.6525 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2719, allocations: 3.938 kB / 0.6525 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.2719, allocations: 4.312 kB / 0.6525 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.499e-05/0.2719, allocations: 3.469 kB / 0.6525 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.2719, allocations: 2.5 kB / 0.6525 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.145e-05/0.272, allocations: 4.031 kB / 0.6525 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.272, allocations: 0 / 0.6525 GB, free: 56.64 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.839e-05/0.272, allocations: 111.3 kB / 0.6526 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.2721, allocations: 2.109 kB / 0.6526 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.001e-05/0.2721, allocations: 132.9 kB / 0.6528 GB, free: 56.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/0.2722, allocations: 182.1 kB / 0.6529 GB, free: 56.22 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.308e-05/0.2722, allocations: 181.6 kB / 0.6531 GB, free: 56.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.258e-05/0.2722, allocations: 178.5 kB / 0.6533 GB, free: 55.86 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.2723, allocations: 359.4 kB / 0.6536 GB, free: 55.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-05/0.2723, allocations: 105.9 kB / 0.6537 GB, free: 55.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.324e-05/0.2724, allocations: 105.4 kB / 0.6538 GB, free: 55.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.188e-05/0.2724, allocations: 179.2 kB / 0.654 GB, free: 55.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.2724, allocations: 185.6 kB / 0.6542 GB, free: 54.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-05/0.2724, allocations: 186.7 kB / 0.6544 GB, free: 54.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.308e-05/0.2725, allocations: 180.4 kB / 0.6545 GB, free: 54.55 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.126e-05/0.2725, allocations: 306.7 kB / 0.6548 GB, free: 54.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.215e-05/0.2725, allocations: 107.7 kB / 0.6549 GB, free: 54.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.2726, allocations: 185 kB / 0.6551 GB, free: 53.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.2727, allocations: 110.8 kB / 0.6552 GB, free: 53.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.2727, allocations: 186.4 kB / 0.6554 GB, free: 53.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.2728, allocations: 101 kB / 0.6555 GB, free: 53.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.257e-05/0.2728, allocations: 88.58 kB / 0.6556 GB, free: 53.47 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2728, allocations: 0 / 0.6556 GB, free: 53.47 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002555/0.273, allocations: 15.47 kB / 0.6556 GB, free: 53.47 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.0001567/0.2732, allocations: 191.7 kB / 0.6558 GB, free: 53.31 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.694e-05/0.2733, allocations: 20.66 kB / 0.6558 GB, free: 53.31 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2733, allocations: 0 / 0.6558 GB, free: 53.31 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.2733, allocations: 0 / 0.6558 GB, free: 53.31 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.2736, allocations: 459.9 kB / 0.6562 GB, free: 52.86 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002331/0.2739, allocations: 182.2 kB / 0.6564 GB, free: 52.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.653e-05/0.2739, allocations: 61.38 kB / 0.6565 GB, free: 52.62 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.086e-05/0.2739, allocations: 6.094 kB / 0.6565 GB, free: 52.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.306e-05/0.274, allocations: 15.88 kB / 0.6565 GB, free: 52.62 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.274, allocations: 0 / 0.6565 GB, free: 52.62 MB / 0.5606 GB Notification: Performance of Templates: time 0.003148/0.2771, allocations: 0.6672 MB / 0.6571 GB, free: 52.59 MB / 0.5606 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: 5.789705574512482] Failed to read output from testmodel.py, exit status != 0: 0.28554346412420273 0.29539793099999995 0.284949433 Calling exit ...