Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.333/2.333, allocations: 391.2 MB / 407 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 197.3 kB / 499.1 MB, free: 4.676 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.749/1.749, allocations: 222.9 MB / 0.7948 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009945/0.0009944, allocations: 122.2 kB / 0.9329 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001051, allocations: 52.39 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2547, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1287/0.3834, allocations: 146 MB / 1.361 GB, free: 2.641 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001189/0.3836, allocations: 47.86 kB / 1.361 GB, free: 2.594 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.865e-05/0.3837, allocations: 4 kB / 1.361 GB, free: 2.59 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.3838, allocations: 3.984 kB / 1.361 GB, free: 2.586 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.378e-05/0.3839, allocations: 7.922 kB / 1.361 GB, free: 2.578 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006939/0.3846, allocations: 207 kB / 1.361 GB, free: 2.379 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.197e-05/0.3847, allocations: 67.73 kB / 1.361 GB, free: 2.312 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.523e-05/0.3847, allocations: 4 kB / 1.361 GB, free: 2.309 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.219e-05/0.3847, allocations: 12 kB / 1.361 GB, free: 2.297 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.514e-05/0.3848, allocations: 19.86 kB / 1.361 GB, free: 2.277 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.3848, allocations: 0 / 1.361 GB, free: 2.277 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004309/0.3853, allocations: 231.4 kB / 1.361 GB, free: 2.051 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.954e-05/0.3853, allocations: 11.92 kB / 1.361 GB, free: 2.039 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.3854, allocations: 15.92 kB / 1.361 GB, free: 2.023 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.3856, allocations: 121.9 kB / 1.361 GB, free: 1.906 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3856, allocations: 0 / 1.361 GB, free: 1.906 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3856, allocations: 0 / 1.361 GB, free: 1.906 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.3856, allocations: 0 / 1.361 GB, free: 1.906 MB / 0.8542 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.0004019/0.3861, allocations: 347.4 kB / 1.362 GB, free: 1.52 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3861, allocations: 11.98 kB / 1.362 GB, free: 1.508 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002968/0.3864, allocations: 32.91 kB / 1.362 GB, free: 1.477 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.3865, allocations: 164.4 kB / 1.362 GB, free: 1.277 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.279e-05/0.3866, allocations: 29.64 kB / 1.362 GB, free: 1.242 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.3866, allocations: 4 kB / 1.362 GB, free: 1.238 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.3868, allocations: 45.69 kB / 1.362 GB, free: 1.188 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3868, allocations: 3.984 kB / 1.362 GB, free: 1.184 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.3868, allocations: 0 / 1.362 GB, free: 1.184 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.3868, allocations: 7.938 kB / 1.362 GB, free: 1.176 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.047e-05/0.3869, allocations: 27.97 kB / 1.362 GB, free: 1.148 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003132/0.3872, allocations: 256.9 kB / 1.362 GB, free: 0.8477 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.838e-05/0.3872, allocations: 22.61 kB / 1.362 GB, free: 0.8164 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.586e-05/0.3873, allocations: 12.92 kB / 1.362 GB, free: 0.8008 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001369/0.3874, allocations: 93.09 kB / 1.362 GB, free: 0.6914 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.3874, allocations: 34.5 kB / 1.362 GB, free: 0.6484 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3875, allocations: 0 / 1.362 GB, free: 0.6484 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0002275/0.3877, allocations: 53.59 kB / 1.362 GB, free: 0.5898 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.3877, allocations: 51.41 kB / 1.363 GB, free: 0.5273 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.976e-05/0.3878, allocations: 109.8 kB / 1.363 GB, free: 420 kB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.3878, allocations: 29.83 kB / 1.363 GB, free: 384 kB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.3879, allocations: 84.08 kB / 1.363 GB, free: 296 kB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.646e-06/0.3879, allocations: 7.906 kB / 1.363 GB, free: 288 kB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.3879, allocations: 13.72 kB / 1.363 GB, free: 268 kB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.388, allocations: 318.8 kB / 1.363 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.476e-05/0.3881, allocations: 3.984 kB / 1.363 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.815e-05/0.3881, allocations: 26.53 kB / 1.363 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.533e-05/0.3881, allocations: 34.56 kB / 1.363 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.3881, allocations: 0 / 1.363 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.348e-05/0.3882, allocations: 53.55 kB / 1.363 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.3882, allocations: 7.938 kB / 1.363 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3883, allocations: 0 / 1.363 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3883, allocations: 7.984 kB / 1.363 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.248e-05/0.3883, allocations: 8.094 kB / 1.363 GB, free: 15.78 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.3883, allocations: 11.81 kB / 1.363 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.848e-05/0.3884, allocations: 8 kB / 1.363 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.3884, allocations: 0 / 1.363 GB, free: 15.76 MB / 0.8698 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.943e-05/0.3885, allocations: 110.5 kB / 1.363 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.3885, allocations: 0 / 1.363 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/0.3885, allocations: 7.125 kB / 1.363 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3885, allocations: 4 kB / 1.363 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.3885, allocations: 7.922 kB / 1.363 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.3886, allocations: 4 kB / 1.363 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.3888, allocations: 355.6 kB / 1.364 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3888, allocations: 0 / 1.364 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.516e-05/0.3888, allocations: 7.984 kB / 1.364 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.3889, allocations: 3.938 kB / 1.364 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.3889, allocations: 4 kB / 1.364 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3889, allocations: 4 kB / 1.364 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3889, allocations: 4.062 kB / 1.364 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.3892, allocations: 0.6208 MB / 1.364 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.152e-05/0.3892, allocations: 77.11 kB / 1.364 GB, free: 14.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.3893, allocations: 4 kB / 1.364 GB, free: 14.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.933e-05/0.3893, allocations: 8.016 kB / 1.364 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.238e-05/0.3894, allocations: 4 kB / 1.364 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.3894, allocations: 0 / 1.364 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.098e-05/0.3894, allocations: 79.28 kB / 1.364 GB, free: 14.31 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.242e-06/0.3894, allocations: 0 / 1.364 GB, free: 14.31 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002762/0.3897, allocations: 15.88 kB / 1.365 GB, free: 14.29 MB / 0.8698 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.0001193/0.3898, allocations: 103.7 kB / 1.365 GB, free: 14.18 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.042e-05/0.3899, allocations: 16 kB / 1.365 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3899, allocations: 0 / 1.365 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.31e-05/0.3899, allocations: 11.94 kB / 1.365 GB, free: 14.15 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.3902, allocations: 3.984 kB / 1.365 GB, free: 14.15 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003205/0.3905, allocations: 232.1 kB / 1.365 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.3907, allocations: 0.6809 MB / 1.366 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.693e-05/0.3908, allocations: 7.984 kB / 1.366 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.821e-05/0.3908, allocations: 7.438 kB / 1.366 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of SimCode: time 2e-07/0.3908, allocations: 0 / 1.366 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of Templates: time 0.0023/0.3931, allocations: 0.5651 MB / 1.366 GB, free: 12.59 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)