Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion") translateModel(Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5846/0.5846, allocations: 95.61 MB / 110.6 MB, free: 9.383 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001127/0.001127, allocations: 169.9 kB / 134.2 MB, free: 2.258 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.49/1.49, allocations: 170.7 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001699/0.001699, allocations: 91.47 kB / 390.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004146/0.0004147, allocations: 11.98 kB / 462.7 MB, free: 35.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1549, allocations: 61.52 MB / 0.512 GB, free: 6.102 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.82/14.97, allocations: 5.17 GB / 5.682 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/14.97, allocations: 79.7 kB / 5.682 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1296/15.1, allocations: 70.72 MB / 5.751 GB, free: 62.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.973e-06/15.1, allocations: 0 / 5.751 GB, free: 62.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.983e-06/15.1, allocations: 0 / 5.751 GB, free: 62.1 MB / 0.5261 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.0005582/15.1, allocations: 423.1 kB / 5.752 GB, free: 61.64 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/15.1, allocations: 15.98 kB / 5.752 GB, free: 61.62 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/15.1, allocations: 0 / 5.752 GB, free: 61.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.588e-05/15.1, allocations: 163 kB / 5.752 GB, free: 61.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.761e-05/15.1, allocations: 37.62 kB / 5.752 GB, free: 61.38 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/15.1, allocations: 0 / 5.752 GB, free: 61.38 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/15.1, allocations: 61.61 kB / 5.752 GB, free: 61.32 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/15.1, allocations: 0 / 5.752 GB, free: 61.32 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/15.1, allocations: 4 kB / 5.752 GB, free: 61.31 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/15.1, allocations: 0 / 5.752 GB, free: 61.31 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.038e-05/15.1, allocations: 19.98 kB / 5.752 GB, free: 61.29 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/15.1, allocations: 265.5 kB / 5.752 GB, free: 60.98 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.227e-05/15.1, allocations: 18.52 kB / 5.752 GB, free: 60.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/15.1, allocations: 4.062 kB / 5.752 GB, free: 60.95 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/15.1, allocations: 34.56 kB / 5.752 GB, free: 60.91 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/15.1, allocations: 0 / 5.752 GB, free: 60.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001399/15.1, allocations: 37.69 kB / 5.753 GB, free: 60.87 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/15.1, allocations: 55.34 kB / 5.753 GB, free: 60.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.343e-05/15.1, allocations: 96.98 kB / 5.753 GB, free: 60.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/15.1, allocations: 25.7 kB / 5.753 GB, free: 60.67 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.202e-05/15.1, allocations: 95.98 kB / 5.753 GB, free: 60.57 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.452e-06/15.1, allocations: 3.906 kB / 5.753 GB, free: 60.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/15.1, allocations: 0 / 5.753 GB, free: 60.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.497e-05/15.1, allocations: 315 kB / 5.753 GB, free: 60.25 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.317e-05/15.1, allocations: 4 kB / 5.753 GB, free: 60.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.972e-05/15.1, allocations: 30.5 kB / 5.753 GB, free: 60.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.048e-05/15.1, allocations: 8 kB / 5.753 GB, free: 60.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/15.1, allocations: 0 / 5.753 GB, free: 60.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.924e-05/15.1, allocations: 61.58 kB / 5.753 GB, free: 60.13 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/15.1, allocations: 4 kB / 5.753 GB, free: 60.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/15.1, allocations: 4 kB / 5.753 GB, free: 60.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/15.1, allocations: 0 / 5.753 GB, free: 60.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.739e-05/15.1, allocations: 7.984 kB / 5.753 GB, free: 60.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/15.1, allocations: 7.938 kB / 5.753 GB, free: 60.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.288e-05/15.1, allocations: 4 kB / 5.753 GB, free: 60.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/15.1, allocations: 4 kB / 5.753 GB, free: 60.1 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.42e-05/15.1, allocations: 105.8 kB / 5.753 GB, free: 59.99 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/15.1, allocations: 12.05 kB / 5.753 GB, free: 59.98 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/15.1, allocations: 128.8 kB / 5.753 GB, free: 59.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.104e-05/15.1, allocations: 180.2 kB / 5.754 GB, free: 59.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-05/15.1, allocations: 180.2 kB / 5.754 GB, free: 59.48 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.174e-05/15.1, allocations: 183 kB / 5.754 GB, free: 59.29 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/15.1, allocations: 409.2 kB / 5.754 GB, free: 58.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/15.1, allocations: 101 kB / 5.754 GB, free: 58.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.978e-05/15.1, allocations: 112.9 kB / 5.755 GB, free: 58.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.02e-05/15.1, allocations: 180.2 kB / 5.755 GB, free: 58.43 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.39e-05/15.1, allocations: 180.2 kB / 5.755 GB, free: 58.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.134e-05/15.1, allocations: 180.3 kB / 5.755 GB, free: 58.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-05/15.1, allocations: 188.3 kB / 5.755 GB, free: 57.87 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.283e-05/15.1, allocations: 303.8 kB / 5.756 GB, free: 57.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/15.1, allocations: 186 kB / 5.756 GB, free: 57.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/15.1, allocations: 184.2 kB / 5.756 GB, free: 57.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.62e-05/15.1, allocations: 109 kB / 5.756 GB, free: 57.04 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/15.1, allocations: 180.2 kB / 5.756 GB, free: 56.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/15.1, allocations: 105.3 kB / 5.756 GB, free: 56.75 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.135e-05/15.1, allocations: 91.27 kB / 5.756 GB, free: 56.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/15.1, allocations: 0 / 5.756 GB, free: 56.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006174/15.11, allocations: 159.8 kB / 5.757 GB, free: 56.5 MB / 0.5261 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001184/15.11, allocations: 0.8331 MB / 5.757 GB, free: 55.66 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.355e-05/15.11, allocations: 19.92 kB / 5.757 GB, free: 55.64 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/15.11, allocations: 0 / 5.757 GB, free: 55.64 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/15.11, allocations: 0 / 5.757 GB, free: 55.64 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/15.11, allocations: 0.5185 MB / 5.758 GB, free: 55.12 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002413/15.11, allocations: 200 kB / 5.758 GB, free: 54.89 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/15.11, allocations: 0.677 MB / 5.759 GB, free: 54.19 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.853e-05/15.11, allocations: 12 kB / 5.759 GB, free: 54.18 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.752e-05/15.11, allocations: 11.44 kB / 5.759 GB, free: 54.17 MB / 0.5261 GB Notification: Performance of SimCode: time 2.41e-07/15.11, allocations: 0 / 5.759 GB, free: 54.17 MB / 0.5261 GB Notification: Performance of Templates: time 0.01219/15.12, allocations: 9.735 MB / 5.768 GB, free: 44.43 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.pipe 2>&1)