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.00118/0.00118, allocations: 182.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5246/0.5246, allocations: 92 MB / 108.5 MB, free: 13.08 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.473/1.473, allocations: 223.2 MB / 354.3 MB, free: 12.23 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.001032/0.001032, allocations: 108.2 kB / 427.4 MB, free: 3.949 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005284/0.0005285, allocations: 8 kB / 0.4982 GB, free: 42.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1771, allocations: 72.31 MB / 0.5689 GB, free: 1.965 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.03/11.21, allocations: 4.361 GB / 4.93 GB, free: 24.52 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003208/11.21, allocations: 83.95 kB / 4.93 GB, free: 24.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.3783/11.58, allocations: 47.14 MB / 4.976 GB, free: 203.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.473e-06/11.58, allocations: 4 kB / 4.976 GB, free: 203.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.448e-06/11.59, allocations: 0.5312 kB / 4.976 GB, free: 203.1 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.0003432/11.59, allocations: 338.4 kB / 4.977 GB, free: 202.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/11.59, allocations: 9.406 kB / 4.977 GB, free: 202.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/11.59, allocations: 15.23 kB / 4.977 GB, free: 202.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/11.59, allocations: 166.9 kB / 4.977 GB, free: 202.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.242e-05/11.59, allocations: 27.66 kB / 4.977 GB, free: 202.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/11.59, allocations: 6.984 kB / 4.977 GB, free: 202.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/11.59, allocations: 46.17 kB / 4.977 GB, free: 202.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/11.59, allocations: 0 / 4.977 GB, free: 202.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/11.59, allocations: 1.375 kB / 4.977 GB, free: 202.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/11.59, allocations: 5.109 kB / 4.977 GB, free: 202.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.67e-05/11.59, allocations: 21.64 kB / 4.977 GB, free: 202.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003779/11.59, allocations: 256 kB / 4.977 GB, free: 202.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.564e-05/11.59, allocations: 16.55 kB / 4.977 GB, free: 202.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.233e-06/11.59, allocations: 0 / 4.977 GB, free: 202.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/11.59, allocations: 35.92 kB / 4.977 GB, free: 202.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/11.59, allocations: 0 / 4.977 GB, free: 202.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001368/11.59, allocations: 46.67 kB / 4.977 GB, free: 202.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/11.59, allocations: 56.84 kB / 4.977 GB, free: 202.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.134e-05/11.59, allocations: 103.2 kB / 4.977 GB, free: 202 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/11.59, allocations: 26.7 kB / 4.977 GB, free: 201.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/11.59, allocations: 85.11 kB / 4.978 GB, free: 201.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.069e-05/11.59, allocations: 8.266 kB / 4.978 GB, free: 201.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/11.59, allocations: 0 / 4.978 GB, free: 201.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.806e-05/11.59, allocations: 316 kB / 4.978 GB, free: 201.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.548e-05/11.59, allocations: 3.125 kB / 4.978 GB, free: 201.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.84e-05/11.59, allocations: 23.72 kB / 4.978 GB, free: 201.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.594e-05/11.59, allocations: 16.91 kB / 4.978 GB, free: 201.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/11.59, allocations: 0 / 4.978 GB, free: 201.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.45e-05/11.59, allocations: 57.12 kB / 4.978 GB, free: 201.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/11.59, allocations: 5.312 kB / 4.978 GB, free: 201.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/11.59, allocations: 5.25 kB / 4.978 GB, free: 201.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/11.59, allocations: 4.766 kB / 4.978 GB, free: 201.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.495e-05/11.59, allocations: 5.5 kB / 4.978 GB, free: 201.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/11.59, allocations: 8.891 kB / 4.978 GB, free: 201.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.94e-05/11.59, allocations: 1.344 kB / 4.978 GB, free: 201.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/11.59, allocations: 7.031 kB / 4.978 GB, free: 201.4 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 5.791e-05/11.59, allocations: 111.4 kB / 4.978 GB, free: 201.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/11.59, allocations: 1.531 kB / 4.978 GB, free: 201.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.787e-05/11.59, allocations: 4.875 kB / 4.978 GB, free: 201.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/11.59, allocations: 3.953 kB / 4.978 GB, free: 201.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/11.59, allocations: 0 / 4.978 GB, free: 201.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/11.59, allocations: 1.75 kB / 4.978 GB, free: 201.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/11.59, allocations: 350.1 kB / 4.978 GB, free: 200.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/11.59, allocations: 0 / 4.978 GB, free: 200.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.514e-05/11.59, allocations: 1.094 kB / 4.978 GB, free: 200.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/11.59, allocations: 5.391 kB / 4.978 GB, free: 200.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/11.59, allocations: 0 / 4.978 GB, free: 200.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/11.59, allocations: 0 / 4.978 GB, free: 200.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/11.59, allocations: 0.9062 kB / 4.978 GB, free: 200.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.47e-05/11.59, allocations: 71.39 kB / 4.978 GB, free: 200.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.68e-05/11.59, allocations: 78.3 kB / 4.979 GB, free: 200.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/11.59, allocations: 7.938 kB / 4.979 GB, free: 200.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-05/11.59, allocations: 7.25 kB / 4.979 GB, free: 200.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/11.59, allocations: 1.094 kB / 4.979 GB, free: 200.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/11.59, allocations: 0 / 4.979 GB, free: 200.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.117e-05/11.59, allocations: 88.34 kB / 4.979 GB, free: 200.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/11.59, allocations: 4.031 kB / 4.979 GB, free: 200.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003248/11.59, allocations: 42.69 kB / 4.979 GB, free: 200.7 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.0007734/11.59, allocations: 0.5522 MB / 4.979 GB, free: 200.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.746e-05/11.59, allocations: 19.72 kB / 4.979 GB, free: 200.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/11.59, allocations: 0 / 4.979 GB, free: 200.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.264e-06/11.59, allocations: 2.406 kB / 4.979 GB, free: 200.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/11.59, allocations: 2.25 kB / 4.979 GB, free: 200.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002438/11.59, allocations: 119.2 kB / 4.979 GB, free: 200.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/11.59, allocations: 0.6792 MB / 4.98 GB, free: 199.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.546e-05/11.59, allocations: 15.64 kB / 4.98 GB, free: 199.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.028e-05/11.59, allocations: 8.625 kB / 4.98 GB, free: 199.6 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/11.59, allocations: 1.344 kB / 4.98 GB, free: 199.6 MB / 0.6042 GB Notification: Performance of Templates: time 0.01176/11.6, allocations: 7.913 MB / 4.988 GB, free: 198.8 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)