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.001019/0.001019, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.008176/0.008176, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.431/1.431, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.679/1.679, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005461/0.0005462, allocations: 10.72 kB / 0.6743 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2421, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5874/0.8295, allocations: 143.7 MB / 0.9282 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001127/0.8297, allocations: 52.48 kB / 0.9283 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.199e-05/0.8297, allocations: 0 / 0.9283 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.8298, allocations: 0.7969 kB / 0.9283 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.086e-05/0.8299, allocations: 20.97 kB / 0.9283 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.8304, allocations: 83.06 kB / 0.9284 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.8305, allocations: 61.56 kB / 0.9284 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.815e-05/0.8305, allocations: 0.6562 kB / 0.9284 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.19e-05/0.8306, allocations: 14.69 kB / 0.9284 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.083e-05/0.8307, allocations: 14.59 kB / 0.9285 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.8307, allocations: 2.938 kB / 0.9285 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002547/0.8309, allocations: 81.88 kB / 0.9285 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.547e-05/0.831, allocations: 9.531 kB / 0.9285 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001974/0.8312, allocations: 36.03 kB / 0.9286 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.8314, allocations: 68.86 kB / 0.9286 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.8314, allocations: 0 / 0.9286 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8314, allocations: 0 / 0.9286 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.8314, allocations: 0.6562 kB / 0.9286 GB, free: 17.86 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.0004191/0.8318, allocations: 332.7 kB / 0.929 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.8319, allocations: 11.91 kB / 0.929 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000231/0.8321, allocations: 28.31 kB / 0.929 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.8322, allocations: 165.3 kB / 0.9292 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.661e-05/0.8323, allocations: 33.14 kB / 0.9292 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.8323, allocations: 0 / 0.9292 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.8325, allocations: 55.64 kB / 0.9292 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.8325, allocations: 2.734 kB / 0.9292 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.8325, allocations: 0.7031 kB / 0.9292 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.8325, allocations: 6.578 kB / 0.9293 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.237e-05/0.8326, allocations: 16.73 kB / 0.9293 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.833, allocations: 259.3 kB / 0.9295 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.651e-05/0.833, allocations: 22.02 kB / 0.9295 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.745e-05/0.8331, allocations: 5.562 kB / 0.9295 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.8331, allocations: 0 / 0.9295 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.8331, allocations: 38.25 kB / 0.9296 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.8331, allocations: 0 / 0.9296 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001406/0.8333, allocations: 34.44 kB / 0.9296 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.8333, allocations: 52.06 kB / 0.9297 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.594e-05/0.8334, allocations: 118.2 kB / 0.9298 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.8334, allocations: 25.7 kB / 0.9298 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.8335, allocations: 95.56 kB / 0.9299 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.022e-06/0.8335, allocations: 0.5625 kB / 0.9299 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.8335, allocations: 10.42 kB / 0.9299 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.8337, allocations: 318.9 kB / 0.9302 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.535e-05/0.8337, allocations: 3.516 kB / 0.9302 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.347e-05/0.8337, allocations: 22.89 kB / 0.9302 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.636e-05/0.8337, allocations: 31.88 kB / 0.9303 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.8338, allocations: 0 / 0.9303 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.921e-05/0.8338, allocations: 60.34 kB / 0.9303 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.8339, allocations: 9.922 kB / 0.9303 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.8339, allocations: 96 / 0.9303 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.8339, allocations: 7.156 kB / 0.9303 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.571e-05/0.8339, allocations: 3.984 kB / 0.9303 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.834, allocations: 8.531 kB / 0.9303 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.674e-05/0.834, allocations: 0 / 0.9303 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.834, allocations: 2.781 kB / 0.9304 GB, free: 16.11 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 7.901e-05/0.8341, allocations: 109 kB / 0.9305 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.8341, allocations: 2.688 kB / 0.9305 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.031e-05/0.8342, allocations: 11.27 kB / 0.9305 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.8342, allocations: 5.125 kB / 0.9305 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.8342, allocations: 3.938 kB / 0.9305 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.8342, allocations: 3.031 kB / 0.9305 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.8345, allocations: 336.8 kB / 0.9308 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.8345, allocations: 4.484 kB / 0.9308 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.321e-05/0.8345, allocations: 0 / 0.9308 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.8345, allocations: 3.938 kB / 0.9308 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.8345, allocations: 0.6094 kB / 0.9308 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.8345, allocations: 6.562 kB / 0.9308 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8345, allocations: 4.719 kB / 0.9308 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.573e-05/0.8346, allocations: 61.06 kB / 0.9309 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.8347, allocations: 82.23 kB / 0.931 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.8347, allocations: 3.938 kB / 0.931 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.924e-05/0.8348, allocations: 7.5 kB / 0.931 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.702e-05/0.8348, allocations: 1.688 kB / 0.931 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-06/0.8348, allocations: 6.766 kB / 0.931 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.247e-05/0.8349, allocations: 86.72 kB / 0.9311 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8349, allocations: 0 / 0.9311 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001879/0.8351, allocations: 5.25 kB / 0.9311 GB, free: 15.35 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 (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.0001025/0.8352, allocations: 99.98 kB / 0.9312 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.241e-05/0.8352, allocations: 17.59 kB / 0.9312 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8353, allocations: 0 / 0.9312 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.382e-06/0.8353, allocations: 7.219 kB / 0.9312 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.8355, allocations: 3.688 kB / 0.9312 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002909/0.8358, allocations: 115.6 kB / 0.9313 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.8362, allocations: 0.6775 MB / 0.932 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.17e-05/0.8363, allocations: 12.92 kB / 0.932 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.207e-05/0.8363, allocations: 10.44 kB / 0.932 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.8363, allocations: 0 / 0.932 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of Templates: time 0.002585/0.8389, allocations: 445.2 kB / 0.9324 GB, free: 14.39 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: