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.001034/0.001035, allocations: 169 kB / 12.72 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7448/0.7448, allocations: 130.6 MB / 143.8 MB, free: 13.57 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.69/1.69, allocations: 221.3 MB / 396.8 MB, free: 9.133 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009645/0.0009643, allocations: 95.84 kB / 479 MB, free: 10.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.083e-05/5.094e-05, allocations: 6.625 kB / 0.5551 GB, free: 86.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1882, allocations: 81.59 MB / 0.6348 GB, free: 12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.04/11.23, allocations: 4.151 GB / 4.786 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/11.23, allocations: 86.69 kB / 4.786 GB, free: 142 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06532/11.3, allocations: 36.6 MB / 4.822 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.425e-06/11.3, allocations: 0 / 4.822 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.82e-06/11.3, allocations: 3.938 kB / 4.822 GB, free: 111.5 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.0002757/11.3, allocations: 342.5 kB / 4.822 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/11.3, allocations: 8.031 kB / 4.822 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/11.3, allocations: 19.89 kB / 4.822 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.451e-05/11.3, allocations: 166.7 kB / 4.822 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/11.3, allocations: 4 kB / 4.822 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/11.3, allocations: 0 / 4.822 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/11.3, allocations: 52.2 kB / 4.822 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/11.3, allocations: 4 kB / 4.822 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/11.3, allocations: 7.422 kB / 4.822 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/11.3, allocations: 0 / 4.822 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.742e-05/11.3, allocations: 23.91 kB / 4.822 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/11.3, allocations: 159.7 kB / 4.822 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.972e-05/11.3, allocations: 56.25 kB / 4.822 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.512e-05/11.3, allocations: 12.86 kB / 4.823 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/11.3, allocations: 0 / 4.823 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/11.3, allocations: 37.94 kB / 4.823 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/11.3, allocations: 0 / 4.823 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0006456/11.3, allocations: 374 kB / 4.823 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/11.3, allocations: 55.41 kB / 4.823 GB, free: 110 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.591e-05/11.3, allocations: 85 kB / 4.823 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/11.3, allocations: 29.2 kB / 4.823 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.79e-05/11.3, allocations: 84.14 kB / 4.823 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/11.3, allocations: 37.45 kB / 4.823 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/11.3, allocations: 4.125 kB / 4.823 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.192e-05/11.3, allocations: 318.1 kB / 4.823 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.686e-05/11.3, allocations: 15.06 kB / 4.823 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.021e-05/11.3, allocations: 41.53 kB / 4.824 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.637e-05/11.3, allocations: 23.72 kB / 4.824 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/11.3, allocations: 0 / 4.824 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000106/11.3, allocations: 100.8 kB / 4.824 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/11.3, allocations: 12.89 kB / 4.824 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/11.3, allocations: 4 kB / 4.824 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/11.3, allocations: 0 / 4.824 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/11.3, allocations: 23.98 kB / 4.824 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/11.3, allocations: 0 / 4.824 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.038e-05/11.3, allocations: 10.81 kB / 4.824 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/11.3, allocations: 4 kB / 4.824 GB, free: 109.3 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 () * 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.109e-05/11.3, allocations: 112.4 kB / 4.824 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/11.3, allocations: 0 / 4.824 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.916e-05/11.3, allocations: 18.42 kB / 4.824 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/11.3, allocations: 4 kB / 4.824 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/11.3, allocations: 0 / 4.824 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/11.3, allocations: 3.984 kB / 4.824 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/11.3, allocations: 167.5 kB / 4.824 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/11.3, allocations: 0 / 4.824 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/11.3, allocations: 19.98 kB / 4.824 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/11.3, allocations: 4 kB / 4.824 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/11.3, allocations: 0 / 4.824 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/11.3, allocations: 7.891 kB / 4.824 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/11.3, allocations: 0 / 4.824 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/11.3, allocations: 136.8 kB / 4.824 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.704e-05/11.3, allocations: 88.27 kB / 4.824 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/11.3, allocations: 0 / 4.824 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/11.3, allocations: 7.062 kB / 4.824 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/11.3, allocations: 11.94 kB / 4.824 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/11.3, allocations: 0 / 4.824 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 1.867e-05/11.3, allocations: 82.72 kB / 4.824 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/11.3, allocations: 4.094 kB / 4.824 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003074/11.3, allocations: 49.98 kB / 4.824 GB, free: 108.5 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 () * 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.0006028/11.3, allocations: 0.5626 MB / 4.825 GB, free: 108 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.979e-05/11.3, allocations: 52.38 kB / 4.825 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/11.3, allocations: 0 / 4.825 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.058e-05/11.3, allocations: 30.62 kB / 4.825 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001206/11.3, allocations: 10.22 kB / 4.825 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003892/11.3, allocations: 284.7 kB / 4.825 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/11.3, allocations: 0.7042 MB / 4.826 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.179e-05/11.3, allocations: 8.609 kB / 4.826 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.88e-05/11.3, allocations: 15.44 kB / 4.826 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/11.3, allocations: 0 / 4.826 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.01065/11.31, allocations: 9.768 MB / 4.836 GB, free: 97.08 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)