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.001019/0.001019, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001411/0.00243, allocations: 435.8 kB / 10.33 MB, free: 368 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.001189/0.001189, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001698/0.002887, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9994/0.9994, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09875/1.098, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.001729/0.001729, allocations: 241.5 kB / 244.2 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003957/0.005686, allocations: 463.5 kB / 244.7 MB, free: 14.16 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.6826/0.6826, allocations: 138.7 MB / 384.1 MB, free: 476 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06793/0.7506, allocations: 42.4 MB / 426.5 MB, free: 5.938 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.563e-06/1.563e-06, allocations: 0 / 427.8 MB, free: 4.641 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.235e-05, allocations: 2.312 kB / 427.8 MB, free: 4.637 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.3726/0.3726, allocations: 144 MB / 0.5584 GB, free: 0.5625 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0001544/0.3728, allocations: 55.38 kB / 0.5584 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.755e-05/0.3728, allocations: 0 / 0.5584 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 9.376e-05/0.3729, allocations: 3.938 kB / 0.5584 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.102e-05/0.373, allocations: 14.88 kB / 0.5584 GB, free: 0.4961 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00076/0.3737, allocations: 225.5 kB / 0.5587 GB, free: 292 kB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 9.814e-05/0.3738, allocations: 35.84 kB / 0.5587 GB, free: 256 kB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.044e-05/0.3739, allocations: 0 / 0.5587 GB, free: 256 kB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 7.578e-05/0.374, allocations: 23.98 kB / 0.5587 GB, free: 232 kB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.656e-05/0.374, allocations: 15.91 kB / 0.5587 GB, free: 216 kB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.3741, allocations: 0 / 0.5587 GB, free: 216 kB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004203/0.3745, allocations: 171.4 kB / 0.5589 GB, free: 44 kB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.123e-05/0.3745, allocations: 4 kB / 0.5589 GB, free: 40 kB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.3745, allocations: 8 kB / 0.5589 GB, free: 32 kB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.3748, allocations: 98.17 kB / 0.559 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-05/0.3748, allocations: 3.938 kB / 0.559 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3748, allocations: 0 / 0.559 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.725e-05/0.3748, allocations: 0 / 0.559 GB, free: 15.93 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.0004009/0.3752, allocations: 252.2 kB / 0.5592 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.3753, allocations: 12.75 kB / 0.5593 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000371/0.3757, allocations: 115.3 kB / 0.5594 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.632e-05/0.3757, allocations: 109.8 kB / 0.5595 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.981e-05/0.3758, allocations: 59.91 kB / 0.5595 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.3758, allocations: 5.453 kB / 0.5595 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.376, allocations: 82.86 kB / 0.5596 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.376, allocations: 0 / 0.5596 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.376, allocations: 0 / 0.5596 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/0.376, allocations: 4 kB / 0.5596 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.853e-05/0.376, allocations: 9.016 kB / 0.5596 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002555/0.3763, allocations: 161.9 kB / 0.5598 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.97e-05/0.3763, allocations: 26.45 kB / 0.5598 GB, free: 15 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.332e-05/0.3763, allocations: 12.92 kB / 0.5598 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.3764, allocations: 20.61 kB / 0.5598 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.3765, allocations: 30.56 kB / 0.5599 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.3765, allocations: 0 / 0.5599 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002101/0.3767, allocations: 41.69 kB / 0.5599 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.3767, allocations: 59.34 kB / 0.56 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.642e-05/0.3768, allocations: 110.3 kB / 0.5601 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.3768, allocations: 29.7 kB / 0.5601 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.891e-05/0.3769, allocations: 92.22 kB / 0.5602 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.829e-06/0.3769, allocations: 7.891 kB / 0.5602 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.3769, allocations: 13.72 kB / 0.5602 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.377, allocations: 318.8 kB / 0.5605 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.337e-06/0.377, allocations: 4 kB / 0.5605 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.324e-05/0.377, allocations: 18.58 kB / 0.5605 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.94e-05/0.3771, allocations: 37.95 kB / 0.5606 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3771, allocations: 0 / 0.5606 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.066e-05/0.3772, allocations: 53.52 kB / 0.5606 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3772, allocations: 7.984 kB / 0.5606 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3772, allocations: 0 / 0.5606 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.3772, allocations: 4 kB / 0.5606 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.833e-05/0.3773, allocations: 4.688 kB / 0.5606 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3773, allocations: 4 kB / 0.5606 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.514e-05/0.3773, allocations: 0 / 0.5606 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.3773, allocations: 0 / 0.5606 GB, free: 14.06 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 7.457e-05/0.3774, allocations: 116.7 kB / 0.5608 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.3774, allocations: 8.031 kB / 0.5608 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.056e-05/0.3774, allocations: 11.3 kB / 0.5608 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3774, allocations: 1.219 kB / 0.5608 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3774, allocations: 1.125 kB / 0.5608 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3774, allocations: 0 / 0.5608 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.3777, allocations: 279.7 kB / 0.561 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3777, allocations: 0 / 0.561 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.362e-05/0.3777, allocations: 4 kB / 0.561 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.3777, allocations: 0 / 0.561 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3777, allocations: 7.938 kB / 0.561 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-06/0.3777, allocations: 4.062 kB / 0.5611 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3777, allocations: 2.062 kB / 0.5611 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3777, allocations: 0 / 0.5611 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.386e-05/0.3778, allocations: 69.92 kB / 0.5611 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.3778, allocations: 0 / 0.5611 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.536e-05/0.3779, allocations: 7.984 kB / 0.5611 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.274e-05/0.3779, allocations: 4 kB / 0.5611 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.3779, allocations: 0 / 0.5611 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.571e-05/0.3779, allocations: 10.64 kB / 0.5611 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.3779, allocations: 0 / 0.5611 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001655/0.3781, allocations: 12.03 kB / 0.5612 GB, free: 13.47 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 0.0001228/0.3782, allocations: 84.34 kB / 0.5612 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.597e-05/0.3782, allocations: 16.84 kB / 0.5613 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/0.3783, allocations: 7.625 kB / 0.5613 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.668e-06/0.3783, allocations: 8.797 kB / 0.5613 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.3784, allocations: 28.23 kB / 0.5613 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009558/0.3794, allocations: 141.5 kB / 0.5614 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.405e-05/0.3794, allocations: 51.36 kB / 0.5615 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.832e-05/0.3795, allocations: 8 kB / 0.5615 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.135e-05/0.3796, allocations: 63.34 kB / 0.5615 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of SimCode: time 1.092e-06/0.3796, allocations: 0 / 0.5615 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of Templates: time 0.003056/0.3826, allocations: 0.8291 MB / 0.5624 GB, free: 12.25 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.6066559618338943]