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.303/0.303, allocations: 55.01 MB / 69.96 MB, free: 8.652 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.001221/0.001221, allocations: 190.6 kB / 83.98 MB, free: 10.85 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.698/1.698, allocations: 194.4 MB / 292.3 MB, free: 3.602 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.001626/0.001626, allocations: 102 kB / 350.7 MB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003748/0.0003748, allocations: 8 kB / 418.9 MB, free: 37.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1445, allocations: 57.65 MB / 476.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.542/6.686, allocations: 2.149 GB / 2.614 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003883/6.687, allocations: 79.48 kB / 2.615 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06267/6.749, allocations: 29.61 MB / 2.643 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.686e-06/6.749, allocations: 0 / 2.643 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.666e-06/6.749, allocations: 3.375 kB / 2.643 GB, free: 143.7 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.0005266/6.75, allocations: 379 kB / 2.644 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/6.75, allocations: 11 kB / 2.644 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003968/6.75, allocations: 48.67 kB / 2.644 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/6.751, allocations: 171 kB / 2.644 GB, free: 143 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/6.751, allocations: 7.094 kB / 2.644 GB, free: 143 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/6.751, allocations: 7.438 kB / 2.644 GB, free: 143 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/6.751, allocations: 74.89 kB / 2.644 GB, free: 143 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/6.751, allocations: 0 / 2.644 GB, free: 143 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/6.751, allocations: 3.406 kB / 2.644 GB, free: 143 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/6.751, allocations: 0 / 2.644 GB, free: 143 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.765e-05/6.751, allocations: 45 kB / 2.644 GB, free: 143 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/6.751, allocations: 191.4 kB / 2.644 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/6.751, allocations: 90.23 kB / 2.644 GB, free: 142.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002249/6.752, allocations: 180.7 kB / 2.645 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/6.752, allocations: 34.38 kB / 2.645 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/6.752, allocations: 4 kB / 2.645 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.001223/6.753, allocations: 0.5361 MB / 2.645 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/6.753, allocations: 51.41 kB / 2.645 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.074e-05/6.753, allocations: 96.31 kB / 2.645 GB, free: 142 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/6.753, allocations: 29.27 kB / 2.645 GB, free: 142 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.869e-05/6.753, allocations: 88.25 kB / 2.645 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.784e-05/6.753, allocations: 61.92 kB / 2.645 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-06/6.753, allocations: 3.438 kB / 2.645 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.34e-05/6.753, allocations: 322.3 kB / 2.646 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.504e-05/6.753, allocations: 41.03 kB / 2.646 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.939e-05/6.753, allocations: 68.69 kB / 2.646 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.477e-05/6.753, allocations: 48.39 kB / 2.646 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/6.753, allocations: 0 / 2.646 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001872/6.754, allocations: 160.5 kB / 2.646 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/6.754, allocations: 3.781 kB / 2.646 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/6.754, allocations: 3.984 kB / 2.646 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/6.754, allocations: 3.875 kB / 2.646 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/6.754, allocations: 42.14 kB / 2.646 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/6.754, allocations: 3.875 kB / 2.646 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.095e-05/6.754, allocations: 4 kB / 2.646 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/6.754, allocations: 11.34 kB / 2.646 GB, free: 141.4 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 () * Number of clocked 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 7.71e-05/6.754, allocations: 120.4 kB / 2.646 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/6.754, allocations: 11.61 kB / 2.646 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.281e-05/6.754, allocations: 18.98 kB / 2.646 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/6.754, allocations: 3.781 kB / 2.646 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/6.754, allocations: 0 / 2.646 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/6.754, allocations: 3.984 kB / 2.646 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/6.754, allocations: 194.3 kB / 2.646 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/6.754, allocations: 0 / 2.646 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/6.754, allocations: 44.61 kB / 2.647 GB, free: 141 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/6.754, allocations: 3.953 kB / 2.647 GB, free: 141 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/6.755, allocations: 7.812 kB / 2.647 GB, free: 141 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/6.755, allocations: 0 / 2.647 GB, free: 141 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/6.755, allocations: 0 / 2.647 GB, free: 141 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/6.755, allocations: 207.1 kB / 2.647 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.503e-05/6.755, allocations: 92.5 kB / 2.647 GB, free: 140.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/6.755, allocations: 11.77 kB / 2.647 GB, free: 140.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/6.755, allocations: 7.625 kB / 2.647 GB, free: 140.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/6.755, allocations: 7.797 kB / 2.647 GB, free: 140.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/6.755, allocations: 7.594 kB / 2.647 GB, free: 140.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.087e-05/6.755, allocations: 83.11 kB / 2.647 GB, free: 140.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/6.755, allocations: 0 / 2.647 GB, free: 140.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003633/6.755, allocations: 63.72 kB / 2.647 GB, free: 140.7 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 () * Number of clocked 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.0006714/6.756, allocations: 0.5585 MB / 2.648 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000187/6.756, allocations: 103.8 kB / 2.648 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/6.756, allocations: 0 / 2.648 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.425e-05/6.756, allocations: 57.38 kB / 2.648 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/6.757, allocations: 9.875 kB / 2.648 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008464/6.757, allocations: 0.6032 MB / 2.648 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/6.758, allocations: 0.7035 MB / 2.649 GB, free: 139.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001377/6.758, allocations: 26.06 kB / 2.649 GB, free: 139.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/6.758, allocations: 20.78 kB / 2.649 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.292e-06/6.758, allocations: 0 / 2.649 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.01245/6.77, allocations: 8.113 MB / 2.657 GB, free: 134.1 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)