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.6067/0.6067, allocations: 95.61 MB / 110.6 MB, free: 9.195 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.001221/0.001221, allocations: 173.4 kB / 134.2 MB, free: 2.164 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.684/1.684, allocations: 170.7 MB / 328.4 MB, free: 12.28 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.00232/0.00232, allocations: 107.4 kB / 390.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004237/0.0004239, allocations: 12 kB / 462.7 MB, free: 35.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1659, allocations: 61.51 MB / 0.5119 GB, free: 6.113 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.89/15.06, allocations: 5.194 GB / 5.705 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/15.06, allocations: 79.95 kB / 5.706 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.09894/15.15, allocations: 53.54 MB / 5.758 GB, free: 56.24 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.447e-06/15.15, allocations: 0 / 5.758 GB, free: 56.24 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.034e-05/15.15, allocations: 0 / 5.758 GB, free: 56.24 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.0004952/15.16, allocations: 379.7 kB / 5.758 GB, free: 55.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.213e-05/15.16, allocations: 11.98 kB / 5.758 GB, free: 55.81 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.299e-05/15.16, allocations: 7.953 kB / 5.758 GB, free: 55.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/15.16, allocations: 163.1 kB / 5.758 GB, free: 55.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.87e-05/15.16, allocations: 25.7 kB / 5.758 GB, free: 55.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/15.16, allocations: 4 kB / 5.758 GB, free: 55.57 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/15.16, allocations: 53.61 kB / 5.758 GB, free: 55.51 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/15.16, allocations: 0 / 5.758 GB, free: 55.51 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/15.16, allocations: 0 / 5.758 GB, free: 55.51 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.457e-05/15.16, allocations: 4 kB / 5.758 GB, free: 55.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.746e-05/15.16, allocations: 19.98 kB / 5.758 GB, free: 55.48 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006511/15.16, allocations: 350.5 kB / 5.759 GB, free: 55.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.845e-05/15.16, allocations: 18.58 kB / 5.759 GB, free: 55.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/15.16, allocations: 4.062 kB / 5.759 GB, free: 55.04 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/15.16, allocations: 38.5 kB / 5.759 GB, free: 55 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.583e-06/15.16, allocations: 0 / 5.759 GB, free: 55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001704/15.16, allocations: 37.66 kB / 5.759 GB, free: 54.95 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/15.16, allocations: 55.39 kB / 5.759 GB, free: 54.89 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.745e-05/15.16, allocations: 97.27 kB / 5.759 GB, free: 54.79 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/15.16, allocations: 29.7 kB / 5.759 GB, free: 54.75 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/15.16, allocations: 91.97 kB / 5.759 GB, free: 54.66 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.002e-05/15.16, allocations: 7.891 kB / 5.759 GB, free: 54.65 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/15.16, allocations: 0 / 5.759 GB, free: 54.65 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.798e-05/15.16, allocations: 314.8 kB / 5.759 GB, free: 54.33 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.331e-05/15.16, allocations: 4 kB / 5.759 GB, free: 54.33 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.208e-05/15.16, allocations: 30.53 kB / 5.76 GB, free: 54.29 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.517e-05/15.16, allocations: 16 kB / 5.76 GB, free: 54.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/15.16, allocations: 0 / 5.76 GB, free: 54.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.224e-05/15.16, allocations: 57.56 kB / 5.76 GB, free: 54.21 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/15.16, allocations: 4.781 kB / 5.76 GB, free: 54.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/15.16, allocations: 4 kB / 5.76 GB, free: 54.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/15.16, allocations: 0 / 5.76 GB, free: 54.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.355e-05/15.16, allocations: 8 kB / 5.76 GB, free: 54.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.659e-06/15.16, allocations: 8.047 kB / 5.76 GB, free: 54.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.19e-05/15.16, allocations: 3.984 kB / 5.76 GB, free: 54.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/15.16, allocations: 4 kB / 5.76 GB, free: 54.18 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 () * Number of clocked 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.939e-05/15.16, allocations: 117.8 kB / 5.76 GB, free: 54.05 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/15.16, allocations: 0 / 5.76 GB, free: 54.05 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.992e-05/15.16, allocations: 128.8 kB / 5.76 GB, free: 53.92 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.451e-05/15.16, allocations: 180.3 kB / 5.76 GB, free: 53.74 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.519e-05/15.16, allocations: 180.2 kB / 5.76 GB, free: 53.55 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-05/15.16, allocations: 188.2 kB / 5.76 GB, free: 53.36 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/15.16, allocations: 407.9 kB / 5.761 GB, free: 52.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.938e-05/15.16, allocations: 105 kB / 5.761 GB, free: 52.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.857e-05/15.16, allocations: 105 kB / 5.761 GB, free: 52.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.044e-05/15.16, allocations: 184.2 kB / 5.761 GB, free: 52.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-05/15.16, allocations: 180.2 kB / 5.761 GB, free: 52.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.323e-05/15.16, allocations: 184.2 kB / 5.761 GB, free: 52.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.094e-05/15.16, allocations: 176.3 kB / 5.762 GB, free: 51.95 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.349e-05/15.16, allocations: 315.7 kB / 5.762 GB, free: 51.62 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/15.16, allocations: 182.1 kB / 5.762 GB, free: 51.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.057e-05/15.16, allocations: 184.2 kB / 5.762 GB, free: 51.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/15.16, allocations: 109 kB / 5.762 GB, free: 51.12 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/15.16, allocations: 176.3 kB / 5.763 GB, free: 50.94 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/15.16, allocations: 112.9 kB / 5.763 GB, free: 50.82 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.556e-05/15.16, allocations: 83.27 kB / 5.763 GB, free: 50.74 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/15.16, allocations: 0 / 5.763 GB, free: 50.74 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004582/15.16, allocations: 91.86 kB / 5.763 GB, free: 50.65 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 () * Number of clocked 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.0008296/15.16, allocations: 0.7043 MB / 5.764 GB, free: 49.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001097/15.16, allocations: 15.94 kB / 5.764 GB, free: 49.91 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/15.16, allocations: 0 / 5.764 GB, free: 49.91 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/15.16, allocations: 0 / 5.764 GB, free: 49.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/15.16, allocations: 0.5253 MB / 5.764 GB, free: 49.39 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002268/15.16, allocations: 187.8 kB / 5.764 GB, free: 49.18 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/15.16, allocations: 0.677 MB / 5.765 GB, free: 48.47 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.87e-05/15.16, allocations: 15.98 kB / 5.765 GB, free: 48.46 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.5e-05/15.16, allocations: 7.438 kB / 5.765 GB, free: 48.45 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/15.16, allocations: 0 / 5.765 GB, free: 48.45 MB / 0.5261 GB Notification: Performance of Templates: time 0.0107/15.17, allocations: 8.728 MB / 5.773 GB, free: 39.73 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)