Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck.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.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck") translateModel(Annex60.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2843/0.2843, allocations: 54.34 MB / 66.9 MB, free: 6.086 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.001195/0.001195, allocations: 183 kB / 80.71 MB, free: 15.4 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.812/1.812, allocations: 194.2 MB / 288.6 MB, free: 15.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001692/0.001692, allocations: 122 kB / 346.9 MB, free: 4.797 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.348e-05/3.35e-05, allocations: 4 kB / 412.4 MB, free: 21.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1309, allocations: 57.64 MB / 470 MB, free: 11.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.428/6.559, allocations: 2.149 GB / 2.608 GB, free: 140 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/6.559, allocations: 74.38 kB / 2.608 GB, free: 140 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.05787/6.617, allocations: 29.56 MB / 2.637 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.754e-06/6.617, allocations: 0 / 2.637 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.307e-06/6.617, allocations: 4 kB / 2.637 GB, free: 121.8 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004934/6.618, allocations: 378.6 kB / 2.637 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.028e-05/6.618, allocations: 8.031 kB / 2.637 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004129/6.618, allocations: 38.59 kB / 2.637 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/6.618, allocations: 171 kB / 2.638 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/6.618, allocations: 4 kB / 2.638 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/6.618, allocations: 12.84 kB / 2.638 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/6.619, allocations: 71.86 kB / 2.638 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/6.619, allocations: 0 / 2.638 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/6.619, allocations: 2.312 kB / 2.638 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/6.619, allocations: 4 kB / 2.638 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/6.619, allocations: 39.28 kB / 2.638 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002649/6.619, allocations: 188.7 kB / 2.638 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/6.619, allocations: 89.98 kB / 2.638 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.774e-05/6.619, allocations: 26.11 kB / 2.638 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002737/6.62, allocations: 180.6 kB / 2.638 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/6.62, allocations: 32.75 kB / 2.638 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/6.62, allocations: 4 kB / 2.638 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.001405/6.621, allocations: 0.5155 MB / 2.639 GB, free: 120 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/6.621, allocations: 55.39 kB / 2.639 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.176e-05/6.621, allocations: 93 kB / 2.639 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/6.621, allocations: 29.2 kB / 2.639 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.164e-05/6.621, allocations: 85.77 kB / 2.639 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.114e-05/6.621, allocations: 69.56 kB / 2.639 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-06/6.621, allocations: 2.375 kB / 2.639 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002066/6.622, allocations: 319.7 kB / 2.639 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.848e-05/6.622, allocations: 40.36 kB / 2.639 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.27e-05/6.622, allocations: 68.11 kB / 2.639 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.896e-05/6.622, allocations: 43.34 kB / 2.639 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/6.622, allocations: 0 / 2.639 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002324/6.622, allocations: 157.3 kB / 2.64 GB, free: 119 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/6.622, allocations: 4 kB / 2.64 GB, free: 119 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/6.622, allocations: 0 / 2.64 GB, free: 119 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/6.622, allocations: 4 kB / 2.64 GB, free: 119 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/6.622, allocations: 42.55 kB / 2.64 GB, free: 119 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/6.622, allocations: 0 / 2.64 GB, free: 119 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.613e-05/6.622, allocations: 10.94 kB / 2.64 GB, free: 119 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/6.622, allocations: 4 kB / 2.64 GB, free: 119 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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 0.0001131/6.623, allocations: 120.4 kB / 2.64 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/6.623, allocations: 11.86 kB / 2.64 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.684e-05/6.623, allocations: 16.84 kB / 2.64 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/6.623, allocations: 4 kB / 2.64 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/6.623, allocations: 3.984 kB / 2.64 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/6.623, allocations: 0 / 2.64 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/6.623, allocations: 200.2 kB / 2.64 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/6.623, allocations: 7.938 kB / 2.64 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/6.623, allocations: 43.88 kB / 2.64 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/6.623, allocations: 0 / 2.64 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/6.623, allocations: 3.562 kB / 2.64 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/6.623, allocations: 4 kB / 2.64 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/6.623, allocations: 0 / 2.64 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/6.624, allocations: 193.2 kB / 2.64 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/6.624, allocations: 96.25 kB / 2.64 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/6.624, allocations: 7.953 kB / 2.64 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/6.624, allocations: 7.375 kB / 2.64 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/6.624, allocations: 15.23 kB / 2.64 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/6.624, allocations: 7.984 kB / 2.64 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.502e-05/6.624, allocations: 75.28 kB / 2.64 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/6.624, allocations: 0 / 2.64 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004739/6.624, allocations: 65.73 kB / 2.641 GB, free: 118.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0009267/6.625, allocations: 0.5555 MB / 2.641 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002559/6.626, allocations: 96.62 kB / 2.641 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/6.626, allocations: 4 kB / 2.641 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.356e-05/6.626, allocations: 55.73 kB / 2.641 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/6.626, allocations: 11.88 kB / 2.641 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007877/6.627, allocations: 472.1 kB / 2.642 GB, free: 117 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/6.627, allocations: 0.7011 MB / 2.642 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001345/6.627, allocations: 28.75 kB / 2.642 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/6.627, allocations: 19.38 kB / 2.642 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of SimCode: time 3.91e-07/6.627, allocations: 0 / 2.642 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.01205/6.639, allocations: 9.765 MB / 2.652 GB, free: 106.4 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck.pipe 2>&1)