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.001188/0.001188, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 196.5 kB / 16.64 MB, free: 6.449 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.505/1.505, allocations: 205.1 MB / 222.5 MB, free: 4.578 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.859/1.859, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001477/0.001477, allocations: 73.61 kB / 0.6722 GB, free: 25.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2834, allocations: 114.5 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.8203/1.104, allocations: 148.3 MB / 0.9289 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001549/1.104, allocations: 54.58 kB / 0.929 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.799e-05/1.104, allocations: 3.938 kB / 0.929 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001346/1.104, allocations: 0.6562 kB / 0.929 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.741e-05/1.104, allocations: 10.88 kB / 0.929 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008518/1.105, allocations: 200.1 kB / 0.9292 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.767e-05/1.105, allocations: 35.89 kB / 0.9292 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.373e-05/1.105, allocations: 7.375 kB / 0.9292 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.043e-05/1.105, allocations: 10.38 kB / 0.9292 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.99e-05/1.105, allocations: 15.14 kB / 0.9292 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/1.105, allocations: 2.625 kB / 0.9292 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004253/1.106, allocations: 198.3 kB / 0.9294 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.819e-05/1.106, allocations: 8.234 kB / 0.9294 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/1.106, allocations: 8.297 kB / 0.9294 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002635/1.106, allocations: 112.3 kB / 0.9295 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/1.106, allocations: 0 / 0.9295 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.824e-06/1.106, allocations: 1.188 kB / 0.9295 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.27e-06/1.106, allocations: 4 kB / 0.9295 GB, free: 3.312 MB / 0.7169 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.000615/1.107, allocations: 340.1 kB / 0.9299 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/1.107, allocations: 14.11 kB / 0.9299 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000359/1.107, allocations: 30.59 kB / 0.9299 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/1.107, allocations: 162 kB / 0.9301 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.078e-05/1.108, allocations: 34.89 kB / 0.9301 GB, free: 18.72 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/1.108, allocations: 0.5625 kB / 0.9301 GB, free: 18.72 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/1.108, allocations: 53.72 kB / 0.9302 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/1.108, allocations: 0 / 0.9302 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/1.108, allocations: 0 / 0.9302 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/1.108, allocations: 8.156 kB / 0.9302 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.183e-05/1.108, allocations: 21.17 kB / 0.9302 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004943/1.108, allocations: 261.2 kB / 0.9304 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.989e-05/1.108, allocations: 29.17 kB / 0.9305 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.264e-05/1.109, allocations: 8.141 kB / 0.9305 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/1.109, allocations: 88.22 kB / 0.9305 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/1.109, allocations: 33.75 kB / 0.9306 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/1.109, allocations: 0 / 0.9306 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002518/1.109, allocations: 54.41 kB / 0.9306 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/1.109, allocations: 54.64 kB / 0.9307 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.09e-05/1.109, allocations: 109.8 kB / 0.9308 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/1.109, allocations: 25.7 kB / 0.9308 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.18e-05/1.109, allocations: 91.31 kB / 0.9309 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.785e-06/1.109, allocations: 5.797 kB / 0.9309 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/1.109, allocations: 16.56 kB / 0.9309 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001166/1.109, allocations: 314.2 kB / 0.9312 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.716e-05/1.109, allocations: 7.453 kB / 0.9312 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.98e-05/1.109, allocations: 25.45 kB / 0.9313 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.154e-05/1.109, allocations: 35.34 kB / 0.9313 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/1.11, allocations: 0 / 0.9313 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.404e-05/1.11, allocations: 56.44 kB / 0.9313 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/1.11, allocations: 5.953 kB / 0.9313 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/1.11, allocations: 3.25 kB / 0.9313 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/1.11, allocations: 1.203 kB / 0.9314 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.085e-05/1.11, allocations: 6.469 kB / 0.9314 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/1.11, allocations: 2.625 kB / 0.9314 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.167e-05/1.11, allocations: 8.5 kB / 0.9314 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/1.11, allocations: 4.375 kB / 0.9314 GB, free: 17.48 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.253e-05/1.11, allocations: 117.8 kB / 0.9315 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/1.11, allocations: 7.328 kB / 0.9315 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.607e-05/1.11, allocations: 3.688 kB / 0.9315 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/1.11, allocations: 0 / 0.9315 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.11, allocations: 0 / 0.9315 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/1.11, allocations: 4.5 kB / 0.9315 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000335/1.11, allocations: 360.8 kB / 0.9318 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/1.11, allocations: 4.547 kB / 0.9318 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.437e-05/1.11, allocations: 7.297 kB / 0.9319 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/1.11, allocations: 3.938 kB / 0.9319 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/1.11, allocations: 2.625 kB / 0.9319 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/1.11, allocations: 0.5156 kB / 0.9319 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.11, allocations: 0 / 0.9319 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.939e-05/1.11, allocations: 70.91 kB / 0.9319 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/1.111, allocations: 88.38 kB / 0.932 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/1.111, allocations: 6.438 kB / 0.932 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.385e-05/1.111, allocations: 3.938 kB / 0.932 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/1.111, allocations: 4.469 kB / 0.932 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-06/1.111, allocations: 3.938 kB / 0.932 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.298e-05/1.111, allocations: 80.06 kB / 0.9321 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.111, allocations: 0 / 0.9321 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001942/1.111, allocations: 11.81 kB / 0.9321 GB, free: 16.7 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.0001366/1.111, allocations: 107.2 kB / 0.9322 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.09e-05/1.111, allocations: 13.2 kB / 0.9322 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.111, allocations: 0 / 0.9322 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.24e-05/1.111, allocations: 10.47 kB / 0.9322 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/1.111, allocations: 8.656 kB / 0.9323 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/1.112, allocations: 123.3 kB / 0.9324 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/1.112, allocations: 0.6767 MB / 0.933 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.655e-05/1.112, allocations: 11.05 kB / 0.933 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.347e-05/1.112, allocations: 7.438 kB / 0.933 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/1.112, allocations: 3.938 kB / 0.9331 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of Templates: time 0.003203/1.115, allocations: 0.5344 MB / 0.9336 GB, free: 15.72 MB / 0.7325 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)