Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 176 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4964/0.4964, allocations: 90.91 MB / 99.35 MB, free: 2.211 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 221.5 MB / 343.2 MB, free: 1.543 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009259/0.0009258, allocations: 94.47 kB / 415.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.591e-05/1.592e-05, allocations: 4 kB / 494.5 MB, free: 52.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1494, allocations: 72.32 MB / 0.5535 GB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.862/10.01, allocations: 4.361 GB / 4.914 GB, free: 137.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/10.01, allocations: 80.64 kB / 4.914 GB, free: 137.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.08401/10.1, allocations: 46.29 MB / 4.959 GB, free: 95.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.102e-06/10.1, allocations: 0 / 4.959 GB, free: 95.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.283e-06/10.1, allocations: 8 kB / 4.959 GB, free: 95.87 MB / 0.6042 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.0002728/10.1, allocations: 327.1 kB / 4.96 GB, free: 95.51 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/10.1, allocations: 12.03 kB / 4.96 GB, free: 95.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/10.1, allocations: 19.89 kB / 4.96 GB, free: 95.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/10.1, allocations: 163.1 kB / 4.96 GB, free: 95.28 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.827e-05/10.1, allocations: 29.66 kB / 4.96 GB, free: 95.24 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/10.1, allocations: 3.938 kB / 4.96 GB, free: 95.24 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.671e-05/10.1, allocations: 23.98 kB / 4.96 GB, free: 95.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.786e-05/10.1, allocations: 49.67 kB / 4.96 GB, free: 95.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/10.1, allocations: 0 / 4.96 GB, free: 95.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/10.1, allocations: 0 / 4.96 GB, free: 95.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/10.1, allocations: 0 / 4.96 GB, free: 95.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/10.1, allocations: 233.5 kB / 4.96 GB, free: 94.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.661e-05/10.1, allocations: 22.58 kB / 4.96 GB, free: 94.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.7e-05/10.1, allocations: 13.11 kB / 4.96 GB, free: 94.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/10.1, allocations: 0 / 4.96 GB, free: 94.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/10.1, allocations: 30.56 kB / 4.96 GB, free: 94.81 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/10.1, allocations: 64 / 4.96 GB, free: 94.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001233/10.1, allocations: 33.7 kB / 4.96 GB, free: 94.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.125e-05/10.1, allocations: 51.41 kB / 4.96 GB, free: 94.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/10.1, allocations: 112.8 kB / 4.961 GB, free: 94.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/10.1, allocations: 25.7 kB / 4.961 GB, free: 94.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.79e-05/10.1, allocations: 88.05 kB / 4.961 GB, free: 94.47 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.638e-06/10.1, allocations: 0 / 4.961 GB, free: 94.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/10.1, allocations: 0 / 4.961 GB, free: 94.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.459e-05/10.1, allocations: 314.8 kB / 4.961 GB, free: 94.15 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.394e-05/10.1, allocations: 7.984 kB / 4.961 GB, free: 94.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.518e-05/10.1, allocations: 26.52 kB / 4.961 GB, free: 94.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.301e-05/10.1, allocations: 15.95 kB / 4.961 GB, free: 94.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/10.1, allocations: 0 / 4.961 GB, free: 94.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.256e-05/10.1, allocations: 53.53 kB / 4.961 GB, free: 94.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/10.1, allocations: 4 kB / 4.961 GB, free: 94.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/10.1, allocations: 4 kB / 4.961 GB, free: 94.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/10.1, allocations: 0 / 4.961 GB, free: 94.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.22e-05/10.1, allocations: 8.094 kB / 4.961 GB, free: 94.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/10.1, allocations: 4 kB / 4.961 GB, free: 94.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.718e-05/10.1, allocations: 3.984 kB / 4.961 GB, free: 94.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/10.1, allocations: 0 / 4.961 GB, free: 94.01 MB / 0.6042 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 () * 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 5.295e-05/10.1, allocations: 112.9 kB / 4.961 GB, free: 93.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/10.1, allocations: 3.938 kB / 4.961 GB, free: 93.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.88e-05/10.1, allocations: 3.75 kB / 4.961 GB, free: 93.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/10.1, allocations: 0 / 4.961 GB, free: 93.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/10.1, allocations: 4.25 kB / 4.961 GB, free: 93.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/10.1, allocations: 4 kB / 4.961 GB, free: 93.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/10.1, allocations: 331.2 kB / 4.961 GB, free: 93.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/10.1, allocations: 0 / 4.961 GB, free: 93.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.362e-05/10.1, allocations: 3.984 kB / 4.962 GB, free: 93.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/10.1, allocations: 0 / 4.962 GB, free: 93.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/10.1, allocations: 0 / 4.962 GB, free: 93.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/10.1, allocations: 0 / 4.962 GB, free: 93.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/10.1, allocations: 0 / 4.962 GB, free: 93.51 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.256e-05/10.1, allocations: 61.12 kB / 4.962 GB, free: 93.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/10.1, allocations: 81.02 kB / 4.962 GB, free: 93.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/10.1, allocations: 0 / 4.962 GB, free: 93.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.23e-05/10.1, allocations: 7.984 kB / 4.962 GB, free: 93.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.836e-05/10.1, allocations: 0 / 4.962 GB, free: 93.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/10.1, allocations: 7.938 kB / 4.962 GB, free: 93.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.861e-05/10.1, allocations: 83.28 kB / 4.962 GB, free: 93.23 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.92e-07/10.1, allocations: 4.031 kB / 4.962 GB, free: 93.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000251/10.1, allocations: 35.92 kB / 4.962 GB, free: 93.2 MB / 0.6042 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 () * 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.0006623/10.1, allocations: 0.6484 MB / 4.962 GB, free: 92.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.768e-05/10.1, allocations: 12 kB / 4.962 GB, free: 92.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/10.1, allocations: 8.188 kB / 4.962 GB, free: 92.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.108e-06/10.1, allocations: 0 / 4.962 GB, free: 92.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/10.1, allocations: 11.94 kB / 4.962 GB, free: 92.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001606/10.1, allocations: 51.95 kB / 4.962 GB, free: 92.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/10.1, allocations: 0.6806 MB / 4.963 GB, free: 91.72 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.712e-05/10.1, allocations: 15.91 kB / 4.963 GB, free: 91.71 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.895e-05/10.1, allocations: 7.438 kB / 4.963 GB, free: 91.7 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/10.1, allocations: 0 / 4.963 GB, free: 91.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.005925/10.11, allocations: 3.776 MB / 4.967 GB, free: 87.92 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)