Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009646/0.0009646, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.4 MB / 222.1 MB, free: 5.887 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.716/1.716, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000579/0.000579, allocations: 22.31 kB / 0.6735 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3269, allocations: 116.3 MB / 0.7871 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.7468/1.074, allocations: 125.2 MB / 0.9094 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002373/1.074, allocations: 126.3 kB / 0.9095 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.118e-05/1.074, allocations: 5.062 kB / 0.9095 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001167/1.074, allocations: 8.875 kB / 0.9095 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.576e-05/1.074, allocations: 4.391 kB / 0.9095 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006581/1.075, allocations: 144.8 kB / 0.9097 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.753e-05/1.075, allocations: 17.69 kB / 0.9097 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.061e-05/1.075, allocations: 1.359 kB / 0.9097 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.867e-05/1.075, allocations: 16.97 kB / 0.9097 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.358e-05/1.075, allocations: 9.219 kB / 0.9097 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/1.075, allocations: 0.8125 kB / 0.9097 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000362/1.076, allocations: 107.1 kB / 0.9098 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.618e-05/1.076, allocations: 5.422 kB / 0.9098 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002947/1.076, allocations: 31.33 kB / 0.9099 GB, free: 22.07 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/1.076, allocations: 52.95 kB / 0.9099 GB, free: 22.07 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/1.076, allocations: 0 / 0.9099 GB, free: 22.07 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.293e-06/1.076, allocations: 0.9375 kB / 0.9099 GB, free: 22.07 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.907e-06/1.076, allocations: 0 / 0.9099 GB, free: 22.07 MB / 0.7325 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.0003799/1.076, allocations: 340.7 kB / 0.9102 GB, free: 21.71 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/1.077, allocations: 10.52 kB / 0.9102 GB, free: 21.71 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003743/1.077, allocations: 32.44 kB / 0.9103 GB, free: 21.7 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/1.077, allocations: 161.4 kB / 0.9104 GB, free: 21.51 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.205e-05/1.077, allocations: 28.31 kB / 0.9105 GB, free: 21.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-06/1.077, allocations: 1.188 kB / 0.9105 GB, free: 21.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/1.077, allocations: 51.28 kB / 0.9105 GB, free: 21.45 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.026e-06/1.077, allocations: 4.75 kB / 0.9105 GB, free: 21.44 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/1.077, allocations: 0 / 0.9105 GB, free: 21.44 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/1.077, allocations: 2.781 kB / 0.9105 GB, free: 21.44 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.202e-05/1.077, allocations: 28.95 kB / 0.9105 GB, free: 21.43 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/1.078, allocations: 255.8 kB / 0.9108 GB, free: 21.17 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.084e-05/1.078, allocations: 24.58 kB / 0.9108 GB, free: 21.15 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.901e-05/1.078, allocations: 10.86 kB / 0.9108 GB, free: 21.14 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/1.078, allocations: 34.83 kB / 0.9109 GB, free: 21.11 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/1.078, allocations: 0 / 0.9109 GB, free: 21.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002506/1.078, allocations: 58.56 kB / 0.9109 GB, free: 21.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/1.078, allocations: 53.72 kB / 0.911 GB, free: 21.01 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.037e-05/1.078, allocations: 105 kB / 0.9111 GB, free: 20.91 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/1.078, allocations: 29.64 kB / 0.9111 GB, free: 20.88 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/1.078, allocations: 91.31 kB / 0.9112 GB, free: 20.79 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.168e-05/1.078, allocations: 6.375 kB / 0.9112 GB, free: 20.78 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-06/1.078, allocations: 0 / 0.9112 GB, free: 20.78 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000101/1.079, allocations: 317.9 kB / 0.9115 GB, free: 20.47 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-05/1.079, allocations: 4.859 kB / 0.9115 GB, free: 20.47 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.749e-05/1.079, allocations: 23.27 kB / 0.9115 GB, free: 20.45 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.61e-05/1.079, allocations: 6.438 kB / 0.9115 GB, free: 20.45 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.079, allocations: 4 kB / 0.9115 GB, free: 20.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.935e-05/1.079, allocations: 53.03 kB / 0.9116 GB, free: 20.42 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/1.079, allocations: 5.25 kB / 0.9116 GB, free: 20.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/1.079, allocations: 0.6875 kB / 0.9116 GB, free: 20.42 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/1.079, allocations: 5.5 kB / 0.9116 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.904e-05/1.079, allocations: 11.86 kB / 0.9116 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/1.079, allocations: 1.578 kB / 0.9116 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.944e-05/1.079, allocations: 5.531 kB / 0.9116 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/1.079, allocations: 2.641 kB / 0.9116 GB, free: 20.41 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 8.688e-05/1.079, allocations: 112.3 kB / 0.9117 GB, free: 20.29 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/1.079, allocations: 5.312 kB / 0.9117 GB, free: 20.29 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.442e-05/1.079, allocations: 7.875 kB / 0.9117 GB, free: 20.29 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/1.079, allocations: 0.6875 kB / 0.9117 GB, free: 20.29 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.079, allocations: 5.641 kB / 0.9117 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/1.079, allocations: 0.7812 kB / 0.9117 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003245/1.08, allocations: 364.4 kB / 0.9121 GB, free: 19.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/1.08, allocations: 5.375 kB / 0.9121 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.008e-05/1.08, allocations: 6.078 kB / 0.9121 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/1.08, allocations: 5.891 kB / 0.9121 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/1.08, allocations: 1.938 kB / 0.9121 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/1.08, allocations: 0.9375 kB / 0.9121 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.08, allocations: 0.7812 kB / 0.9121 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.13e-05/1.08, allocations: 83.97 kB / 0.9122 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.324e-05/1.08, allocations: 88.73 kB / 0.9123 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/1.08, allocations: 3.344 kB / 0.9123 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.4e-05/1.08, allocations: 13.64 kB / 0.9123 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.076e-05/1.08, allocations: 1.562 kB / 0.9123 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/1.08, allocations: 0.9062 kB / 0.9123 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.293e-05/1.08, allocations: 82.55 kB / 0.9124 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/1.08, allocations: 0 / 0.9124 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001922/1.08, allocations: 11.19 kB / 0.9124 GB, free: 19.62 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001434/1.08, allocations: 102.3 kB / 0.9125 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001173/1.08, allocations: 22.5 kB / 0.9125 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.08, allocations: 1.031 kB / 0.9125 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.712e-05/1.08, allocations: 5.156 kB / 0.9125 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/1.081, allocations: 11.22 kB / 0.9125 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003489/1.081, allocations: 128.2 kB / 0.9126 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/1.081, allocations: 0.679 MB / 0.9133 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.121e-05/1.081, allocations: 10.11 kB / 0.9133 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.163e-05/1.082, allocations: 9.5 kB / 0.9133 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/1.082, allocations: 0 / 0.9133 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.003447/1.085, allocations: 0.5031 MB / 0.9138 GB, free: 18.65 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: