Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.684/2.684, allocations: 287.3 MB / 302.3 MB, free: 8.359 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002391/0.002391, allocations: 173.1 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.168/2.168, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 102.5 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000648/0.0006482, allocations: 10.84 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2206, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.8878/1.109, allocations: 125.2 MB / 1.1 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0002552/1.109, allocations: 133 kB / 1.101 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.392e-05/1.109, allocations: 1.375 kB / 1.101 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/1.109, allocations: 0 / 1.101 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 4.435e-05/1.109, allocations: 12.14 kB / 1.101 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007381/1.11, allocations: 138.8 kB / 1.101 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 6.653e-05/1.11, allocations: 18.89 kB / 1.101 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.134e-05/1.11, allocations: 11.88 kB / 1.101 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.776e-05/1.11, allocations: 10.61 kB / 1.101 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.167e-05/1.11, allocations: 12.67 kB / 1.101 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/1.11, allocations: 1.375 kB / 1.101 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004466/1.111, allocations: 101.4 kB / 1.101 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.592e-05/1.111, allocations: 12.86 kB / 1.101 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 9.992e-05/1.111, allocations: 32.36 kB / 1.101 GB, free: 17.95 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/1.111, allocations: 43.08 kB / 1.101 GB, free: 17.95 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/1.111, allocations: 1.5 kB / 1.101 GB, free: 17.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.874e-06/1.111, allocations: 4 kB / 1.101 GB, free: 17.94 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.458e-06/1.111, allocations: 0 / 1.101 GB, free: 17.94 MB / 0.698 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.000448/1.111, allocations: 336.3 kB / 1.101 GB, free: 17.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/1.111, allocations: 9.094 kB / 1.101 GB, free: 17.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003959/1.112, allocations: 27.5 kB / 1.101 GB, free: 17.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/1.112, allocations: 168.9 kB / 1.102 GB, free: 17.39 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.724e-05/1.112, allocations: 31.88 kB / 1.102 GB, free: 17.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/1.112, allocations: 5.312 kB / 1.102 GB, free: 17.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/1.112, allocations: 48.31 kB / 1.102 GB, free: 17.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/1.112, allocations: 0 / 1.102 GB, free: 17.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/1.112, allocations: 0 / 1.102 GB, free: 17.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/1.112, allocations: 6.266 kB / 1.102 GB, free: 17.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.162e-05/1.113, allocations: 24.75 kB / 1.102 GB, free: 17.31 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005132/1.113, allocations: 254.9 kB / 1.102 GB, free: 17.05 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.186e-05/1.113, allocations: 27.67 kB / 1.102 GB, free: 17.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.741e-05/1.113, allocations: 4.797 kB / 1.102 GB, free: 17.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.322e-05/1.113, allocations: 35.98 kB / 1.102 GB, free: 16.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.475e-06/1.113, allocations: 0 / 1.102 GB, free: 16.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0004379/1.114, allocations: 57.2 kB / 1.102 GB, free: 16.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/1.114, allocations: 52.53 kB / 1.102 GB, free: 16.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.769e-05/1.114, allocations: 108.2 kB / 1.102 GB, free: 16.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/1.114, allocations: 26.67 kB / 1.102 GB, free: 16.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.821e-05/1.114, allocations: 90 kB / 1.102 GB, free: 16.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.176e-05/1.114, allocations: 7.344 kB / 1.102 GB, free: 16.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/1.114, allocations: 0 / 1.102 GB, free: 16.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001537/1.114, allocations: 315.1 kB / 1.103 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.976e-05/1.114, allocations: 7.109 kB / 1.103 GB, free: 16.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.848e-05/1.114, allocations: 17.78 kB / 1.103 GB, free: 16.33 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.083e-05/1.114, allocations: 12.28 kB / 1.103 GB, free: 16.32 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.114, allocations: 1.406 kB / 1.103 GB, free: 16.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001366/1.115, allocations: 61.02 kB / 1.103 GB, free: 16.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/1.115, allocations: 4.656 kB / 1.103 GB, free: 16.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/1.115, allocations: 9.359 kB / 1.103 GB, free: 16.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/1.115, allocations: 0 / 1.103 GB, free: 16.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.609e-05/1.115, allocations: 8.406 kB / 1.103 GB, free: 16.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/1.115, allocations: 1.25 kB / 1.103 GB, free: 16.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/1.115, allocations: 1.469 kB / 1.103 GB, free: 16.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/1.115, allocations: 5.375 kB / 1.103 GB, free: 16.27 MB / 0.698 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 0.0001198/1.115, allocations: 115.7 kB / 1.103 GB, free: 16.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/1.115, allocations: 7.297 kB / 1.103 GB, free: 16.15 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.013e-05/1.115, allocations: 8.438 kB / 1.103 GB, free: 16.15 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/1.115, allocations: 5.391 kB / 1.103 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.115, allocations: 0 / 1.103 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/1.115, allocations: 0 / 1.103 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/1.116, allocations: 367.9 kB / 1.103 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/1.116, allocations: 0 / 1.103 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.82e-05/1.116, allocations: 8.266 kB / 1.103 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/1.116, allocations: 0 / 1.103 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/1.116, allocations: 2.438 kB / 1.103 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/1.116, allocations: 4.844 kB / 1.103 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.116, allocations: 1.094 kB / 1.103 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/1.116, allocations: 89.33 kB / 1.103 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.438e-05/1.116, allocations: 78.55 kB / 1.103 GB, free: 15.56 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/1.116, allocations: 3.328 kB / 1.103 GB, free: 15.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/1.116, allocations: 2.75 kB / 1.103 GB, free: 15.56 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/1.116, allocations: 6.922 kB / 1.103 GB, free: 15.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-06/1.116, allocations: 3.359 kB / 1.103 GB, free: 15.56 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.683e-05/1.116, allocations: 88.28 kB / 1.103 GB, free: 15.48 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.116, allocations: 0 / 1.103 GB, free: 15.48 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002715/1.116, allocations: 6.75 kB / 1.103 GB, free: 15.48 MB / 0.698 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.0001698/1.117, allocations: 95.75 kB / 1.104 GB, free: 15.39 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001136/1.117, allocations: 20.47 kB / 1.104 GB, free: 15.39 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.117, allocations: 0 / 1.104 GB, free: 15.39 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.676e-05/1.117, allocations: 13.81 kB / 1.104 GB, free: 15.38 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/1.117, allocations: 12.02 kB / 1.104 GB, free: 15.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/1.117, allocations: 129.8 kB / 1.104 GB, free: 15.26 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/1.118, allocations: 0.6782 MB / 1.104 GB, free: 14.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001019/1.118, allocations: 10.59 kB / 1.104 GB, free: 14.56 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.103e-05/1.118, allocations: 8.812 kB / 1.104 GB, free: 14.55 MB / 0.698 GB Notification: Performance of SimCode: time 1.092e-06/1.118, allocations: 1.375 kB / 1.104 GB, free: 14.55 MB / 0.698 GB Notification: Performance of Templates: time 0.003328/1.121, allocations: 0.5185 MB / 1.105 GB, free: 14.48 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)