Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesConstantDensity.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.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") translateModel(Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5784/0.5784, allocations: 94.69 MB / 107.3 MB, free: 5.176 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.001533/0.001533, allocations: 175.3 kB / 130.7 MB, free: 7.539 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.85/1.85, allocations: 170.5 MB / 324.5 MB, free: 3.984 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.00202/0.002021, allocations: 111.1 kB / 386.6 MB, free: 16.28 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.085e-05/5.088e-05, allocations: 0 / 456 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6057/0.6058, allocations: 61.52 MB / 0.5054 GB, free: 49.66 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.9/16.5, allocations: 5.193 GB / 5.699 GB, free: 168.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004002/16.5, allocations: 79.94 kB / 5.699 GB, free: 168.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1036/16.61, allocations: 53.4 MB / 5.751 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.294e-06/16.61, allocations: 0 / 5.751 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.536e-06/16.61, allocations: 4 kB / 5.751 GB, free: 128.3 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.00034/16.61, allocations: 374.3 kB / 5.751 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/16.61, allocations: 8.031 kB / 5.751 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/16.61, allocations: 7.953 kB / 5.751 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.539e-05/16.61, allocations: 163.1 kB / 5.752 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.7e-05/16.61, allocations: 30.72 kB / 5.752 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/16.61, allocations: 4 kB / 5.752 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/16.61, allocations: 49.62 kB / 5.752 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/16.61, allocations: 3.938 kB / 5.752 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/16.61, allocations: 0 / 5.752 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/16.61, allocations: 4 kB / 5.752 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.006e-05/16.61, allocations: 19.98 kB / 5.752 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004973/16.61, allocations: 358.5 kB / 5.752 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.584e-05/16.61, allocations: 14.58 kB / 5.752 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.204e-05/16.61, allocations: 12.91 kB / 5.752 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/16.61, allocations: 0 / 5.752 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/16.61, allocations: 36.84 kB / 5.752 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/16.61, allocations: 0 / 5.752 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001476/16.61, allocations: 37.66 kB / 5.752 GB, free: 127 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/16.61, allocations: 55.44 kB / 5.752 GB, free: 127 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.067e-05/16.61, allocations: 96.98 kB / 5.752 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/16.61, allocations: 29.7 kB / 5.752 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.576e-05/16.61, allocations: 91.98 kB / 5.752 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.653e-06/16.61, allocations: 3.906 kB / 5.752 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-06/16.61, allocations: 0 / 5.752 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.302e-05/16.61, allocations: 314.8 kB / 5.753 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.395e-05/16.61, allocations: 3.984 kB / 5.753 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-05/16.61, allocations: 34.52 kB / 5.753 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.015e-05/16.61, allocations: 4 kB / 5.753 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/16.61, allocations: 0 / 5.753 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.684e-05/16.61, allocations: 57.62 kB / 5.753 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/16.61, allocations: 4 kB / 5.753 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/16.61, allocations: 3.984 kB / 5.753 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/16.61, allocations: 4.094 kB / 5.753 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.923e-05/16.61, allocations: 11.95 kB / 5.753 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/16.61, allocations: 0 / 5.753 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.367e-05/16.61, allocations: 4 kB / 5.753 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/16.61, allocations: 0 / 5.753 GB, free: 126.3 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.305e-05/16.61, allocations: 113.8 kB / 5.753 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/16.61, allocations: 0 / 5.753 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/16.61, allocations: 132.8 kB / 5.753 GB, free: 126 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.715e-05/16.61, allocations: 177.8 kB / 5.753 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-05/16.61, allocations: 184.2 kB / 5.753 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.902e-05/16.61, allocations: 184.3 kB / 5.754 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/16.61, allocations: 405.1 kB / 5.754 GB, free: 125 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.107e-05/16.61, allocations: 105.2 kB / 5.754 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.191e-05/16.61, allocations: 117 kB / 5.754 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.91e-05/16.61, allocations: 180.2 kB / 5.754 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.1e-05/16.61, allocations: 176.3 kB / 5.755 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-05/16.61, allocations: 184.2 kB / 5.755 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.176e-05/16.61, allocations: 176.3 kB / 5.755 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.438e-05/16.61, allocations: 315.7 kB / 5.755 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-05/16.61, allocations: 178.1 kB / 5.755 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.408e-05/16.61, allocations: 188.2 kB / 5.756 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.595e-05/16.61, allocations: 105 kB / 5.756 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/16.61, allocations: 184.3 kB / 5.756 GB, free: 123 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/16.61, allocations: 108.9 kB / 5.756 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.153e-05/16.61, allocations: 85.42 kB / 5.756 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/16.61, allocations: 0 / 5.756 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004553/16.61, allocations: 99.81 kB / 5.756 GB, free: 122.8 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.0008265/16.61, allocations: 0.6999 MB / 5.757 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.63e-05/16.61, allocations: 19.94 kB / 5.757 GB, free: 122 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/16.61, allocations: 0 / 5.757 GB, free: 122 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/16.61, allocations: 0 / 5.757 GB, free: 122 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/16.61, allocations: 0.5187 MB / 5.757 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001767/16.61, allocations: 128.3 kB / 5.757 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/16.61, allocations: 0.677 MB / 5.758 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.364e-05/16.61, allocations: 14.61 kB / 5.758 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.07e-05/16.61, allocations: 11.44 kB / 5.758 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/16.61, allocations: 3.938 kB / 5.758 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.01253/16.63, allocations: 10.55 MB / 5.768 GB, free: 110.1 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe 2>&1)