Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3078/0.3078, allocations: 55.02 MB / 69.96 MB, free: 8.664 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001172/0.001172, allocations: 188.1 kB / 83.98 MB, free: 10.84 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.783/1.783, allocations: 194.4 MB / 292.3 MB, free: 3.605 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001688/0.001688, allocations: 112.8 kB / 350.7 MB, free: 9.109 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003869, allocations: 16 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1415, allocations: 57.65 MB / 476.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.79/11.93, allocations: 4.61 GB / 5.076 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003502/11.93, allocations: 79.95 kB / 5.076 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06646/12, allocations: 36.51 MB / 5.111 GB, free: 72.39 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.385e-06/12, allocations: 0 / 5.111 GB, free: 72.39 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.422e-05/12, allocations: 0 / 5.111 GB, free: 72.39 MB / 0.4948 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.000329/12, allocations: 367.8 kB / 5.112 GB, free: 71.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/12, allocations: 8.031 kB / 5.112 GB, free: 71.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/12, allocations: 8 kB / 5.112 GB, free: 71.97 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.404e-05/12, allocations: 175 kB / 5.112 GB, free: 71.76 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/12, allocations: 0 / 5.112 GB, free: 71.76 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/12, allocations: 8 kB / 5.112 GB, free: 71.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/12, allocations: 49.62 kB / 5.112 GB, free: 71.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/12, allocations: 0 / 5.112 GB, free: 71.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/12, allocations: 4 kB / 5.112 GB, free: 71.69 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/12, allocations: 0 / 5.112 GB, free: 71.69 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.468e-05/12, allocations: 15.98 kB / 5.112 GB, free: 71.68 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/12, allocations: 177.5 kB / 5.112 GB, free: 71.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.178e-05/12, allocations: 50.5 kB / 5.112 GB, free: 71.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/12, allocations: 4 kB / 5.112 GB, free: 71.39 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/12, allocations: 34.56 kB / 5.112 GB, free: 71.35 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/12, allocations: 0 / 5.112 GB, free: 71.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.000718/12, allocations: 370.6 kB / 5.113 GB, free: 70.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/12, allocations: 51.41 kB / 5.113 GB, free: 70.87 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.673e-05/12, allocations: 88.94 kB / 5.113 GB, free: 70.78 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/12, allocations: 33.7 kB / 5.113 GB, free: 70.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.152e-05/12, allocations: 84.27 kB / 5.113 GB, free: 70.65 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/12, allocations: 43.3 kB / 5.113 GB, free: 70.61 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/12, allocations: 4 kB / 5.113 GB, free: 70.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.471e-05/12, allocations: 318.8 kB / 5.113 GB, free: 70.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.184e-05/12, allocations: 23.98 kB / 5.113 GB, free: 70.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.097e-05/12, allocations: 37.58 kB / 5.113 GB, free: 70.22 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.161e-05/12, allocations: 28.06 kB / 5.113 GB, free: 70.19 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-07/12, allocations: 0 / 5.113 GB, free: 70.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001064/12, allocations: 89.67 kB / 5.113 GB, free: 70.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/12, allocations: 8 kB / 5.113 GB, free: 70.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/12, allocations: 4 kB / 5.113 GB, free: 70.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/12, allocations: 0 / 5.113 GB, free: 70.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/12, allocations: 27.92 kB / 5.113 GB, free: 70.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/12, allocations: 0 / 5.113 GB, free: 70.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.007e-05/12, allocations: 4 kB / 5.113 GB, free: 70.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/12, allocations: 4 kB / 5.113 GB, free: 70.05 MB / 0.4948 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.697e-05/12, allocations: 121.8 kB / 5.113 GB, free: 69.92 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/12, allocations: 15.89 kB / 5.113 GB, free: 69.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.868e-05/12, allocations: 11.97 kB / 5.113 GB, free: 69.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/12, allocations: 0 / 5.113 GB, free: 69.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/12, allocations: 0 / 5.113 GB, free: 69.89 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/12, allocations: 3.938 kB / 5.113 GB, free: 69.89 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/12, allocations: 177.6 kB / 5.114 GB, free: 69.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/12, allocations: 0 / 5.114 GB, free: 69.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/12, allocations: 16 kB / 5.114 GB, free: 69.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/12, allocations: 4 kB / 5.114 GB, free: 69.65 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/12, allocations: 3.984 kB / 5.114 GB, free: 69.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/12, allocations: 0 / 5.114 GB, free: 69.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/12, allocations: 4 kB / 5.114 GB, free: 69.64 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/12, allocations: 133 kB / 5.114 GB, free: 69.49 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.324e-05/12, allocations: 85.05 kB / 5.114 GB, free: 69.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/12, allocations: 11.94 kB / 5.114 GB, free: 69.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.155e-05/12, allocations: 0 / 5.114 GB, free: 69.38 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.166e-05/12, allocations: 7.984 kB / 5.114 GB, free: 69.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/12, allocations: 4.094 kB / 5.114 GB, free: 69.37 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.304e-05/12, allocations: 83.28 kB / 5.114 GB, free: 69.29 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/12, allocations: 0 / 5.114 GB, free: 69.29 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003513/12, allocations: 47.98 kB / 5.114 GB, free: 69.24 MB / 0.4948 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.0006957/12, allocations: 0.5775 MB / 5.115 GB, free: 68.67 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000122/12, allocations: 59.86 kB / 5.115 GB, free: 68.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/12, allocations: 0 / 5.115 GB, free: 68.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.377e-05/12, allocations: 23.98 kB / 5.115 GB, free: 68.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/12, allocations: 7.953 kB / 5.115 GB, free: 68.58 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000586/12, allocations: 383.8 kB / 5.115 GB, free: 68.17 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/12, allocations: 0.6926 MB / 5.116 GB, free: 67.45 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000116/12, allocations: 12.66 kB / 5.116 GB, free: 67.44 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/12, allocations: 15.44 kB / 5.116 GB, free: 67.42 MB / 0.4948 GB Notification: Performance of SimCode: time 7.51e-07/12, allocations: 0 / 5.116 GB, free: 67.42 MB / 0.4948 GB Notification: Performance of Templates: time 0.01021/12.01, allocations: 8.022 MB / 5.124 GB, free: 59.39 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)