Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001208/0.001208, allocations: 72.83 kB / 20.72 MB, free: 3.77 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.001268/0.001268, allocations: 169 kB / 24.14 MB, free: 360 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 1.031/1.031, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6202/0.6202, allocations: 115 MB / 376 MB, free: 7.484 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 428.7 MB, free: 2.844 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.714e-05, allocations: 6.25 kB / 428.7 MB, free: 2.836 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.3155/0.3155, allocations: 143.6 MB / 0.5588 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0001227/0.3156, allocations: 56.17 kB / 0.5589 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.614e-05/0.3157, allocations: 0 / 0.5589 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.3158, allocations: 4 kB / 0.5589 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.484e-05/0.3158, allocations: 11.91 kB / 0.5589 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006189/0.3165, allocations: 232.8 kB / 0.5591 GB, free: 5.949 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.917e-05/0.3165, allocations: 35.86 kB / 0.5591 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.433e-05/0.3166, allocations: 3.984 kB / 0.5591 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.514e-05/0.3166, allocations: 19.97 kB / 0.5592 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.778e-05/0.3167, allocations: 4 kB / 0.5592 GB, free: 5.887 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.3167, allocations: 4 kB / 0.5592 GB, free: 5.883 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002436/0.3169, allocations: 174.3 kB / 0.5593 GB, free: 5.715 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.157e-05/0.317, allocations: 11.98 kB / 0.5593 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.521e-05/0.317, allocations: 4 kB / 0.5594 GB, free: 5.699 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.3172, allocations: 119.7 kB / 0.5595 GB, free: 5.582 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3172, allocations: 0 / 0.5595 GB, free: 5.582 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.475e-06/0.3172, allocations: 0 / 0.5595 GB, free: 5.582 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.605e-06/0.3172, allocations: 0 / 0.5595 GB, free: 5.582 MB / 0.4948 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.0002907/0.3175, allocations: 236.5 kB / 0.5597 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.3175, allocations: 12.03 kB / 0.5597 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002477/0.3177, allocations: 41.52 kB / 0.5597 GB, free: 5.277 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.523e-05/0.3178, allocations: 104.5 kB / 0.5598 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.942e-05/0.3179, allocations: 59.91 kB / 0.5599 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.3179, allocations: 5.547 kB / 0.5599 GB, free: 5.078 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.318, allocations: 82.86 kB / 0.56 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.23e-06/0.318, allocations: 0 / 0.56 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.318, allocations: 0 / 0.56 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.318, allocations: 7.984 kB / 0.56 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.012e-05/0.318, allocations: 11.92 kB / 0.56 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001985/0.3182, allocations: 155.8 kB / 0.5602 GB, free: 4.793 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.743e-05/0.3183, allocations: 30.52 kB / 0.5602 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.122e-05/0.3183, allocations: 4.906 kB / 0.5602 GB, free: 4.746 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.361e-05/0.3183, allocations: 20.67 kB / 0.5602 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.3184, allocations: 30.56 kB / 0.5602 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3184, allocations: 0 / 0.5602 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001333/0.3185, allocations: 49.62 kB / 0.5603 GB, free: 4.633 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.3185, allocations: 55.39 kB / 0.5603 GB, free: 4.566 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.191e-05/0.3186, allocations: 110.6 kB / 0.5604 GB, free: 4.445 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.779e-06/0.3186, allocations: 25.7 kB / 0.5605 GB, free: 4.414 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.3189, allocations: 94.97 kB / 0.5606 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.921e-06/0.3189, allocations: 7.938 kB / 0.5606 GB, free: 4.312 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.119e-05/0.3189, allocations: 17.7 kB / 0.5606 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.43e-05/0.319, allocations: 310.8 kB / 0.5609 GB, free: 3.977 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.473e-06/0.319, allocations: 4 kB / 0.5609 GB, free: 3.973 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.826e-05/0.319, allocations: 23.33 kB / 0.5609 GB, free: 3.941 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.957e-05/0.319, allocations: 37.33 kB / 0.5609 GB, free: 3.895 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.319, allocations: 0 / 0.5609 GB, free: 3.895 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.772e-05/0.3191, allocations: 53.56 kB / 0.561 GB, free: 3.836 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.3191, allocations: 4 kB / 0.561 GB, free: 3.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3191, allocations: 0 / 0.561 GB, free: 3.832 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.3191, allocations: 4 kB / 0.561 GB, free: 3.828 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.338e-05/0.3191, allocations: 5.188 kB / 0.561 GB, free: 3.824 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.3191, allocations: 0 / 0.561 GB, free: 3.824 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.54e-05/0.3192, allocations: 4 kB / 0.561 GB, free: 3.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-06/0.3192, allocations: 0.8906 kB / 0.561 GB, free: 3.82 MB / 0.4948 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 4.906e-05/0.3192, allocations: 128.6 kB / 0.5611 GB, free: 3.684 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.3192, allocations: 8.031 kB / 0.5611 GB, free: 3.676 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.776e-05/0.3192, allocations: 3.312 kB / 0.5611 GB, free: 3.672 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3192, allocations: 7.938 kB / 0.5611 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.3192, allocations: 0 / 0.5611 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3192, allocations: 0 / 0.5611 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.3194, allocations: 271.8 kB / 0.5614 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3194, allocations: 1.188 kB / 0.5614 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.07e-05/0.3194, allocations: 4 kB / 0.5614 GB, free: 3.363 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.71e-07/0.3194, allocations: 0 / 0.5614 GB, free: 3.363 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.3194, allocations: 5.156 kB / 0.5614 GB, free: 3.359 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.3194, allocations: 4.062 kB / 0.5614 GB, free: 3.355 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3194, allocations: 4 kB / 0.5614 GB, free: 3.352 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.243e-05/0.3195, allocations: 61.94 kB / 0.5615 GB, free: 3.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.535e-06/0.3195, allocations: 15.86 kB / 0.5615 GB, free: 3.254 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.897e-06/0.3195, allocations: 4 kB / 0.5615 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.112e-05/0.3195, allocations: 4.5 kB / 0.5615 GB, free: 3.246 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.103e-05/0.3195, allocations: 4 kB / 0.5615 GB, free: 3.242 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-06/0.3195, allocations: 0 / 0.5615 GB, free: 3.242 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 1.049e-05/0.3195, allocations: 12.84 kB / 0.5615 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.3195, allocations: 0 / 0.5615 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of remove unused functions: time 9.899e-05/0.3196, allocations: 8.031 kB / 0.5615 GB, free: 3.219 MB / 0.4948 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.61e-05/0.3197, allocations: 83.05 kB / 0.5616 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 4.946e-05/0.3198, allocations: 24.8 kB / 0.5616 GB, free: 3.105 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.3198, allocations: 3.625 kB / 0.5616 GB, free: 3.105 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.405e-06/0.3198, allocations: 8.859 kB / 0.5616 GB, free: 3.094 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001063/0.3199, allocations: 16.23 kB / 0.5617 GB, free: 3.078 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003214/0.3202, allocations: 134.8 kB / 0.5618 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.536e-05/0.3203, allocations: 54.62 kB / 0.5618 GB, free: 2.852 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.234e-05/0.3203, allocations: 11.52 kB / 0.5619 GB, free: 2.844 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.35e-05/0.3203, allocations: 63.34 kB / 0.5619 GB, free: 2.781 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/0.3203, allocations: 0 / 0.5619 GB, free: 2.781 MB / 0.4948 GB Notification: Performance of Templates: time 0.002111/0.3225, allocations: 0.7732 MB / 0.5627 GB, free: 2.059 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5170645341277122]