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.001028/0.001028, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009993/0.0009993, allocations: 199.3 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.1 MB / 222 MB, free: 4.742 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.738/1.738, allocations: 292.2 MB / 0.5484 GB, free: 13.71 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.001297/0.001297, allocations: 70.14 kB / 0.6708 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2493, allocations: 114.5 MB / 0.7826 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.6325/0.8819, allocations: 146 MB / 0.9252 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001094/0.882, allocations: 55.45 kB / 0.9253 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.664e-05/0.8821, allocations: 0 / 0.9253 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.8822, allocations: 0.75 kB / 0.9253 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.219e-05/0.8823, allocations: 12.31 kB / 0.9253 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006051/0.8829, allocations: 188.4 kB / 0.9255 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.712e-05/0.883, allocations: 59.31 kB / 0.9255 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.106e-05/0.883, allocations: 8.562 kB / 0.9256 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.193e-05/0.8831, allocations: 12.55 kB / 0.9256 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.392e-05/0.8832, allocations: 14.42 kB / 0.9256 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.8832, allocations: 3.031 kB / 0.9256 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003995/0.8836, allocations: 223.6 kB / 0.9258 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.909e-05/0.8836, allocations: 13.33 kB / 0.9258 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.8837, allocations: 8.359 kB / 0.9258 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.8839, allocations: 125.4 kB / 0.9259 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.8839, allocations: 0 / 0.9259 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.81e-07/0.8839, allocations: 0.9062 kB / 0.9259 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.8839, allocations: 4 kB / 0.9259 GB, free: 6.363 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.0005666/0.8845, allocations: 343 kB / 0.9263 GB, free: 22.01 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.8846, allocations: 11.8 kB / 0.9263 GB, free: 22.01 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002957/0.8849, allocations: 25.66 kB / 0.9263 GB, free: 22 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.885, allocations: 167.1 kB / 0.9265 GB, free: 21.81 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.539e-05/0.885, allocations: 31.61 kB / 0.9265 GB, free: 21.77 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.8851, allocations: 0.9062 kB / 0.9265 GB, free: 21.77 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.8852, allocations: 56.52 kB / 0.9265 GB, free: 21.74 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.8852, allocations: 1.094 kB / 0.9265 GB, free: 21.74 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.8852, allocations: 0.75 kB / 0.9265 GB, free: 21.74 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.8852, allocations: 2.219 kB / 0.9266 GB, free: 21.74 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.073e-05/0.8853, allocations: 23.08 kB / 0.9266 GB, free: 21.74 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.8856, allocations: 254.7 kB / 0.9268 GB, free: 21.47 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 4.716e-05/0.8857, allocations: 29.42 kB / 0.9268 GB, free: 21.45 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.913e-05/0.8857, allocations: 7.703 kB / 0.9269 GB, free: 21.44 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000151/0.8859, allocations: 90.97 kB / 0.9269 GB, free: 21.34 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.8859, allocations: 31.69 kB / 0.927 GB, free: 21.3 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.8859, allocations: 1.203 kB / 0.927 GB, free: 21.3 MB / 0.7481 GB Notification: Performance of matching and sorting (n=2): time 0.000225/0.8861, allocations: 54.36 kB / 0.927 GB, free: 21.27 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.8862, allocations: 57.06 kB / 0.9271 GB, free: 21.21 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.451e-05/0.8862, allocations: 109.5 kB / 0.9272 GB, free: 21.1 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.8863, allocations: 30.86 kB / 0.9272 GB, free: 21.07 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 3.467e-05/0.8863, allocations: 85.77 kB / 0.9273 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.094e-06/0.8863, allocations: 8.344 kB / 0.9273 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/0.8863, allocations: 18.23 kB / 0.9273 GB, free: 20.96 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.786e-05/0.8864, allocations: 318.3 kB / 0.9276 GB, free: 20.65 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.644e-05/0.8865, allocations: 7.188 kB / 0.9276 GB, free: 20.65 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.194e-05/0.8865, allocations: 22.78 kB / 0.9276 GB, free: 20.62 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.78e-05/0.8865, allocations: 31.17 kB / 0.9277 GB, free: 20.6 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8865, allocations: 2.906 kB / 0.9277 GB, free: 20.6 MB / 0.7481 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.784e-05/0.8866, allocations: 54.34 kB / 0.9277 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.8866, allocations: 4.906 kB / 0.9277 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.8867, allocations: 1.156 kB / 0.9277 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.8867, allocations: 1.219 kB / 0.9277 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.671e-05/0.8867, allocations: 10.7 kB / 0.9278 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.8867, allocations: 0.9062 kB / 0.9278 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.083e-05/0.8868, allocations: 15.66 kB / 0.9278 GB, free: 20.56 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.8868, allocations: 1.875 kB / 0.9278 GB, free: 20.56 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.825e-05/0.8869, allocations: 116.3 kB / 0.9279 GB, free: 20.44 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.8869, allocations: 1.812 kB / 0.9279 GB, free: 20.44 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.153e-05/0.8869, allocations: 8.375 kB / 0.9279 GB, free: 20.43 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.8869, allocations: 0.9375 kB / 0.9279 GB, free: 20.43 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.8869, allocations: 3.938 kB / 0.9279 GB, free: 20.43 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.8869, allocations: 5.469 kB / 0.9279 GB, free: 20.43 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.8872, allocations: 356.9 kB / 0.9282 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.8872, allocations: 4.062 kB / 0.9282 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.8872, allocations: 6.672 kB / 0.9282 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.8873, allocations: 4.656 kB / 0.9283 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.8873, allocations: 2 kB / 0.9283 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.8873, allocations: 0.9375 kB / 0.9283 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.8873, allocations: 0.875 kB / 0.9283 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.469e-05/0.8873, allocations: 71.06 kB / 0.9283 GB, free: 19.96 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.8874, allocations: 90.05 kB / 0.9284 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.8874, allocations: 5.562 kB / 0.9284 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/0.8875, allocations: 1.5 kB / 0.9284 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.151e-05/0.8875, allocations: 3.422 kB / 0.9284 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.8875, allocations: 6.688 kB / 0.9284 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.065e-05/0.8876, allocations: 79.69 kB / 0.9285 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of sort global known variables: time 6.51e-07/0.8876, allocations: 1.094 kB / 0.9285 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000192/0.8878, allocations: 12.12 kB / 0.9285 GB, free: 19.79 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001101/0.8879, allocations: 105.8 kB / 0.9286 GB, free: 19.69 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 8.712e-05/0.888, allocations: 16.06 kB / 0.9286 GB, free: 19.69 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.888, allocations: 1.094 kB / 0.9286 GB, free: 19.69 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-05/0.888, allocations: 6.531 kB / 0.9286 GB, free: 19.69 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.8882, allocations: 4.969 kB / 0.9286 GB, free: 19.69 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002282/0.8885, allocations: 125.7 kB / 0.9288 GB, free: 19.58 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.8887, allocations: 0.6789 MB / 0.9294 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.732e-05/0.8888, allocations: 8.969 kB / 0.9294 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.785e-05/0.8888, allocations: 9.062 kB / 0.9294 GB, free: 18.87 MB / 0.7481 GB Notification: Performance of SimCode: time 2.21e-07/0.8888, allocations: 0 / 0.9294 GB, free: 18.87 MB / 0.7481 GB Notification: Performance of Templates: time 0.002329/0.8911, allocations: 0.5174 MB / 0.9299 GB, free: 18.82 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (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)