Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.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.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion") translateModel(Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5744/0.5744, 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.001239/0.001238, allocations: 172.1 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.659/1.659, 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.001669/0.001669, allocations: 105.7 kB / 386.6 MB, free: 16.32 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.622e-05/4.625e-05, allocations: 0 / 456 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5764/0.5765, allocations: 61.51 MB / 0.5054 GB, free: 49.62 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.92/15.5, allocations: 4.463 GB / 4.968 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004159/15.5, allocations: 81.02 kB / 4.969 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1211/15.62, allocations: 53.24 MB / 5.021 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.994e-06/15.62, allocations: 0 / 5.021 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.247e-06/15.62, allocations: 1.281 kB / 5.021 GB, free: 135.7 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.0006028/15.62, allocations: 407.1 kB / 5.021 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/15.62, allocations: 9.25 kB / 5.021 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/15.62, allocations: 9.234 kB / 5.021 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.969e-05/15.62, allocations: 160.3 kB / 5.021 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-05/15.62, allocations: 30.83 kB / 5.021 GB, free: 135 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/15.62, allocations: 1.031 kB / 5.021 GB, free: 135 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/15.62, allocations: 52.52 kB / 5.021 GB, free: 135 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/15.62, allocations: 0 / 5.021 GB, free: 135 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/15.62, allocations: 0 / 5.021 GB, free: 135 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/15.62, allocations: 2.594 kB / 5.021 GB, free: 135 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.733e-05/15.62, allocations: 18.48 kB / 5.021 GB, free: 135 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/15.62, allocations: 274.5 kB / 5.021 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.873e-05/15.62, allocations: 20.89 kB / 5.021 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.655e-05/15.62, allocations: 6.359 kB / 5.021 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/15.62, allocations: 1.625 kB / 5.021 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/15.62, allocations: 35.94 kB / 5.022 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/15.62, allocations: 0 / 5.022 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001303/15.62, allocations: 34.52 kB / 5.022 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/15.62, allocations: 52.53 kB / 5.022 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.638e-05/15.62, allocations: 98.73 kB / 5.022 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/15.62, allocations: 26.8 kB / 5.022 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/15.62, allocations: 90.95 kB / 5.022 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.153e-06/15.62, allocations: 5.219 kB / 5.022 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/15.62, allocations: 0 / 5.022 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.564e-05/15.62, allocations: 319.5 kB / 5.022 GB, free: 134 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.727e-05/15.62, allocations: 11.53 kB / 5.022 GB, free: 134 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.465e-05/15.62, allocations: 23.25 kB / 5.022 GB, free: 134 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.48e-05/15.62, allocations: 13.55 kB / 5.022 GB, free: 134 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/15.62, allocations: 0 / 5.022 GB, free: 134 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.949e-05/15.62, allocations: 59.98 kB / 5.022 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/15.62, allocations: 9.156 kB / 5.022 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/15.62, allocations: 0 / 5.022 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/15.62, allocations: 1.156 kB / 5.022 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.995e-05/15.62, allocations: 6.438 kB / 5.022 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/15.62, allocations: 1.219 kB / 5.022 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.285e-05/15.62, allocations: 2.375 kB / 5.022 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/15.62, allocations: 2.5 kB / 5.022 GB, free: 133.9 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.015e-05/15.62, allocations: 106.1 kB / 5.022 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/15.62, allocations: 9.047 kB / 5.022 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/15.62, allocations: 132.5 kB / 5.022 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.215e-05/15.62, allocations: 177.5 kB / 5.023 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-05/15.62, allocations: 181.7 kB / 5.023 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.181e-05/15.62, allocations: 181.4 kB / 5.023 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/15.62, allocations: 412.3 kB / 5.023 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-05/15.62, allocations: 106.2 kB / 5.023 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.926e-05/15.62, allocations: 101 kB / 5.024 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.514e-05/15.62, allocations: 189.1 kB / 5.024 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/15.62, allocations: 181.5 kB / 5.024 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.38e-05/15.62, allocations: 181.9 kB / 5.024 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.147e-05/15.62, allocations: 180.3 kB / 5.024 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.987e-05/15.62, allocations: 308.1 kB / 5.025 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.786e-05/15.62, allocations: 179.2 kB / 5.025 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.079e-05/15.62, allocations: 193.2 kB / 5.025 GB, free: 131 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.388e-05/15.62, allocations: 107.4 kB / 5.025 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/15.62, allocations: 181.3 kB / 5.025 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/15.62, allocations: 103 kB / 5.025 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.749e-05/15.62, allocations: 92.7 kB / 5.025 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/15.62, allocations: 0.9375 kB / 5.025 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007314/15.62, allocations: 148.6 kB / 5.026 GB, free: 130.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 () * 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.001416/15.62, allocations: 0.7916 MB / 5.026 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.404e-05/15.62, allocations: 15.84 kB / 5.026 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/15.62, allocations: 0 / 5.026 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/15.62, allocations: 4.188 kB / 5.026 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/15.63, allocations: 0.5229 MB / 5.027 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000185/15.63, allocations: 138.8 kB / 5.027 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/15.63, allocations: 0.6771 MB / 5.028 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.224e-05/15.63, allocations: 9.5 kB / 5.028 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.242e-05/15.63, allocations: 14.08 kB / 5.028 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of SimCode: time 4.21e-07/15.63, allocations: 0 / 5.028 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.01829/15.64, allocations: 11.11 MB / 5.038 GB, free: 123 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.pipe 2>&1)