Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.006231/0.006231, allocations: 172.8 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7455/0.7455, allocations: 132.3 MB / 148.1 MB, free: 236 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.686/1.686, allocations: 223.2 MB / 403.2 MB, free: 6.703 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 95.83 kB / 485.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003835, allocations: 8 kB / 0.5641 GB, free: 2.078 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5266/0.527, allocations: 81.57 MB / 0.6437 GB, free: 39.4 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.71/12.24, allocations: 4.151 GB / 4.795 GB, free: 259.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003766/12.24, allocations: 85.5 kB / 4.795 GB, free: 259.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06775/12.3, allocations: 36.68 MB / 4.831 GB, free: 223.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.745e-06/12.3, allocations: 4 kB / 4.831 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.275e-06/12.3, allocations: 4 kB / 4.831 GB, free: 223.8 MB / 0.6823 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.0003544/12.31, allocations: 339.4 kB / 4.831 GB, free: 223.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/12.31, allocations: 12.03 kB / 4.831 GB, free: 223.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/12.31, allocations: 15.89 kB / 4.831 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/12.31, allocations: 163 kB / 4.831 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/12.31, allocations: 4 kB / 4.831 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/12.31, allocations: 4 kB / 4.831 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/12.31, allocations: 69.55 kB / 4.831 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/12.31, allocations: 0 / 4.831 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/12.31, allocations: 0 / 4.831 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/12.31, allocations: 0 / 4.831 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.712e-05/12.31, allocations: 19.98 kB / 4.831 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001678/12.31, allocations: 157.7 kB / 4.832 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.454e-05/12.31, allocations: 50.55 kB / 4.832 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/12.31, allocations: 4 kB / 4.832 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/12.31, allocations: 38.5 kB / 4.832 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/12.31, allocations: 3.938 kB / 4.832 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0007538/12.31, allocations: 374.3 kB / 4.832 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/12.31, allocations: 51.41 kB / 4.832 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.238e-05/12.31, allocations: 93 kB / 4.832 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/12.31, allocations: 29.7 kB / 4.832 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.072e-05/12.31, allocations: 80.14 kB / 4.832 GB, free: 222.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/12.31, allocations: 35.45 kB / 4.832 GB, free: 222.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/12.31, allocations: 4 kB / 4.832 GB, free: 222.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.302e-05/12.31, allocations: 318.8 kB / 4.833 GB, free: 221.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.943e-05/12.31, allocations: 19.94 kB / 4.833 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.42e-05/12.31, allocations: 41.2 kB / 4.833 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.848e-05/12.31, allocations: 24.12 kB / 4.833 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/12.31, allocations: 0 / 4.833 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001129/12.31, allocations: 105.5 kB / 4.833 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/12.31, allocations: 4 kB / 4.833 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/12.31, allocations: 3.953 kB / 4.833 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/12.31, allocations: 4 kB / 4.833 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/12.31, allocations: 19.94 kB / 4.833 GB, free: 221.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/12.31, allocations: 3.984 kB / 4.833 GB, free: 221.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.297e-05/12.31, allocations: 7.938 kB / 4.833 GB, free: 221.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/12.31, allocations: 0 / 4.833 GB, free: 221.5 MB / 0.6823 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 () * Number of clocked 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 7.07e-05/12.31, allocations: 121.8 kB / 4.833 GB, free: 221.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/12.31, allocations: 4 kB / 4.833 GB, free: 221.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.076e-05/12.31, allocations: 7.969 kB / 4.833 GB, free: 221.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/12.31, allocations: 7.953 kB / 4.833 GB, free: 221.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/12.31, allocations: 4 kB / 4.833 GB, free: 221.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/12.31, allocations: 0 / 4.833 GB, free: 221.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/12.31, allocations: 169.6 kB / 4.833 GB, free: 221.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/12.31, allocations: 0 / 4.833 GB, free: 221.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/12.31, allocations: 31.92 kB / 4.833 GB, free: 221.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/12.31, allocations: 4 kB / 4.833 GB, free: 221.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/12.31, allocations: 0 / 4.833 GB, free: 221.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/12.31, allocations: 0 / 4.833 GB, free: 221.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/12.31, allocations: 8.656 kB / 4.833 GB, free: 221.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/12.31, allocations: 129 kB / 4.833 GB, free: 221 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.683e-05/12.31, allocations: 89.05 kB / 4.833 GB, free: 220.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/12.31, allocations: 0 / 4.833 GB, free: 220.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.3e-05/12.31, allocations: 8.094 kB / 4.833 GB, free: 220.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.75e-05/12.31, allocations: 15.92 kB / 4.833 GB, free: 220.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/12.31, allocations: 4 kB / 4.833 GB, free: 220.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.104e-05/12.31, allocations: 75.28 kB / 4.833 GB, free: 220.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.092e-06/12.31, allocations: 4 kB / 4.833 GB, free: 220.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003664/12.31, allocations: 55.92 kB / 4.834 GB, free: 220.7 MB / 0.6823 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 () * Number of clocked 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.0007865/12.31, allocations: 0.5591 MB / 4.834 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000134/12.31, allocations: 59.84 kB / 4.834 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/12.31, allocations: 0 / 4.834 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.158e-05/12.31, allocations: 28 kB / 4.834 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/12.31, allocations: 3.984 kB / 4.834 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005635/12.31, allocations: 386.5 kB / 4.835 GB, free: 219.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/12.31, allocations: 0.6888 MB / 4.835 GB, free: 218.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.455e-05/12.31, allocations: 12.66 kB / 4.835 GB, free: 218.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.128e-05/12.31, allocations: 11.44 kB / 4.835 GB, free: 218.9 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/12.31, allocations: 0 / 4.835 GB, free: 218.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.01137/12.32, allocations: 8.028 MB / 4.843 GB, free: 210.9 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)