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.001417/0.001417, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001069/0.001069, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 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 0.9909/0.9909, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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.001626/0.001626, allocations: 245.7 kB / 261.3 MB, free: 12.66 MB / 250.7 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 0.7724/0.7724, allocations: 138.4 MB / 456.3 MB, free: 1.375 MB / 362.7 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 1.533e-06/1.533e-06, allocations: 0 / 0.5563 GB, free: 260 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.24e-05/1.394e-05, allocations: 6.25 kB / 0.5563 GB, free: 252 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00403/0.004044, allocations: 4.145 MB / 0.5604 GB, free: 12.07 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001259/0.00417, allocations: 159.4 kB / 0.5605 GB, free: 11.92 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.524e-05/0.004195, allocations: 0 / 0.5605 GB, free: 11.92 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.443e-05/0.00429, allocations: 3.938 kB / 0.5605 GB, free: 11.91 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.09e-05/0.004361, allocations: 19.97 kB / 0.5606 GB, free: 11.89 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.004625, allocations: 91.56 kB / 0.5606 GB, free: 11.8 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.7e-05/0.004692, allocations: 35.84 kB / 0.5607 GB, free: 11.77 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.42e-05/0.004726, allocations: 7.984 kB / 0.5607 GB, free: 11.76 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.181e-05/0.004768, allocations: 15.98 kB / 0.5607 GB, free: 11.75 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.078e-05/0.004829, allocations: 11.92 kB / 0.5607 GB, free: 11.73 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.00484, allocations: 4 kB / 0.5607 GB, free: 11.73 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.004967, allocations: 59.8 kB / 0.5608 GB, free: 11.67 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.104e-05/0.005008, allocations: 11.92 kB / 0.5608 GB, free: 11.66 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.495e-05/0.005023, allocations: 11.94 kB / 0.5608 GB, free: 11.65 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.005128, allocations: 55.92 kB / 0.5609 GB, free: 11.59 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.00513, allocations: 0 / 0.5609 GB, free: 11.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.005131, allocations: 0 / 0.5609 GB, free: 11.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.005135, allocations: 0 / 0.5609 GB, free: 11.59 MB / 490.7 MB 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.0002772/0.005412, allocations: 368.5 kB / 0.5612 GB, free: 11.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.005442, allocations: 16.69 kB / 0.5612 GB, free: 11.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.00547, allocations: 0.9375 kB / 0.5612 GB, free: 11.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.084e-05/0.005541, allocations: 112.6 kB / 0.5613 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.487e-05/0.005586, allocations: 51.97 kB / 0.5614 GB, free: 10.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.005594, allocations: 4.375 kB / 0.5614 GB, free: 10.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.169e-05/0.005686, allocations: 76.59 kB / 0.5615 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.005693, allocations: 192 / 0.5615 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.005701, allocations: 3.938 kB / 0.5615 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.005722, allocations: 4 kB / 0.5615 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.131e-05/0.005743, allocations: 15.97 kB / 0.5615 GB, free: 10.87 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002524/0.005995, allocations: 236.5 kB / 0.5617 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.085e-05/0.006026, allocations: 31 kB / 0.5617 GB, free: 10.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.019e-05/0.006036, allocations: 11.69 kB / 0.5617 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.006069, allocations: 12.05 kB / 0.5618 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.006089, allocations: 37.33 kB / 0.5618 GB, free: 10.49 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.00609, allocations: 0 / 0.5618 GB, free: 10.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 9.307e-05/0.006183, allocations: 37.66 kB / 0.5618 GB, free: 10.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.006206, allocations: 55.41 kB / 0.5619 GB, free: 10.38 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.422e-05/0.006271, allocations: 157.9 kB / 0.562 GB, free: 10.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.006282, allocations: 25.7 kB / 0.5621 GB, free: 10.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.506e-05/0.006327, allocations: 142.8 kB / 0.5622 GB, free: 10.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.845e-06/0.006335, allocations: 4.125 kB / 0.5622 GB, free: 10.03 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.00636, allocations: 23.38 kB / 0.5622 GB, free: 10 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.006457, allocations: 496.1 kB / 0.5627 GB, free: 9.504 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.572e-06/0.006464, allocations: 4 kB / 0.5627 GB, free: 9.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.428e-05/0.006478, allocations: 15.38 kB / 0.5627 GB, free: 9.477 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.652e-05/0.006504, allocations: 27.36 kB / 0.5627 GB, free: 9.441 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.006506, allocations: 0 / 0.5627 GB, free: 9.441 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.97e-05/0.006556, allocations: 57.52 kB / 0.5628 GB, free: 9.379 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.006567, allocations: 11.19 kB / 0.5628 GB, free: 9.371 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.006571, allocations: 0 / 0.5628 GB, free: 9.371 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.00658, allocations: 4 kB / 0.5628 GB, free: 9.367 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.616e-05/0.006607, allocations: 7.984 kB / 0.5628 GB, free: 9.359 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.006609, allocations: 0 / 0.5628 GB, free: 9.359 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.179e-05/0.006621, allocations: 3.938 kB / 0.5628 GB, free: 9.355 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.006627, allocations: 4 kB / 0.5628 GB, free: 9.352 MB / 490.7 MB 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 5.386e-05/0.006681, allocations: 156.5 kB / 0.563 GB, free: 9.188 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.0067, allocations: 11.88 kB / 0.563 GB, free: 9.176 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.006809, allocations: 171.7 kB / 0.5631 GB, free: 8.996 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.936e-05/0.006878, allocations: 268.1 kB / 0.5634 GB, free: 8.727 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-05/0.006945, allocations: 268 kB / 0.5637 GB, free: 8.457 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-05/0.007003, allocations: 264.2 kB / 0.5639 GB, free: 8.191 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.007172, allocations: 492.5 kB / 0.5644 GB, free: 7.676 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000304/0.007476, allocations: 148.9 kB / 0.5645 GB, free: 7.523 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.927e-05/0.007505, allocations: 144.9 kB / 0.5647 GB, free: 7.375 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-05/0.007561, allocations: 272 kB / 0.5649 GB, free: 7.102 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.343e-05/0.007614, allocations: 268.1 kB / 0.5652 GB, free: 6.832 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.271e-05/0.007677, allocations: 272 kB / 0.5654 GB, free: 6.559 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.424e-05/0.007731, allocations: 268.1 kB / 0.5657 GB, free: 6.289 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.007862, allocations: 452 kB / 0.5661 GB, free: 5.82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.007899, allocations: 152.8 kB / 0.5663 GB, free: 5.664 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.307e-05/0.007962, allocations: 280 kB / 0.5665 GB, free: 5.383 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.63e-05/0.008059, allocations: 148.8 kB / 0.5667 GB, free: 5.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.008117, allocations: 272 kB / 0.5669 GB, free: 4.957 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.008146, allocations: 144.9 kB / 0.5671 GB, free: 4.809 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.84e-05/0.008184, allocations: 127.2 kB / 0.5672 GB, free: 4.684 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008184, allocations: 0 / 0.5672 GB, free: 4.684 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001881/0.008372, allocations: 15.94 kB / 0.5672 GB, free: 4.668 MB / 490.7 MB 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.0001434/0.008516, allocations: 234.4 kB / 0.5674 GB, free: 4.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.298e-05/0.008579, allocations: 23.61 kB / 0.5675 GB, free: 4.402 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.00858, allocations: 0 / 0.5675 GB, free: 4.402 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.72e-07/0.008581, allocations: 0 / 0.5675 GB, free: 4.402 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.008919, allocations: 0.7139 MB / 0.5682 GB, free: 3.684 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003253/0.009244, allocations: 229.7 kB / 0.5684 GB, free: 3.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.281e-05/0.009277, allocations: 63.16 kB / 0.5684 GB, free: 3.348 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.707e-05/0.009304, allocations: 12.11 kB / 0.5684 GB, free: 3.336 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.149e-05/0.009365, allocations: 82.17 kB / 0.5685 GB, free: 3.254 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009366, allocations: 0 / 0.5685 GB, free: 3.254 MB / 490.7 MB Notification: Performance of Templates: time 0.002014/0.01138, allocations: 0.7369 MB / 0.5692 GB, free: 2.523 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7567168809473515]