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.001363/0.001363, allocations: 92.7 kB / 19.44 MB, free: 320 kB / 13.93 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.001494/0.001494, allocations: 161.3 kB / 22.75 MB, free: 1.652 MB / 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.474/1.474, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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.002641/0.002641, allocations: 230.7 kB / 259.8 MB, free: 12.85 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 1.078/1.078, allocations: 138.5 MB / 454.7 MB, free: 1.469 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.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.272e-06/1.272e-06, allocations: 0 / 0.5543 GB, free: 0.875 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.435e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.3548/0.3548, allocations: 130.4 MB / 0.6816 GB, free: 21.23 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001204/0.355, allocations: 48.17 kB / 0.6817 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.473e-05/0.355, allocations: 3.938 kB / 0.6817 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.3551, allocations: 6.656 kB / 0.6817 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.109e-05/0.3552, allocations: 18.62 kB / 0.6817 GB, free: 21.18 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006993/0.3559, allocations: 217.2 kB / 0.6819 GB, free: 21.03 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.296e-05/0.356, allocations: 30.45 kB / 0.6819 GB, free: 21.02 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 2.89e-05/0.356, allocations: 3.984 kB / 0.6819 GB, free: 21.02 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.397e-05/0.356, allocations: 22.5 kB / 0.682 GB, free: 21 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.913e-05/0.3561, allocations: 16.22 kB / 0.682 GB, free: 21 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.3561, allocations: 0 / 0.682 GB, free: 21 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003413/0.3564, allocations: 162.5 kB / 0.6821 GB, free: 20.9 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.255e-05/0.3565, allocations: 14.05 kB / 0.6821 GB, free: 20.89 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.3565, allocations: 4.969 kB / 0.6821 GB, free: 20.89 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.3567, allocations: 112 kB / 0.6823 GB, free: 20.84 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3567, allocations: 0 / 0.6823 GB, free: 20.84 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3567, allocations: 0 / 0.6823 GB, free: 20.84 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.3567, allocations: 3.938 kB / 0.6823 GB, free: 20.83 MB / 0.5105 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.0003286/0.3571, allocations: 269.3 kB / 0.6825 GB, free: 20.56 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.3571, allocations: 16.28 kB / 0.6825 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003556/0.3575, allocations: 43.88 kB / 0.6826 GB, free: 20.53 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.949e-05/0.3575, allocations: 104.1 kB / 0.6827 GB, free: 20.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.896e-05/0.3576, allocations: 51.97 kB / 0.6827 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.3576, allocations: 2.875 kB / 0.6827 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.3577, allocations: 76.61 kB / 0.6828 GB, free: 20.27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.3577, allocations: 0 / 0.6828 GB, free: 20.27 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.3577, allocations: 0 / 0.6828 GB, free: 20.27 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.3577, allocations: 11.08 kB / 0.6828 GB, free: 20.26 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.354e-05/0.3578, allocations: 25.36 kB / 0.6828 GB, free: 20.25 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.3581, allocations: 204.8 kB / 0.683 GB, free: 20.03 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.557e-05/0.3581, allocations: 16.77 kB / 0.683 GB, free: 20.01 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.801e-05/0.3581, allocations: 11.86 kB / 0.6831 GB, free: 20 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/0.3583, allocations: 17.14 kB / 0.6831 GB, free: 19.99 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.3583, allocations: 31.5 kB / 0.6831 GB, free: 19.95 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.3583, allocations: 4 kB / 0.6831 GB, free: 19.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002386/0.3585, allocations: 53.25 kB / 0.6832 GB, free: 19.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.695e-05/0.3585, allocations: 51.41 kB / 0.6832 GB, free: 19.84 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.664e-05/0.3586, allocations: 110.1 kB / 0.6833 GB, free: 19.73 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.3586, allocations: 25.7 kB / 0.6833 GB, free: 19.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.741e-05/0.3586, allocations: 88.03 kB / 0.6834 GB, free: 19.61 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.064e-06/0.3586, allocations: 10.67 kB / 0.6834 GB, free: 19.61 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.3587, allocations: 11.91 kB / 0.6834 GB, free: 19.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.65e-05/0.3587, allocations: 325.5 kB / 0.6837 GB, free: 19.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.588e-05/0.3587, allocations: 3.031 kB / 0.6838 GB, free: 19.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.091e-05/0.3587, allocations: 23.86 kB / 0.6838 GB, free: 19.24 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.684e-05/0.3588, allocations: 34.66 kB / 0.6838 GB, free: 19.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.3588, allocations: 0 / 0.6838 GB, free: 19.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.338e-05/0.3588, allocations: 51.95 kB / 0.6839 GB, free: 19.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3589, allocations: 9.562 kB / 0.6839 GB, free: 19.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3589, allocations: 3.984 kB / 0.6839 GB, free: 19.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3589, allocations: 6.969 kB / 0.6839 GB, free: 19.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.734e-05/0.3589, allocations: 12.34 kB / 0.6839 GB, free: 19.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3589, allocations: 1.016 kB / 0.6839 GB, free: 19.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.956e-05/0.359, allocations: 2.75 kB / 0.6839 GB, free: 19.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.359, allocations: 2.781 kB / 0.6839 GB, free: 19.15 MB / 0.5105 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.275e-05/0.359, allocations: 116.5 kB / 0.684 GB, free: 19.03 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.3591, allocations: 0 / 0.684 GB, free: 19.03 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.992e-05/0.3591, allocations: 9.719 kB / 0.684 GB, free: 19.02 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3591, allocations: 4.266 kB / 0.684 GB, free: 19.02 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3591, allocations: 0 / 0.684 GB, free: 19.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.3591, allocations: 0 / 0.684 GB, free: 19.02 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.3593, allocations: 318.9 kB / 0.6843 GB, free: 18.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3593, allocations: 3.984 kB / 0.6843 GB, free: 18.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.584e-05/0.3593, allocations: 3.125 kB / 0.6843 GB, free: 18.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3593, allocations: 0 / 0.6843 GB, free: 18.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.3593, allocations: 6.781 kB / 0.6843 GB, free: 18.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3593, allocations: 0 / 0.6843 GB, free: 18.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3593, allocations: 0 / 0.6843 GB, free: 18.67 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.985e-05/0.3594, allocations: 75.33 kB / 0.6844 GB, free: 18.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-06/0.3594, allocations: 3.938 kB / 0.6844 GB, free: 18.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.3594, allocations: 6.281 kB / 0.6844 GB, free: 18.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.404e-05/0.3595, allocations: 6.984 kB / 0.6844 GB, free: 18.58 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.3595, allocations: 0 / 0.6844 GB, free: 18.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.3595, allocations: 5.906 kB / 0.6844 GB, free: 18.57 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.035e-05/0.3595, allocations: 78.59 kB / 0.6845 GB, free: 18.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3595, allocations: 0 / 0.6845 GB, free: 18.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002049/0.3597, allocations: 12.09 kB / 0.6845 GB, free: 18.5 MB / 0.5105 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.277e-05/0.3598, allocations: 98.67 kB / 0.6846 GB, free: 18.41 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.335e-05/0.3599, allocations: 19.06 kB / 0.6846 GB, free: 18.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3599, allocations: 0 / 0.6846 GB, free: 18.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.083e-05/0.3599, allocations: 6.25 kB / 0.6846 GB, free: 18.39 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.3602, allocations: 12.86 kB / 0.6846 GB, free: 18.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000233/0.3604, allocations: 122.6 kB / 0.6848 GB, free: 18.26 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.149e-05/0.3605, allocations: 72.5 kB / 0.6848 GB, free: 18.18 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.785e-05/0.3605, allocations: 5.75 kB / 0.6848 GB, free: 18.18 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/0.3605, allocations: 8.5 kB / 0.6848 GB, free: 18.17 MB / 0.5105 GB Notification: Performance of SimCode: time 3.61e-07/0.3605, allocations: 2.625 kB / 0.6848 GB, free: 18.17 MB / 0.5105 GB Notification: Performance of Templates: time 0.003044/0.3636, allocations: 0.6958 MB / 0.6855 GB, free: 17.84 MB / 0.5105 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.829335349029861]