Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000999/0.0009991, allocations: 177.6 kB / 8.004 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.52/0.52, allocations: 90.91 MB / 99.34 MB, free: 2.16 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.467/1.467, allocations: 221.5 MB / 343.2 MB, free: 1.59 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.0009008/0.0009008, allocations: 99.14 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.746e-05/1.749e-05, allocations: 0 / 494.5 MB, free: 52.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1405, allocations: 72.32 MB / 0.5535 GB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.329/9.469, allocations: 4.141 GB / 4.695 GB, free: 205.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/9.47, allocations: 81.31 kB / 4.695 GB, free: 205.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.06274/9.532, allocations: 35.97 MB / 4.73 GB, free: 169.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.393e-06/9.532, allocations: 0 / 4.73 GB, free: 169.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.042e-06/9.532, allocations: 0 / 4.73 GB, free: 169.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002357/9.533, allocations: 347.1 kB / 4.73 GB, free: 168.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/9.533, allocations: 16.02 kB / 4.73 GB, free: 168.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/9.533, allocations: 7.906 kB / 4.73 GB, free: 168.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.265e-05/9.533, allocations: 167 kB / 4.73 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/9.533, allocations: 7.953 kB / 4.73 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/9.533, allocations: 4 kB / 4.73 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.109e-05/9.533, allocations: 11.98 kB / 4.73 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.322e-05/9.533, allocations: 41.69 kB / 4.73 GB, free: 168.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/9.533, allocations: 0 / 4.73 GB, free: 168.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/9.533, allocations: 4 kB / 4.73 GB, free: 168.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/9.533, allocations: 3.938 kB / 4.73 GB, free: 168.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001216/9.533, allocations: 134.2 kB / 4.731 GB, free: 168.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.754e-05/9.533, allocations: 50.56 kB / 4.731 GB, free: 168.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.342e-05/9.533, allocations: 16.8 kB / 4.731 GB, free: 168.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/9.533, allocations: 0 / 4.731 GB, free: 168.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/9.533, allocations: 38.75 kB / 4.731 GB, free: 168.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/9.533, allocations: 0 / 4.731 GB, free: 168.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0005804/9.534, allocations: 338.1 kB / 4.731 GB, free: 167.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/9.534, allocations: 51.41 kB / 4.731 GB, free: 167.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.965e-05/9.534, allocations: 93 kB / 4.731 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/9.534, allocations: 25.7 kB / 4.731 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.573e-05/9.534, allocations: 80.14 kB / 4.731 GB, free: 167.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/9.534, allocations: 35.45 kB / 4.731 GB, free: 167.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-06/9.534, allocations: 0 / 4.731 GB, free: 167.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.569e-05/9.534, allocations: 322.8 kB / 4.732 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.568e-05/9.534, allocations: 20.06 kB / 4.732 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.413e-05/9.534, allocations: 25.72 kB / 4.732 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.454e-05/9.534, allocations: 23.98 kB / 4.732 GB, free: 167 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/9.534, allocations: 0 / 4.732 GB, free: 167 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 9.161e-05/9.535, allocations: 85.53 kB / 4.732 GB, free: 167 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/9.535, allocations: 4 kB / 4.732 GB, free: 166.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/9.535, allocations: 480 / 4.732 GB, free: 166.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/9.535, allocations: 3.938 kB / 4.732 GB, free: 166.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/9.535, allocations: 31.92 kB / 4.732 GB, free: 166.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/9.535, allocations: 4 kB / 4.732 GB, free: 166.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.935e-05/9.535, allocations: 0 / 4.732 GB, free: 166.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/9.535, allocations: 7.984 kB / 4.732 GB, free: 166.9 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.254e-05/9.535, allocations: 105 kB / 4.732 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/9.535, allocations: 7.891 kB / 4.732 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/9.535, allocations: 8.406 kB / 4.732 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/9.535, allocations: 4 kB / 4.732 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/9.535, allocations: 0 / 4.732 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/9.535, allocations: 0 / 4.732 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.824e-05/9.535, allocations: 154.1 kB / 4.732 GB, free: 166.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/9.535, allocations: 0 / 4.732 GB, free: 166.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/9.535, allocations: 31.98 kB / 4.732 GB, free: 166.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/9.535, allocations: 0 / 4.732 GB, free: 166.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/9.535, allocations: 0 / 4.732 GB, free: 166.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/9.535, allocations: 3.953 kB / 4.732 GB, free: 166.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/9.535, allocations: 3.984 kB / 4.732 GB, free: 166.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/9.535, allocations: 125 kB / 4.732 GB, free: 166.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/9.535, allocations: 89.02 kB / 4.732 GB, free: 166.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/9.535, allocations: 0 / 4.732 GB, free: 166.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-05/9.535, allocations: 7.984 kB / 4.732 GB, free: 166.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/9.535, allocations: 11.89 kB / 4.732 GB, free: 166.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/9.536, allocations: 4 kB / 4.732 GB, free: 166.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.571e-05/9.536, allocations: 75.28 kB / 4.732 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/9.536, allocations: 0 / 4.732 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002398/9.536, allocations: 43.98 kB / 4.732 GB, free: 166.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0006214/9.536, allocations: 0.6532 MB / 4.733 GB, free: 165.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.593e-05/9.537, allocations: 47.94 kB / 4.733 GB, free: 165.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/9.537, allocations: 0 / 4.733 GB, free: 165.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.55e-05/9.537, allocations: 24 kB / 4.733 GB, free: 165.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/9.537, allocations: 4 kB / 4.733 GB, free: 165.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/9.537, allocations: 280.6 kB / 4.733 GB, free: 165.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/9.537, allocations: 0.6885 MB / 4.734 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.542e-05/9.537, allocations: 12.66 kB / 4.734 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.961e-05/9.537, allocations: 11.44 kB / 4.734 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/9.537, allocations: 0 / 4.734 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of Templates: time 0.005866/9.543, allocations: 3.895 MB / 4.738 GB, free: 160.5 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)