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.5699/0.5699, allocations: 94.78 MB / 102.3 MB, free: 10.13 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.001388/0.001388, allocations: 175.3 kB / 125.6 MB, free: 11.88 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.894/1.894, allocations: 170.6 MB / 319.4 MB, free: 9.344 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.001835/0.001835, allocations: 111.8 kB / 381.3 MB, free: 18.29 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.536e-05/2.539e-05, allocations: 0 / 449.1 MB, free: 1.758 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2181, allocations: 61.52 MB / 0.4987 GB, free: 4.152 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.13/16.35, allocations: 5.193 GB / 5.691 GB, free: 85.14 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003311/16.35, allocations: 81.27 kB / 5.692 GB, free: 85.06 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.09912/16.45, allocations: 52.55 MB / 5.743 GB, free: 31.98 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.615e-06/16.45, allocations: 0 / 5.743 GB, free: 31.98 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.867e-06/16.45, allocations: 0 / 5.743 GB, free: 31.98 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.0003922/16.45, allocations: 375 kB / 5.743 GB, free: 31.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/16.45, allocations: 8.031 kB / 5.743 GB, free: 31.57 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.445e-05/16.45, allocations: 7.953 kB / 5.743 GB, free: 31.56 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/16.45, allocations: 163.1 kB / 5.743 GB, free: 31.36 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.409e-05/16.45, allocations: 25.7 kB / 5.743 GB, free: 31.33 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/16.45, allocations: 0 / 5.743 GB, free: 31.33 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001014/16.45, allocations: 23.98 kB / 5.743 GB, free: 31.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.064e-05/16.45, allocations: 47.03 kB / 5.743 GB, free: 31.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/16.45, allocations: 0 / 5.743 GB, free: 31.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/16.45, allocations: 0 / 5.743 GB, free: 31.25 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/16.45, allocations: 4 kB / 5.743 GB, free: 31.25 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005508/16.45, allocations: 333.1 kB / 5.744 GB, free: 30.87 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.987e-05/16.45, allocations: 18.58 kB / 5.744 GB, free: 30.84 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.053e-05/16.45, allocations: 8.859 kB / 5.744 GB, free: 30.83 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/16.45, allocations: 4.062 kB / 5.744 GB, free: 30.83 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/16.45, allocations: 30.56 kB / 5.744 GB, free: 30.79 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/16.45, allocations: 0 / 5.744 GB, free: 30.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0002344/16.45, allocations: 41.62 kB / 5.744 GB, free: 30.74 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/16.45, allocations: 55.36 kB / 5.744 GB, free: 30.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.951e-05/16.45, allocations: 106.3 kB / 5.744 GB, free: 30.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/16.45, allocations: 25.7 kB / 5.744 GB, free: 30.54 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.658e-05/16.45, allocations: 92.61 kB / 5.744 GB, free: 30.44 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.813e-06/16.45, allocations: 5.969 kB / 5.744 GB, free: 30.44 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-06/16.45, allocations: 0 / 5.744 GB, free: 30.44 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.243e-05/16.45, allocations: 318.8 kB / 5.744 GB, free: 30.12 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.375e-05/16.45, allocations: 0 / 5.744 GB, free: 30.12 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.893e-05/16.45, allocations: 30.75 kB / 5.744 GB, free: 30.08 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.872e-05/16.45, allocations: 15.98 kB / 5.745 GB, free: 30.06 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/16.45, allocations: 0 / 5.745 GB, free: 30.06 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001179/16.45, allocations: 61.61 kB / 5.745 GB, free: 30 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/16.45, allocations: 4 kB / 5.745 GB, free: 29.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/16.45, allocations: 4 kB / 5.745 GB, free: 29.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/16.45, allocations: 96 / 5.745 GB, free: 29.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.399e-05/16.45, allocations: 12.09 kB / 5.745 GB, free: 29.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/16.45, allocations: 3.984 kB / 5.745 GB, free: 29.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.497e-05/16.45, allocations: 11.88 kB / 5.745 GB, free: 29.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/16.45, allocations: 4 kB / 5.745 GB, free: 29.96 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.236e-05/16.45, allocations: 101 kB / 5.745 GB, free: 29.85 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/16.45, allocations: 4 kB / 5.745 GB, free: 29.85 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/16.45, allocations: 119 kB / 5.745 GB, free: 29.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-05/16.45, allocations: 192.2 kB / 5.745 GB, free: 29.53 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.622e-05/16.45, allocations: 176.3 kB / 5.745 GB, free: 29.35 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.086e-05/16.45, allocations: 180.3 kB / 5.745 GB, free: 29.17 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/16.45, allocations: 389.7 kB / 5.746 GB, free: 28.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.708e-05/16.45, allocations: 102.1 kB / 5.746 GB, free: 28.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.596e-05/16.45, allocations: 101 kB / 5.746 GB, free: 28.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.596e-05/16.45, allocations: 188.2 kB / 5.746 GB, free: 28.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.947e-05/16.45, allocations: 176.3 kB / 5.746 GB, free: 28.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.175e-05/16.45, allocations: 184.2 kB / 5.746 GB, free: 27.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-05/16.45, allocations: 180.2 kB / 5.747 GB, free: 27.79 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/16.45, allocations: 303.8 kB / 5.747 GB, free: 27.47 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/16.45, allocations: 198 kB / 5.747 GB, free: 27.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.057e-05/16.45, allocations: 176.3 kB / 5.747 GB, free: 27.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/16.45, allocations: 101 kB / 5.747 GB, free: 26.96 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/16.45, allocations: 188.2 kB / 5.748 GB, free: 26.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/16.45, allocations: 105 kB / 5.748 GB, free: 26.66 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.456e-05/16.45, allocations: 84.69 kB / 5.748 GB, free: 26.58 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/16.45, allocations: 0 / 5.748 GB, free: 26.58 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003796/16.45, allocations: 79.86 kB / 5.748 GB, free: 26.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.001013/16.45, allocations: 0.8057 MB / 5.749 GB, free: 25.69 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.259e-05/16.45, allocations: 19.92 kB / 5.749 GB, free: 25.67 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/16.45, allocations: 0 / 5.749 GB, free: 25.67 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.496e-06/16.45, allocations: 4 kB / 5.749 GB, free: 25.67 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/16.45, allocations: 0.5226 MB / 5.749 GB, free: 25.14 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002131/16.45, allocations: 123.4 kB / 5.749 GB, free: 25 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/16.45, allocations: 0.6768 MB / 5.75 GB, free: 24.29 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.323e-05/16.45, allocations: 8.984 kB / 5.75 GB, free: 24.29 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.077e-05/16.45, allocations: 15.44 kB / 5.75 GB, free: 24.27 MB / 0.5261 GB Notification: Performance of SimCode: time 2.31e-07/16.45, allocations: 0 / 5.75 GB, free: 24.27 MB / 0.5261 GB Notification: Performance of Templates: time 0.007679/16.46, allocations: 4.378 MB / 5.754 GB, free: 19.94 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)