Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.662/2.662, allocations: 287.3 MB / 302.3 MB, free: 8.305 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.002006/0.002006, allocations: 198.2 kB / 370.8 MB, free: 10.84 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.235/2.235, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001189/0.001189, allocations: 97.91 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004972/0.0004973, allocations: 11.23 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2113, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.8455/1.057, allocations: 124.9 MB / 1.1 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0002722/1.057, allocations: 129.5 kB / 1.1 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.15e-05/1.057, allocations: 0 / 1.1 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001133/1.057, allocations: 1.281 kB / 1.1 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 4.255e-05/1.057, allocations: 10.33 kB / 1.1 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/1.058, allocations: 74.33 kB / 1.1 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 6.854e-05/1.058, allocations: 18.03 kB / 1.1 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.61e-05/1.058, allocations: 1.25 kB / 1.1 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.299e-05/1.058, allocations: 14.92 kB / 1.1 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.183e-05/1.058, allocations: 11.91 kB / 1.1 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/1.058, allocations: 1.531 kB / 1.1 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002643/1.058, allocations: 45.47 kB / 1.1 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.681e-05/1.059, allocations: 15.62 kB / 1.1 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 9.97e-05/1.059, allocations: 28.27 kB / 1.1 GB, free: 17.95 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/1.059, allocations: 27.03 kB / 1.101 GB, free: 17.95 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/1.059, allocations: 0 / 1.101 GB, free: 17.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.366e-06/1.059, allocations: 0 / 1.101 GB, free: 17.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.371e-06/1.059, allocations: 1.859 kB / 1.101 GB, free: 17.95 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.0004295/1.059, allocations: 335.2 kB / 1.101 GB, free: 17.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/1.059, allocations: 12.95 kB / 1.101 GB, free: 17.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003413/1.06, allocations: 32.62 kB / 1.101 GB, free: 17.58 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/1.06, allocations: 166.9 kB / 1.101 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.037e-05/1.06, allocations: 28.36 kB / 1.101 GB, free: 17.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/1.06, allocations: 8.016 kB / 1.101 GB, free: 17.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/1.06, allocations: 46.92 kB / 1.101 GB, free: 17.31 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/1.06, allocations: 0 / 1.101 GB, free: 17.31 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/1.06, allocations: 1.281 kB / 1.101 GB, free: 17.31 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/1.06, allocations: 5.328 kB / 1.101 GB, free: 17.31 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.205e-05/1.06, allocations: 30.48 kB / 1.101 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005165/1.061, allocations: 248.8 kB / 1.101 GB, free: 17.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.295e-05/1.061, allocations: 20.28 kB / 1.101 GB, free: 17.01 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.171e-06/1.061, allocations: 1.969 kB / 1.101 GB, free: 17.01 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/1.061, allocations: 43.2 kB / 1.101 GB, free: 16.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 2.104e-06/1.061, allocations: 0 / 1.101 GB, free: 16.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001553/1.061, allocations: 35.14 kB / 1.101 GB, free: 16.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/1.061, allocations: 51.41 kB / 1.102 GB, free: 16.87 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/1.061, allocations: 105.1 kB / 1.102 GB, free: 16.77 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/1.061, allocations: 25.7 kB / 1.102 GB, free: 16.74 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/1.061, allocations: 97.7 kB / 1.102 GB, free: 16.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.113e-06/1.061, allocations: 2.297 kB / 1.102 GB, free: 16.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/1.061, allocations: 1.375 kB / 1.102 GB, free: 16.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.062, allocations: 318 kB / 1.102 GB, free: 16.33 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.354e-05/1.062, allocations: 5.656 kB / 1.102 GB, free: 16.33 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.532e-05/1.062, allocations: 22.77 kB / 1.102 GB, free: 16.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.408e-05/1.062, allocations: 5.5 kB / 1.102 GB, free: 16.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.062, allocations: 0 / 1.102 GB, free: 16.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001247/1.062, allocations: 59.2 kB / 1.102 GB, free: 16.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/1.062, allocations: 11.33 kB / 1.102 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.062, allocations: 3.234 kB / 1.102 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/1.062, allocations: 4.328 kB / 1.102 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/1.062, allocations: 9.438 kB / 1.102 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/1.062, allocations: 1.375 kB / 1.102 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.183e-05/1.062, allocations: 5.281 kB / 1.102 GB, free: 16.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/1.062, allocations: 1.375 kB / 1.102 GB, free: 16.25 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.861e-05/1.062, allocations: 110.7 kB / 1.102 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/1.062, allocations: 5.375 kB / 1.102 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.526e-05/1.062, allocations: 10.8 kB / 1.102 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/1.062, allocations: 0 / 1.102 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.062, allocations: 0 / 1.102 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/1.062, allocations: 1.375 kB / 1.102 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003384/1.063, allocations: 351.5 kB / 1.103 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/1.063, allocations: 0 / 1.103 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.401e-05/1.063, allocations: 5.328 kB / 1.103 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/1.063, allocations: 7.969 kB / 1.103 GB, free: 15.74 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/1.063, allocations: 1.375 kB / 1.103 GB, free: 15.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/1.063, allocations: 1.859 kB / 1.103 GB, free: 15.74 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.063, allocations: 0 / 1.103 GB, free: 15.74 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.286e-05/1.063, allocations: 57.27 kB / 1.103 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/1.063, allocations: 78.48 kB / 1.103 GB, free: 15.58 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/1.063, allocations: 5.328 kB / 1.103 GB, free: 15.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/1.063, allocations: 8.469 kB / 1.103 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.441e-05/1.063, allocations: 3.953 kB / 1.103 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/1.063, allocations: 0 / 1.103 GB, free: 15.57 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.413e-05/1.063, allocations: 82.59 kB / 1.103 GB, free: 15.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.172e-06/1.063, allocations: 1.375 kB / 1.103 GB, free: 15.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002511/1.064, allocations: 9.438 kB / 1.103 GB, free: 15.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0001626/1.064, allocations: 98.47 kB / 1.103 GB, free: 15.41 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.861e-05/1.064, allocations: 15.19 kB / 1.103 GB, free: 15.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.064, allocations: 1.375 kB / 1.103 GB, free: 15.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.798e-06/1.064, allocations: 1.375 kB / 1.103 GB, free: 15.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/1.064, allocations: 7.734 kB / 1.103 GB, free: 15.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002757/1.064, allocations: 128.4 kB / 1.103 GB, free: 15.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/1.065, allocations: 0.6767 MB / 1.104 GB, free: 14.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.552e-05/1.065, allocations: 10.33 kB / 1.104 GB, free: 14.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/1.065, allocations: 8.812 kB / 1.104 GB, free: 14.58 MB / 0.698 GB Notification: Performance of SimCode: time 6.32e-07/1.065, allocations: 0 / 1.104 GB, free: 14.58 MB / 0.698 GB Notification: Performance of Templates: time 0.002957/1.068, allocations: 440.6 kB / 1.104 GB, free: 14.53 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)