Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.701/1.701, allocations: 288.4 MB / 303.7 MB, free: 8.207 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.0013/0.0013, allocations: 194 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.4 MB / 0.631 GB, free: 9.875 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.0008584/0.0008584, allocations: 86.34 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004246/0.0004246, allocations: 11.31 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2267, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.6774/0.9041, allocations: 134.4 MB / 1.111 GB, free: 2.781 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0001212/0.9043, allocations: 52.55 kB / 1.111 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.26e-05/0.9043, allocations: 1.75 kB / 1.111 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.9044, allocations: 2.562 kB / 1.111 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 8.88e-05/0.9045, allocations: 13.55 kB / 1.111 GB, free: 2.766 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007149/0.9053, allocations: 183 kB / 1.112 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 9.909e-05/0.9054, allocations: 48.95 kB / 1.112 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.9054, allocations: 4.094 kB / 1.112 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.599e-05/0.9055, allocations: 12.77 kB / 1.112 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.17e-05/0.9055, allocations: 13.19 kB / 1.112 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.9056, allocations: 1.719 kB / 1.112 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004514/0.906, allocations: 227.4 kB / 1.112 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.612e-05/0.9061, allocations: 8.844 kB / 1.112 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.9062, allocations: 36.03 kB / 1.112 GB, free: 18.66 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.9064, allocations: 78.69 kB / 1.112 GB, free: 18.66 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.9064, allocations: 4 kB / 1.112 GB, free: 18.66 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9064, allocations: 1.031 kB / 1.112 GB, free: 18.66 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.9064, allocations: 0 / 1.112 GB, free: 18.66 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.0003668/0.9068, allocations: 339.4 kB / 1.112 GB, free: 18.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.9068, allocations: 9 kB / 1.112 GB, free: 18.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003042/0.9072, allocations: 23.56 kB / 1.112 GB, free: 18.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.689e-05/0.9073, allocations: 166.6 kB / 1.113 GB, free: 18.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.044e-05/0.9073, allocations: 40.12 kB / 1.113 GB, free: 18.06 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.9073, allocations: 0 / 1.113 GB, free: 18.06 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.9075, allocations: 51.48 kB / 1.113 GB, free: 18.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.9075, allocations: 0 / 1.113 GB, free: 18.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.9075, allocations: 1.094 kB / 1.113 GB, free: 18.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.9076, allocations: 3.547 kB / 1.113 GB, free: 18.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.338e-05/0.9076, allocations: 23.25 kB / 1.113 GB, free: 18.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.9079, allocations: 257.7 kB / 1.113 GB, free: 17.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.762e-05/0.908, allocations: 28.14 kB / 1.113 GB, free: 17.73 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.984e-05/0.908, allocations: 7.609 kB / 1.113 GB, free: 17.72 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/0.9082, allocations: 90.73 kB / 1.113 GB, free: 17.62 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.9082, allocations: 35.56 kB / 1.113 GB, free: 17.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.9082, allocations: 5.062 kB / 1.113 GB, free: 17.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000222/0.9085, allocations: 46.34 kB / 1.113 GB, free: 17.55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.9085, allocations: 52.11 kB / 1.113 GB, free: 17.49 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.794e-05/0.9086, allocations: 109 kB / 1.113 GB, free: 17.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.9086, allocations: 25.7 kB / 1.113 GB, free: 17.35 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/0.9087, allocations: 91.34 kB / 1.113 GB, free: 17.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.525e-06/0.9087, allocations: 10.16 kB / 1.113 GB, free: 17.26 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-06/0.9087, allocations: 5.25 kB / 1.113 GB, free: 17.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.663e-05/0.9088, allocations: 315.8 kB / 1.114 GB, free: 16.94 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.595e-05/0.9088, allocations: 5.312 kB / 1.114 GB, free: 16.94 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.655e-05/0.9088, allocations: 25.03 kB / 1.114 GB, free: 16.92 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.968e-05/0.9089, allocations: 27.28 kB / 1.114 GB, free: 16.89 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.9089, allocations: 4 kB / 1.114 GB, free: 16.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.073e-05/0.909, allocations: 56.25 kB / 1.114 GB, free: 16.85 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.909, allocations: 5.312 kB / 1.114 GB, free: 16.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.443e-06/0.909, allocations: 1.969 kB / 1.114 GB, free: 16.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.909, allocations: 1.578 kB / 1.114 GB, free: 16.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.094e-05/0.9091, allocations: 9.391 kB / 1.114 GB, free: 16.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.9091, allocations: 1.75 kB / 1.114 GB, free: 16.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.926e-05/0.9091, allocations: 9.125 kB / 1.114 GB, free: 16.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.9092, allocations: 2.406 kB / 1.114 GB, free: 16.84 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 6.976e-05/0.9092, allocations: 113.4 kB / 1.114 GB, free: 16.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.9093, allocations: 1.188 kB / 1.114 GB, free: 16.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.215e-05/0.9093, allocations: 7.5 kB / 1.114 GB, free: 16.72 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.9093, allocations: 3.656 kB / 1.114 GB, free: 16.72 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.9093, allocations: 0 / 1.114 GB, free: 16.72 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.9093, allocations: 7.875 kB / 1.114 GB, free: 16.71 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.9096, allocations: 368 kB / 1.114 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.9096, allocations: 0 / 1.114 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.629e-05/0.9096, allocations: 3.641 kB / 1.114 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.9096, allocations: 5.188 kB / 1.114 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.9097, allocations: 1.953 kB / 1.114 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.9097, allocations: 0 / 1.114 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/0.9097, allocations: 6.078 kB / 1.114 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.811e-05/0.9097, allocations: 72.52 kB / 1.114 GB, free: 16.24 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.9098, allocations: 82.92 kB / 1.115 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.9098, allocations: 6.078 kB / 1.115 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.788e-05/0.9099, allocations: 9.438 kB / 1.115 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.9099, allocations: 2.391 kB / 1.115 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.9099, allocations: 0 / 1.115 GB, free: 16.14 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.429e-05/0.91, allocations: 81.89 kB / 1.115 GB, free: 16.06 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.91, allocations: 0 / 1.115 GB, free: 16.06 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001815/0.9101, allocations: 11.16 kB / 1.115 GB, free: 16.06 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.0001384/0.9103, allocations: 104.1 kB / 1.115 GB, free: 15.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.467e-05/0.9104, allocations: 17.39 kB / 1.115 GB, free: 15.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9104, allocations: 3.312 kB / 1.115 GB, free: 15.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.368e-06/0.9104, allocations: 4.031 kB / 1.115 GB, free: 15.96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.9106, allocations: 9.719 kB / 1.115 GB, free: 15.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002249/0.9108, allocations: 132.5 kB / 1.115 GB, free: 15.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.9111, allocations: 0.6749 MB / 1.116 GB, free: 15.14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.086e-05/0.9111, allocations: 9.875 kB / 1.116 GB, free: 15.14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.845e-05/0.9112, allocations: 11.38 kB / 1.116 GB, free: 15.13 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.9112, allocations: 0 / 1.116 GB, free: 15.13 MB / 0.698 GB Notification: Performance of Templates: time 0.00244/0.9136, allocations: 0.5017 MB / 1.116 GB, free: 15.07 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)