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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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.0009391/0.0009394, allocations: 172.2 kB / 16.76 MB, free: 4.93 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4818/0.4818, allocations: 86.28 MB / 103.8 MB, free: 14.54 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.3 MB / 348.4 MB, free: 4.895 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007748/0.0007748, allocations: 89.7 kB / 420.2 MB, free: 9.633 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004168/0.000417, allocations: 11.98 kB / 0.4901 GB, free: 7.992 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3703, allocations: 71.02 MB / 0.5594 GB, free: 43.69 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.699/10.07, allocations: 4.36 GB / 4.92 GB, free: 84.46 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/10.07, allocations: 87.94 kB / 4.92 GB, free: 84.37 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.08339/10.15, allocations: 47.11 MB / 4.966 GB, free: 36.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.176e-06/10.15, allocations: 0 / 4.966 GB, free: 36.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.613e-06/10.15, allocations: 0 / 4.966 GB, free: 36.61 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.0003281/10.15, allocations: 339.5 kB / 4.966 GB, free: 36.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/10.15, allocations: 12.03 kB / 4.966 GB, free: 36.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/10.15, allocations: 20.83 kB / 4.966 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.864e-05/10.15, allocations: 164.4 kB / 4.966 GB, free: 35.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.63e-05/10.15, allocations: 30.2 kB / 4.966 GB, free: 35.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/10.15, allocations: 4.375 kB / 4.966 GB, free: 35.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/10.15, allocations: 50.17 kB / 4.966 GB, free: 35.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/10.15, allocations: 7.938 kB / 4.966 GB, free: 35.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/10.15, allocations: 4 kB / 4.966 GB, free: 35.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/10.15, allocations: 3.938 kB / 4.966 GB, free: 35.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.184e-05/10.15, allocations: 19.98 kB / 4.966 GB, free: 35.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003307/10.15, allocations: 256.9 kB / 4.966 GB, free: 35.56 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.787e-05/10.15, allocations: 14.89 kB / 4.966 GB, free: 35.54 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.464e-05/10.15, allocations: 12.86 kB / 4.967 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.601e-06/10.15, allocations: 4 kB / 4.967 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/10.15, allocations: 34.55 kB / 4.967 GB, free: 35.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.512e-06/10.15, allocations: 0 / 4.967 GB, free: 35.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001318/10.15, allocations: 33.7 kB / 4.967 GB, free: 35.44 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/10.15, allocations: 51.41 kB / 4.967 GB, free: 35.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.469e-05/10.15, allocations: 109.8 kB / 4.967 GB, free: 35.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/10.15, allocations: 33.83 kB / 4.967 GB, free: 35.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.185e-05/10.15, allocations: 87.95 kB / 4.967 GB, free: 35.13 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.091e-06/10.15, allocations: 0 / 4.967 GB, free: 35.13 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/10.15, allocations: 0 / 4.967 GB, free: 35.13 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.098e-05/10.15, allocations: 318.8 kB / 4.967 GB, free: 34.81 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.375e-05/10.15, allocations: 11.92 kB / 4.967 GB, free: 34.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.347e-05/10.15, allocations: 26.58 kB / 4.967 GB, free: 34.76 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.489e-05/10.15, allocations: 26.58 kB / 4.967 GB, free: 34.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/10.15, allocations: 0 / 4.967 GB, free: 34.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.192e-05/10.16, allocations: 57.62 kB / 4.967 GB, free: 34.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/10.16, allocations: 10.03 kB / 4.967 GB, free: 34.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/10.16, allocations: 0 / 4.967 GB, free: 34.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/10.16, allocations: 3.938 kB / 4.967 GB, free: 34.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.699e-05/10.16, allocations: 16.08 kB / 4.967 GB, free: 34.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/10.16, allocations: 0 / 4.967 GB, free: 34.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.656e-05/10.16, allocations: 3.906 kB / 4.967 GB, free: 34.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/10.16, allocations: 4.25 kB / 4.967 GB, free: 34.63 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 () * 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 4.933e-05/10.16, allocations: 109.8 kB / 4.967 GB, free: 34.51 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/10.16, allocations: 7.938 kB / 4.967 GB, free: 34.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.929e-05/10.16, allocations: 7.125 kB / 4.967 GB, free: 34.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/10.16, allocations: 0 / 4.967 GB, free: 34.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/10.16, allocations: 4 kB / 4.967 GB, free: 34.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/10.16, allocations: 4 kB / 4.967 GB, free: 34.49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/10.16, allocations: 350.7 kB / 4.968 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/10.16, allocations: 4 kB / 4.968 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.291e-05/10.16, allocations: 0 / 4.968 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/10.16, allocations: 0 / 4.968 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/10.16, allocations: 0 / 4.968 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/10.16, allocations: 0 / 4.968 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/10.16, allocations: 96 / 4.968 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.713e-05/10.16, allocations: 73.08 kB / 4.968 GB, free: 34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.453e-05/10.16, allocations: 84.95 kB / 4.968 GB, free: 33.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/10.16, allocations: 4 kB / 4.968 GB, free: 33.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.939e-05/10.16, allocations: 0 / 4.968 GB, free: 33.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.391e-05/10.16, allocations: 11.92 kB / 4.968 GB, free: 33.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/10.16, allocations: 0 / 4.968 GB, free: 33.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.135e-05/10.16, allocations: 83.22 kB / 4.968 GB, free: 33.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.31e-07/10.16, allocations: 4.031 kB / 4.968 GB, free: 33.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003181/10.16, allocations: 39.98 kB / 4.968 GB, free: 33.75 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 () * 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.0006329/10.16, allocations: 0.5597 MB / 4.969 GB, free: 33.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.232e-05/10.16, allocations: 12 kB / 4.969 GB, free: 33.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/10.16, allocations: 0 / 4.969 GB, free: 33.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.362e-06/10.16, allocations: 4 kB / 4.969 GB, free: 33.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/10.16, allocations: 11.92 kB / 4.969 GB, free: 33.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000237/10.16, allocations: 116.6 kB / 4.969 GB, free: 33.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/10.16, allocations: 0.6731 MB / 4.969 GB, free: 32.32 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.086e-05/10.16, allocations: 12.23 kB / 4.969 GB, free: 32.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/10.16, allocations: 11.44 kB / 4.969 GB, free: 32.3 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/10.16, allocations: 0 / 4.969 GB, free: 32.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.009905/10.17, allocations: 7.962 MB / 4.977 GB, free: 24.34 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)