Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.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.0006917/0.0006917, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009882/0.00168, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006963/0.0006963, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009745/0.001671, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9662/0.9662, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0749/1.041, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001244/0.001244, allocations: 222.6 kB / 244.4 MB, free: 14.55 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009881/0.002232, allocations: 483.6 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7449/0.7449, allocations: 138.7 MB / 384.3 MB, free: 372 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08699/0.8318, allocations: 42.4 MB / 426.7 MB, free: 5.84 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 428 MB, free: 4.52 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.059e-05, allocations: 2.312 kB / 428 MB, free: 4.516 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.3492/0.3492, allocations: 144 MB / 0.5586 GB, free: 448 kB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0001843/0.3494, allocations: 63.31 kB / 0.5587 GB, free: 388 kB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.18e-05/0.3494, allocations: 0 / 0.5587 GB, free: 388 kB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.3495, allocations: 4 kB / 0.5587 GB, free: 384 kB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 9.197e-05/0.3496, allocations: 18.81 kB / 0.5587 GB, free: 368 kB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007892/0.3504, allocations: 217.5 kB / 0.5589 GB, free: 160 kB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.3505, allocations: 39.84 kB / 0.559 GB, free: 120 kB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 5.589e-05/0.3506, allocations: 0 / 0.559 GB, free: 120 kB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 8.43e-05/0.3507, allocations: 23.98 kB / 0.559 GB, free: 96 kB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.976e-05/0.3508, allocations: 19.91 kB / 0.559 GB, free: 76 kB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.3508, allocations: 0 / 0.559 GB, free: 76 kB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003331/0.3511, allocations: 167.4 kB / 0.5592 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 4.89e-05/0.3511, allocations: 7.938 kB / 0.5592 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.3512, allocations: 8.625 kB / 0.5592 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.3514, allocations: 94.03 kB / 0.5593 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.202e-05/0.3514, allocations: 0 / 0.5593 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3514, allocations: 0 / 0.5593 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.3514, allocations: 0 / 0.5593 GB, free: 15.8 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003133/0.3517, allocations: 260.1 kB / 0.5595 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.3517, allocations: 12.75 kB / 0.5595 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002978/0.352, allocations: 115.8 kB / 0.5596 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.028e-05/0.3521, allocations: 109.7 kB / 0.5598 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.379e-05/0.3522, allocations: 55.97 kB / 0.5598 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.3522, allocations: 384 / 0.5598 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.3523, allocations: 90.8 kB / 0.5599 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.3523, allocations: 0 / 0.5599 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.3523, allocations: 0 / 0.5599 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.3523, allocations: 4 kB / 0.5599 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.803e-05/0.3523, allocations: 11.98 kB / 0.5599 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.3525, allocations: 158 kB / 0.5601 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.325e-05/0.3526, allocations: 26.45 kB / 0.5601 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.081e-05/0.3526, allocations: 8.922 kB / 0.5601 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.741e-05/0.3527, allocations: 21.77 kB / 0.5601 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.3527, allocations: 31.38 kB / 0.5601 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.3527, allocations: 4 kB / 0.5601 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001471/0.3528, allocations: 41.69 kB / 0.5602 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.3529, allocations: 55.41 kB / 0.5602 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.238e-05/0.3529, allocations: 108.9 kB / 0.5603 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.3529, allocations: 25.7 kB / 0.5604 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/0.353, allocations: 84.09 kB / 0.5604 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.436e-06/0.353, allocations: 19.83 kB / 0.5605 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.272e-05/0.353, allocations: 13.72 kB / 0.5605 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.04e-05/0.3531, allocations: 318.8 kB / 0.5608 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.237e-06/0.3531, allocations: 8.125 kB / 0.5608 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.775e-05/0.3531, allocations: 18.58 kB / 0.5608 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.014e-05/0.3532, allocations: 29.39 kB / 0.5608 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3532, allocations: 0 / 0.5608 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.299e-05/0.3532, allocations: 57.5 kB / 0.5609 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.3532, allocations: 4 kB / 0.5609 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.3532, allocations: 4.562 kB / 0.5609 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3532, allocations: 8.031 kB / 0.5609 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.036e-05/0.3533, allocations: 4 kB / 0.5609 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.3533, allocations: 4 kB / 0.5609 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.553e-05/0.3533, allocations: 0 / 0.5609 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.3533, allocations: 4.688 kB / 0.5609 GB, free: 13.92 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.146e-05/0.3534, allocations: 108.7 kB / 0.561 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.3534, allocations: 11.92 kB / 0.561 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.255e-05/0.3534, allocations: 8.062 kB / 0.561 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3534, allocations: 0 / 0.561 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.3534, allocations: 0 / 0.561 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3534, allocations: 4 kB / 0.561 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.3536, allocations: 281.9 kB / 0.5613 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3536, allocations: 0 / 0.5613 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.235e-05/0.3536, allocations: 4 kB / 0.5613 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-06/0.3536, allocations: 7.5 kB / 0.5613 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3536, allocations: 0.9375 kB / 0.5613 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-06/0.3536, allocations: 0 / 0.5613 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.3536, allocations: 0 / 0.5613 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3536, allocations: 7.922 kB / 0.5613 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.565e-05/0.3537, allocations: 70 kB / 0.5614 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.727e-06/0.3537, allocations: 0 / 0.5614 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.293e-05/0.3537, allocations: 7.984 kB / 0.5614 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.919e-06/0.3537, allocations: 0 / 0.5614 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-06/0.3537, allocations: 0 / 0.5614 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.106e-05/0.3537, allocations: 10.31 kB / 0.5614 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.3537, allocations: 0 / 0.5614 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of remove unused functions: time 9.97e-05/0.3538, allocations: 12 kB / 0.5614 GB, free: 13.34 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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 9.508e-05/0.3539, allocations: 88.42 kB / 0.5615 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 5.111e-05/0.354, allocations: 24.73 kB / 0.5615 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.354, allocations: 0 / 0.5615 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.462e-05/0.354, allocations: 8.859 kB / 0.5615 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.3541, allocations: 60.23 kB / 0.5616 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006563/0.3548, allocations: 133.9 kB / 0.5617 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.935e-05/0.3548, allocations: 55.34 kB / 0.5618 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.821e-05/0.3548, allocations: 4 kB / 0.5618 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.055e-05/0.3549, allocations: 67.34 kB / 0.5619 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of SimCode: time 5.11e-07/0.3549, allocations: 0 / 0.5619 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of Templates: time 0.002443/0.3574, allocations: 0.7996 MB / 0.5626 GB, free: 12.1 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5301798842847347]