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.5932/0.5932, allocations: 94.7 MB / 107.3 MB, free: 5.172 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.001247/0.001247, allocations: 175.1 kB / 130.7 MB, free: 7.551 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.726/1.726, allocations: 170.5 MB / 324.5 MB, free: 4.047 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.001783/0.001784, allocations: 112.7 kB / 386.6 MB, free: 16.26 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.797e-05/4.801e-05, allocations: 4 kB / 456 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5799/0.5799, allocations: 61.51 MB / 0.5054 GB, free: 49.54 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.02/17.6, allocations: 5.17 GB / 5.676 GB, free: 173.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/17.6, allocations: 75.62 kB / 5.676 GB, free: 173.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1462/17.74, allocations: 70.58 MB / 5.745 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.884e-06/17.74, allocations: 0 / 5.745 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.074e-05/17.74, allocations: 4 kB / 5.745 GB, free: 136.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.000653/17.74, allocations: 414.2 kB / 5.745 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/17.74, allocations: 16.03 kB / 5.745 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/17.74, allocations: 0 / 5.745 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/17.74, allocations: 163 kB / 5.745 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.759e-05/17.74, allocations: 33.69 kB / 5.745 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/17.74, allocations: 0 / 5.745 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/17.74, allocations: 49.64 kB / 5.745 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/17.74, allocations: 0 / 5.745 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/17.74, allocations: 0 / 5.745 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/17.74, allocations: 3.938 kB / 5.745 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.222e-05/17.74, allocations: 23.98 kB / 5.745 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/17.74, allocations: 261.4 kB / 5.746 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.025e-05/17.74, allocations: 18.52 kB / 5.746 GB, free: 135 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/17.74, allocations: 12.95 kB / 5.746 GB, free: 135 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/17.74, allocations: 0 / 5.746 GB, free: 135 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/17.74, allocations: 34.56 kB / 5.746 GB, free: 135 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/17.74, allocations: 4 kB / 5.746 GB, free: 135 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001368/17.74, allocations: 29.7 kB / 5.746 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/17.74, allocations: 51.41 kB / 5.746 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.19e-05/17.74, allocations: 108.9 kB / 5.746 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/17.74, allocations: 25.7 kB / 5.746 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/17.74, allocations: 89.3 kB / 5.746 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.626e-06/17.74, allocations: 7.906 kB / 5.746 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-06/17.74, allocations: 0 / 5.746 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.621e-05/17.74, allocations: 318.9 kB / 5.746 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.43e-05/17.74, allocations: 4 kB / 5.746 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.681e-05/17.74, allocations: 26.56 kB / 5.746 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.244e-05/17.74, allocations: 4 kB / 5.746 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/17.74, allocations: 3.953 kB / 5.746 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.45e-05/17.74, allocations: 61.62 kB / 5.746 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/17.74, allocations: 4 kB / 5.746 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/17.74, allocations: 0 / 5.746 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/17.74, allocations: 0 / 5.746 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.315e-05/17.74, allocations: 11.98 kB / 5.746 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/17.74, allocations: 0 / 5.746 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.476e-05/17.74, allocations: 9.062 kB / 5.746 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/17.74, allocations: 0 / 5.746 GB, free: 134.2 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 () * 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 6.826e-05/17.74, allocations: 112.8 kB / 5.746 GB, free: 134 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/17.74, allocations: 8.047 kB / 5.746 GB, free: 134 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/17.74, allocations: 124.9 kB / 5.747 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-05/17.74, allocations: 184.2 kB / 5.747 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.633e-05/17.74, allocations: 180.3 kB / 5.747 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.671e-05/17.74, allocations: 180.3 kB / 5.747 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/17.74, allocations: 409.2 kB / 5.748 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.159e-05/17.74, allocations: 101 kB / 5.748 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/17.75, allocations: 112.8 kB / 5.748 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.403e-05/17.75, allocations: 188.2 kB / 5.748 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.868e-05/17.75, allocations: 181.3 kB / 5.748 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.36e-05/17.75, allocations: 184.2 kB / 5.748 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-05/17.75, allocations: 176.3 kB / 5.748 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.666e-05/17.75, allocations: 307.8 kB / 5.749 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.902e-05/17.75, allocations: 186 kB / 5.749 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.406e-05/17.75, allocations: 180.2 kB / 5.749 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/17.75, allocations: 109 kB / 5.749 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/17.75, allocations: 188.2 kB / 5.749 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/17.75, allocations: 106 kB / 5.749 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.307e-05/17.75, allocations: 79.28 kB / 5.75 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/17.75, allocations: 0 / 5.75 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007432/17.75, allocations: 173 kB / 5.75 GB, free: 130.6 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 () * 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.001263/17.75, allocations: 0.8298 MB / 5.75 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.068e-05/17.75, allocations: 8 kB / 5.751 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/17.75, allocations: 0 / 5.751 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/17.75, allocations: 0 / 5.751 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/17.75, allocations: 0.5306 MB / 5.751 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001704/17.75, allocations: 125.2 kB / 5.751 GB, free: 129 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/17.75, allocations: 0.6809 MB / 5.752 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.562e-05/17.75, allocations: 5.094 kB / 5.752 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.694e-05/17.75, allocations: 11.42 kB / 5.752 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of SimCode: time 2.31e-07/17.75, allocations: 0 / 5.752 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.01326/17.76, allocations: 11.6 MB / 5.763 GB, free: 116.7 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)