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.001039/0.001039, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.006194/0.006194, allocations: 169 kB / 16.26 MB, free: 6.652 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.422/1.422, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.768/1.768, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005001/0.0004999, allocations: 13.09 kB / 0.6743 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2592, allocations: 116.3 MB / 0.7879 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.6201/0.8793, allocations: 144.2 MB / 0.9286 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001165/0.8795, allocations: 49.25 kB / 0.9287 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.133e-05/0.8795, allocations: 0 / 0.9287 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.8797, allocations: 4.5 kB / 0.9287 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.828e-05/0.8798, allocations: 11.75 kB / 0.9287 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008592/0.8806, allocations: 191.3 kB / 0.9289 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.8807, allocations: 56.56 kB / 0.9289 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.014e-05/0.8808, allocations: 2.859 kB / 0.9289 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.584e-05/0.8808, allocations: 12.8 kB / 0.9289 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.854e-05/0.8809, allocations: 10.67 kB / 0.929 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.881, allocations: 2.938 kB / 0.929 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005515/0.8815, allocations: 230.8 kB / 0.9292 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.899e-05/0.8816, allocations: 10.33 kB / 0.9292 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.8817, allocations: 35.3 kB / 0.9292 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.882, allocations: 129.4 kB / 0.9293 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.882, allocations: 2.094 kB / 0.9294 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8821, allocations: 0 / 0.9294 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.8821, allocations: 0 / 0.9294 GB, free: 17.78 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.0003855/0.8825, allocations: 335.6 kB / 0.9297 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.8825, allocations: 8.812 kB / 0.9297 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000332/0.8828, allocations: 26.58 kB / 0.9297 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.883, allocations: 172.4 kB / 0.9299 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.504e-05/0.8831, allocations: 38.09 kB / 0.9299 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.8831, allocations: 0 / 0.9299 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.8832, allocations: 47.2 kB / 0.93 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.8832, allocations: 0 / 0.93 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.8833, allocations: 3.938 kB / 0.93 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.8833, allocations: 3.625 kB / 0.93 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.384e-05/0.8833, allocations: 22.05 kB / 0.93 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.8837, allocations: 257.9 kB / 0.9302 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.573e-05/0.8837, allocations: 26.55 kB / 0.9303 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.204e-05/0.8838, allocations: 12.41 kB / 0.9303 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001614/0.8839, allocations: 95.33 kB / 0.9304 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.884, allocations: 35.12 kB / 0.9304 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.884, allocations: 0 / 0.9304 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002442/0.8842, allocations: 51.09 kB / 0.9304 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.8843, allocations: 55.55 kB / 0.9305 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.323e-05/0.8844, allocations: 107.7 kB / 0.9306 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.8844, allocations: 25.7 kB / 0.9306 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/0.8845, allocations: 91.95 kB / 0.9307 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.812e-06/0.8845, allocations: 4.031 kB / 0.9307 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.8845, allocations: 14.33 kB / 0.9307 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.8847, allocations: 319 kB / 0.931 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.83e-05/0.8847, allocations: 3.484 kB / 0.931 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.168e-05/0.8847, allocations: 23.16 kB / 0.9311 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.818e-05/0.8848, allocations: 36.58 kB / 0.9311 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8848, allocations: 0 / 0.9311 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001132/0.8849, allocations: 54.55 kB / 0.9311 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.8849, allocations: 5.875 kB / 0.9311 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.8849, allocations: 0 / 0.9311 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.8849, allocations: 2.781 kB / 0.9311 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.986e-05/0.885, allocations: 7.859 kB / 0.9312 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.885, allocations: 0 / 0.9312 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.317e-05/0.8851, allocations: 9.844 kB / 0.9312 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.8851, allocations: 6.906 kB / 0.9312 GB, free: 15.95 MB / 0.7325 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 8.13e-05/0.8852, allocations: 115.4 kB / 0.9313 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.8852, allocations: 288 / 0.9313 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.8852, allocations: 8.578 kB / 0.9313 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.8852, allocations: 3.984 kB / 0.9313 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.8852, allocations: 0 / 0.9313 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.8853, allocations: 3.938 kB / 0.9313 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.8855, allocations: 367 kB / 0.9316 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.8856, allocations: 0 / 0.9316 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.506e-05/0.8856, allocations: 4.438 kB / 0.9316 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.8856, allocations: 3.938 kB / 0.9317 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.8856, allocations: 6.156 kB / 0.9317 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.8856, allocations: 0 / 0.9317 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.8856, allocations: 0 / 0.9317 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.815e-05/0.8857, allocations: 80.92 kB / 0.9317 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-05/0.8857, allocations: 81.02 kB / 0.9318 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.8858, allocations: 7.844 kB / 0.9318 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.69e-05/0.8858, allocations: 6.453 kB / 0.9318 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.269e-05/0.8859, allocations: 2.062 kB / 0.9318 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.8859, allocations: 0 / 0.9318 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.653e-05/0.8859, allocations: 87 kB / 0.9319 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8859, allocations: 32 / 0.9319 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002013/0.8861, allocations: 9.438 kB / 0.9319 GB, free: 15.16 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 (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.0001447/0.8863, allocations: 104 kB / 0.932 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.346e-05/0.8864, allocations: 18.81 kB / 0.932 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8864, allocations: 0 / 0.932 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.056e-05/0.8864, allocations: 7.312 kB / 0.932 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.8866, allocations: 9.312 kB / 0.9321 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.8869, allocations: 131.1 kB / 0.9322 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.8872, allocations: 0.6774 MB / 0.9328 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.441e-05/0.8873, allocations: 10.02 kB / 0.9329 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.874e-05/0.8873, allocations: 7.438 kB / 0.9329 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.8873, allocations: 0 / 0.9329 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of Templates: time 0.002704/0.8901, allocations: 0.5159 MB / 0.9334 GB, free: 14.17 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: