Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 99.39 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.683/1.683, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0005277/0.0005278, allocations: 13.28 kB / 0.6735 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3248, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.7426/1.067, allocations: 124.9 MB / 0.9091 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002567/1.068, allocations: 130.8 kB / 0.9092 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.51e-05/1.068, allocations: 4 kB / 0.9092 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001237/1.068, allocations: 4.953 kB / 0.9092 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.088e-05/1.068, allocations: 6.359 kB / 0.9092 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003786/1.068, allocations: 71.55 kB / 0.9093 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.335e-05/1.068, allocations: 25.22 kB / 0.9093 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/1.068, allocations: 1.375 kB / 0.9093 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.061e-05/1.069, allocations: 11.61 kB / 0.9093 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.635e-05/1.069, allocations: 6.953 kB / 0.9093 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/1.069, allocations: 1.094 kB / 0.9093 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002335/1.069, allocations: 57.34 kB / 0.9094 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.178e-05/1.069, allocations: 5.797 kB / 0.9094 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002194/1.069, allocations: 29.02 kB / 0.9094 GB, free: 22 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/1.069, allocations: 33.22 kB / 0.9094 GB, free: 22 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/1.069, allocations: 0.9375 kB / 0.9094 GB, free: 22 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.593e-06/1.069, allocations: 0 / 0.9094 GB, free: 22 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.988e-06/1.069, allocations: 0 / 0.9094 GB, free: 22 MB / 0.7325 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.0004336/1.07, allocations: 330.6 kB / 0.9098 GB, free: 21.65 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/1.07, allocations: 15.7 kB / 0.9098 GB, free: 21.64 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002814/1.07, allocations: 22 kB / 0.9098 GB, free: 21.64 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/1.07, allocations: 168.4 kB / 0.91 GB, free: 21.44 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.061e-05/1.07, allocations: 28.12 kB / 0.91 GB, free: 21.41 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/1.07, allocations: 2.75 kB / 0.91 GB, free: 21.41 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/1.07, allocations: 47 kB / 0.91 GB, free: 21.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/1.07, allocations: 0 / 0.91 GB, free: 21.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/1.071, allocations: 5.812 kB / 0.91 GB, free: 21.38 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/1.071, allocations: 2.469 kB / 0.91 GB, free: 21.38 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.108e-05/1.071, allocations: 26.3 kB / 0.9101 GB, free: 21.37 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/1.071, allocations: 254.3 kB / 0.9103 GB, free: 21.11 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.735e-05/1.071, allocations: 16.58 kB / 0.9103 GB, free: 21.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.724e-06/1.071, allocations: 1.688 kB / 0.9103 GB, free: 21.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/1.071, allocations: 35.44 kB / 0.9104 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.303e-06/1.071, allocations: 3 kB / 0.9104 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001378/1.071, allocations: 36.03 kB / 0.9104 GB, free: 21.01 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/1.071, allocations: 52.92 kB / 0.9104 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.511e-05/1.071, allocations: 110 kB / 0.9105 GB, free: 20.85 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/1.071, allocations: 25.7 kB / 0.9106 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/1.071, allocations: 95.05 kB / 0.9107 GB, free: 20.72 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.853e-06/1.072, allocations: 5.953 kB / 0.9107 GB, free: 20.72 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/1.072, allocations: 3.625 kB / 0.9107 GB, free: 20.72 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000117/1.072, allocations: 315.3 kB / 0.911 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.575e-05/1.072, allocations: 7.375 kB / 0.911 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.513e-05/1.072, allocations: 24.3 kB / 0.911 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.528e-05/1.072, allocations: 6.203 kB / 0.911 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.072, allocations: 4 kB / 0.911 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.432e-05/1.072, allocations: 51.59 kB / 0.9111 GB, free: 20.35 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/1.072, allocations: 6.281 kB / 0.9111 GB, free: 20.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/1.072, allocations: 5.094 kB / 0.9111 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/1.072, allocations: 5.562 kB / 0.9111 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.674e-05/1.072, allocations: 12.19 kB / 0.9111 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/1.072, allocations: 1.969 kB / 0.9111 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.257e-05/1.072, allocations: 5.594 kB / 0.9111 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/1.072, allocations: 2.062 kB / 0.9111 GB, free: 20.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.818e-05/1.072, allocations: 113 kB / 0.9112 GB, free: 20.22 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/1.072, allocations: 1.344 kB / 0.9112 GB, free: 20.22 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.04e-05/1.072, allocations: 8.547 kB / 0.9112 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/1.072, allocations: 4.922 kB / 0.9112 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.072, allocations: 0 / 0.9112 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/1.072, allocations: 0.8438 kB / 0.9112 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002865/1.072, allocations: 343.7 kB / 0.9116 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/1.072, allocations: 5.219 kB / 0.9116 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.609e-05/1.073, allocations: 1.75 kB / 0.9116 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/1.073, allocations: 4.609 kB / 0.9116 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-06/1.073, allocations: 2.625 kB / 0.9116 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/1.073, allocations: 0.7188 kB / 0.9116 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.073, allocations: 0.6094 kB / 0.9116 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.915e-05/1.073, allocations: 64.42 kB / 0.9116 GB, free: 19.76 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.226e-05/1.073, allocations: 82.23 kB / 0.9117 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/1.073, allocations: 5.531 kB / 0.9117 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.068e-05/1.073, allocations: 5.328 kB / 0.9117 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.5e-05/1.073, allocations: 0.6562 kB / 0.9117 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/1.073, allocations: 1.469 kB / 0.9117 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.678e-05/1.073, allocations: 85.2 kB / 0.9118 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/1.073, allocations: 0 / 0.9118 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002239/1.073, allocations: 6.812 kB / 0.9118 GB, free: 19.59 MB / 0.7325 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.0001484/1.073, allocations: 101.3 kB / 0.9119 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.922e-05/1.073, allocations: 16.14 kB / 0.9119 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/1.073, allocations: 0.75 kB / 0.9119 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.023e-06/1.073, allocations: 2.266 kB / 0.9119 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/1.074, allocations: 6.016 kB / 0.9119 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/1.074, allocations: 135.3 kB / 0.9121 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/1.074, allocations: 0.6777 MB / 0.9127 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.106e-05/1.074, allocations: 6.781 kB / 0.9127 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.182e-05/1.075, allocations: 8.875 kB / 0.9127 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/1.075, allocations: 0 / 0.9127 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of Templates: time 0.002846/1.077, allocations: 423.7 kB / 0.9131 GB, free: 18.64 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: