Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.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.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") translateModel(Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5863/0.5863, allocations: 94.78 MB / 102.3 MB, free: 14.12 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.001546/0.001546, allocations: 176.1 kB / 125.6 MB, free: 7.926 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.832/1.832, allocations: 170.6 MB / 319.4 MB, free: 1.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001921/0.001921, allocations: 117.7 kB / 381.4 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.713e-05/1.715e-05, allocations: 0 / 449.1 MB, free: 44.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1843, allocations: 61.53 MB / 0.4986 GB, free: 15.27 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.69/17.88, allocations: 5.279 GB / 5.778 GB, free: 55.81 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/17.88, allocations: 79.95 kB / 5.778 GB, free: 55.73 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.4684/18.35, allocations: 60.66 MB / 5.837 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.226e-06/18.35, allocations: 0 / 5.837 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.233e-05/18.35, allocations: 1.344 kB / 5.837 GB, free: 151.2 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.0006258/18.35, allocations: 384.4 kB / 5.837 GB, free: 150.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.464e-05/18.35, allocations: 9.312 kB / 5.837 GB, free: 150.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.887e-05/18.35, allocations: 4.547 kB / 5.837 GB, free: 150.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/18.35, allocations: 164.3 kB / 5.838 GB, free: 150.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.5e-05/18.35, allocations: 27.75 kB / 5.838 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/18.35, allocations: 1.281 kB / 5.838 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001261/18.35, allocations: 22.56 kB / 5.838 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/18.35, allocations: 39.23 kB / 5.838 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/18.35, allocations: 1.906 kB / 5.838 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/18.35, allocations: 3.922 kB / 5.838 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/18.35, allocations: 2.156 kB / 5.838 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005658/18.35, allocations: 336.5 kB / 5.838 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.894e-05/18.35, allocations: 20.14 kB / 5.838 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.744e-05/18.35, allocations: 6.109 kB / 5.838 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/18.35, allocations: 7.344 kB / 5.838 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/18.35, allocations: 32.5 kB / 5.838 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.342e-06/18.35, allocations: 0 / 5.838 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0002225/18.35, allocations: 42.62 kB / 5.838 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/18.35, allocations: 52.56 kB / 5.838 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.254e-05/18.35, allocations: 96.05 kB / 5.838 GB, free: 150 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/18.35, allocations: 29.7 kB / 5.838 GB, free: 150 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/18.35, allocations: 90.41 kB / 5.838 GB, free: 149.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.277e-06/18.35, allocations: 7.953 kB / 5.838 GB, free: 149.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/18.35, allocations: 0 / 5.838 GB, free: 149.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.558e-05/18.35, allocations: 312.7 kB / 5.839 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/18.35, allocations: 5 kB / 5.839 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.968e-05/18.35, allocations: 28.3 kB / 5.839 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.343e-05/18.35, allocations: 13.92 kB / 5.839 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/18.35, allocations: 3.375 kB / 5.839 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001432/18.35, allocations: 61.33 kB / 5.839 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/18.35, allocations: 10.44 kB / 5.839 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/18.35, allocations: 3.75 kB / 5.839 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/18.35, allocations: 1.094 kB / 5.839 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.227e-05/18.35, allocations: 8.75 kB / 5.839 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/18.35, allocations: 1.344 kB / 5.839 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.596e-05/18.35, allocations: 1.656 kB / 5.839 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/18.35, allocations: 2.906 kB / 5.839 GB, free: 149.5 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 () * 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.658e-05/18.35, allocations: 106.2 kB / 5.839 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/18.35, allocations: 5.797 kB / 5.839 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/18.35, allocations: 127.2 kB / 5.839 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.744e-05/18.35, allocations: 178.1 kB / 5.839 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.762e-05/18.35, allocations: 186.3 kB / 5.839 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.69e-05/18.35, allocations: 181.8 kB / 5.839 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/18.35, allocations: 381.3 kB / 5.84 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.792e-05/18.35, allocations: 107.5 kB / 5.84 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.036e-05/18.35, allocations: 103.1 kB / 5.84 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.321e-05/18.35, allocations: 184.4 kB / 5.84 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-05/18.35, allocations: 184.8 kB / 5.84 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-05/18.35, allocations: 178.5 kB / 5.841 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.64e-05/18.35, allocations: 183.8 kB / 5.841 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.633e-05/18.35, allocations: 303 kB / 5.841 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.427e-05/18.35, allocations: 191.2 kB / 5.841 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.322e-05/18.35, allocations: 182.6 kB / 5.841 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/18.35, allocations: 111.1 kB / 5.841 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/18.35, allocations: 178.2 kB / 5.842 GB, free: 146.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/18.35, allocations: 102.7 kB / 5.842 GB, free: 146.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.869e-05/18.35, allocations: 95.5 kB / 5.842 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/18.35, allocations: 0 / 5.842 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004527/18.35, allocations: 80.55 kB / 5.842 GB, free: 146.2 MB / 0.5105 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.001188/18.35, allocations: 0.8371 MB / 5.843 GB, free: 146 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.595e-05/18.35, allocations: 9.719 kB / 5.843 GB, free: 146 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/18.35, allocations: 2.062 kB / 5.843 GB, free: 146 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.924e-06/18.35, allocations: 4.969 kB / 5.843 GB, free: 146 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/18.35, allocations: 0.5285 MB / 5.843 GB, free: 145.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001735/18.35, allocations: 123.1 kB / 5.843 GB, free: 145.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/18.35, allocations: 0.6759 MB / 5.844 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.502e-05/18.35, allocations: 9.812 kB / 5.844 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.804e-05/18.35, allocations: 9.688 kB / 5.844 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/18.35, allocations: 2.688 kB / 5.844 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.01067/18.36, allocations: 4.505 MB / 5.848 GB, free: 144.2 MB / 0.5105 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe 2>&1)