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.5603/0.5603, allocations: 94.69 MB / 107.3 MB, free: 5.184 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.001062/0.001062, allocations: 179.8 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.734/1.734, allocations: 170.5 MB / 324.5 MB, free: 3.992 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.001712/0.001713, allocations: 111.8 kB / 386.6 MB, free: 16.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.08e-05/5.082e-05, allocations: 0 / 456 MB, free: 11.78 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5697/0.5698, allocations: 61.52 MB / 0.5054 GB, free: 49.47 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.07/17.64, allocations: 5.279 GB / 5.785 GB, free: 94.55 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003775/17.64, allocations: 80.61 kB / 5.785 GB, free: 94.48 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.117/17.76, allocations: 61.63 MB / 5.845 GB, free: 32.05 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.014e-06/17.76, allocations: 0 / 5.845 GB, free: 32.05 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.204e-06/17.76, allocations: 0 / 5.845 GB, free: 32.05 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.0003663/17.76, allocations: 382.3 kB / 5.845 GB, free: 31.64 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/17.76, allocations: 8.031 kB / 5.845 GB, free: 31.63 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/17.76, allocations: 5.172 kB / 5.845 GB, free: 31.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.868e-05/17.76, allocations: 163.1 kB / 5.845 GB, free: 31.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.87e-05/17.76, allocations: 25.7 kB / 5.846 GB, free: 31.39 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/17.76, allocations: 0 / 5.846 GB, free: 31.39 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/17.76, allocations: 49.62 kB / 5.846 GB, free: 31.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/17.76, allocations: 0 / 5.846 GB, free: 31.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/17.76, allocations: 0 / 5.846 GB, free: 31.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/17.76, allocations: 11.98 kB / 5.846 GB, free: 31.33 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.758e-05/17.76, allocations: 16 kB / 5.846 GB, free: 31.31 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/17.76, allocations: 354.5 kB / 5.846 GB, free: 30.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.11e-05/17.76, allocations: 22.56 kB / 5.846 GB, free: 30.87 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.661e-05/17.76, allocations: 8.922 kB / 5.846 GB, free: 30.86 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/17.76, allocations: 7.938 kB / 5.846 GB, free: 30.85 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/17.76, allocations: 37 kB / 5.846 GB, free: 30.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/17.76, allocations: 0 / 5.846 GB, free: 30.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001253/17.76, allocations: 37.64 kB / 5.846 GB, free: 30.76 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/17.76, allocations: 51.41 kB / 5.846 GB, free: 30.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.56e-05/17.76, allocations: 100.9 kB / 5.846 GB, free: 30.59 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/17.76, allocations: 25.7 kB / 5.846 GB, free: 30.56 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.85e-05/17.76, allocations: 92.06 kB / 5.846 GB, free: 30.47 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.522e-06/17.76, allocations: 3.906 kB / 5.846 GB, free: 30.46 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/17.76, allocations: 4 kB / 5.846 GB, free: 30.46 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.915e-05/17.76, allocations: 314.8 kB / 5.847 GB, free: 30.14 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/17.76, allocations: 4 kB / 5.847 GB, free: 30.14 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.01e-05/17.76, allocations: 30.45 kB / 5.847 GB, free: 30.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.196e-05/17.76, allocations: 11.98 kB / 5.847 GB, free: 30.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/17.76, allocations: 0 / 5.847 GB, free: 30.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.657e-05/17.76, allocations: 57.62 kB / 5.847 GB, free: 30.03 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/17.76, allocations: 4 kB / 5.847 GB, free: 30.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/17.76, allocations: 0 / 5.847 GB, free: 30.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/17.76, allocations: 0 / 5.847 GB, free: 30.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.558e-05/17.76, allocations: 11.95 kB / 5.847 GB, free: 30.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/17.76, allocations: 3.984 kB / 5.847 GB, free: 30.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.102e-05/17.76, allocations: 4 kB / 5.847 GB, free: 30 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/17.76, allocations: 4.094 kB / 5.847 GB, free: 30 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 5.108e-05/17.76, allocations: 108.8 kB / 5.847 GB, free: 29.89 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/17.76, allocations: 4 kB / 5.847 GB, free: 29.88 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.705e-05/17.76, allocations: 128.8 kB / 5.847 GB, free: 29.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.465e-05/17.76, allocations: 180.2 kB / 5.847 GB, free: 29.57 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.921e-05/17.76, allocations: 194.1 kB / 5.847 GB, free: 29.37 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-05/17.76, allocations: 176.3 kB / 5.847 GB, free: 29.19 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/17.76, allocations: 409.2 kB / 5.848 GB, free: 28.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/17.76, allocations: 101 kB / 5.848 GB, free: 28.63 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.639e-05/17.76, allocations: 101 kB / 5.848 GB, free: 28.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-05/17.76, allocations: 184.2 kB / 5.848 GB, free: 28.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/17.76, allocations: 192.2 kB / 5.848 GB, free: 28.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.654e-05/17.76, allocations: 180.2 kB / 5.849 GB, free: 27.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.627e-05/17.76, allocations: 176.3 kB / 5.849 GB, free: 27.78 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.505e-05/17.76, allocations: 307.7 kB / 5.849 GB, free: 27.45 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/17.76, allocations: 190.1 kB / 5.849 GB, free: 27.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.041e-05/17.76, allocations: 180.2 kB / 5.849 GB, free: 27.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.461e-05/17.76, allocations: 105 kB / 5.849 GB, free: 26.95 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/17.76, allocations: 180.3 kB / 5.85 GB, free: 26.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/17.76, allocations: 108.9 kB / 5.85 GB, free: 26.65 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.08e-05/17.77, allocations: 79.28 kB / 5.85 GB, free: 26.57 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/17.77, allocations: 4 kB / 5.85 GB, free: 26.57 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004614/17.77, allocations: 103.8 kB / 5.85 GB, free: 26.47 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.0008108/17.77, allocations: 0.7168 MB / 5.851 GB, free: 25.74 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.342e-05/17.77, allocations: 15.94 kB / 5.851 GB, free: 25.73 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/17.77, allocations: 3.938 kB / 5.851 GB, free: 25.72 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-06/17.77, allocations: 4.188 kB / 5.851 GB, free: 25.72 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/17.77, allocations: 0.5224 MB / 5.851 GB, free: 25.19 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001635/17.77, allocations: 128.3 kB / 5.851 GB, free: 25.04 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/17.77, allocations: 0.6799 MB / 5.852 GB, free: 24.34 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.848e-05/17.77, allocations: 11.98 kB / 5.852 GB, free: 24.33 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/17.77, allocations: 11.44 kB / 5.852 GB, free: 24.32 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/17.77, allocations: 0 / 5.852 GB, free: 24.32 MB / 0.5261 GB Notification: Performance of Templates: time 0.01259/17.78, allocations: 10.94 MB / 5.863 GB, free: 13.38 MB / 0.5261 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)