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.332/0.332, allocations: 54.41 MB / 61.89 MB, free: 13.75 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.001683/0.001683, allocations: 184.1 kB / 75.61 MB, free: 0.7734 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.921/1.921, allocations: 194.3 MB / 283.5 MB, free: 14.86 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.001707/0.001706, allocations: 118.2 kB / 341.6 MB, free: 4.047 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.822e-05/1.825e-05, allocations: 0 / 405.5 MB, free: 4.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4923/0.4924, allocations: 57.64 MB / 463.1 MB, free: 51.71 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.062/7.555, allocations: 2.148 GB / 2.601 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/7.555, allocations: 74.28 kB / 2.601 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.05801/7.613, allocations: 29.01 MB / 2.629 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.292e-06/7.613, allocations: 0 / 2.629 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.828e-06/7.613, allocations: 4 kB / 2.629 GB, free: 117.5 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.0004432/7.613, allocations: 377.8 kB / 2.629 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/7.614, allocations: 8.031 kB / 2.629 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004176/7.614, allocations: 39.95 kB / 2.629 GB, free: 117 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/7.614, allocations: 167 kB / 2.63 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/7.614, allocations: 1.594 kB / 2.63 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.52e-05/7.614, allocations: 19.47 kB / 2.63 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001458/7.614, allocations: 39.41 kB / 2.63 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/7.614, allocations: 64.61 kB / 2.63 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/7.615, allocations: 0 / 2.63 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/7.615, allocations: 3.984 kB / 2.63 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/7.615, allocations: 0 / 2.63 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/7.615, allocations: 157.4 kB / 2.63 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/7.615, allocations: 73.95 kB / 2.63 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.587e-05/7.615, allocations: 27.5 kB / 2.63 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002379/7.615, allocations: 181.6 kB / 2.63 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/7.615, allocations: 38.56 kB / 2.63 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.894e-06/7.615, allocations: 3.938 kB / 2.63 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.001243/7.617, allocations: 478.5 kB / 2.631 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/7.617, allocations: 63.39 kB / 2.631 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.722e-05/7.617, allocations: 85 kB / 2.631 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/7.617, allocations: 25.7 kB / 2.631 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.726e-05/7.617, allocations: 90.45 kB / 2.631 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.779e-05/7.617, allocations: 61.77 kB / 2.631 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/7.617, allocations: 0 / 2.631 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.996e-05/7.617, allocations: 322.6 kB / 2.631 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.048e-05/7.617, allocations: 34.23 kB / 2.631 GB, free: 115 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.097e-05/7.617, allocations: 62.23 kB / 2.631 GB, free: 115 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.999e-05/7.617, allocations: 51.2 kB / 2.631 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/7.617, allocations: 0 / 2.631 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001814/7.617, allocations: 134.8 kB / 2.632 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/7.617, allocations: 11.95 kB / 2.632 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/7.617, allocations: 0 / 2.632 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/7.617, allocations: 4 kB / 2.632 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/7.618, allocations: 35.55 kB / 2.632 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/7.618, allocations: 15.88 kB / 2.632 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.698e-05/7.618, allocations: 0 / 2.632 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/7.618, allocations: 4 kB / 2.632 GB, free: 114.8 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 6.481e-05/7.618, allocations: 105 kB / 2.632 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/7.618, allocations: 7.906 kB / 2.632 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.447e-05/7.618, allocations: 18.67 kB / 2.632 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/7.618, allocations: 4 kB / 2.632 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/7.618, allocations: 0 / 2.632 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/7.618, allocations: 3.984 kB / 2.632 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/7.618, allocations: 167.1 kB / 2.632 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/7.618, allocations: 0 / 2.632 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/7.618, allocations: 39.92 kB / 2.632 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/7.618, allocations: 0 / 2.632 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/7.618, allocations: 3.984 kB / 2.632 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/7.618, allocations: 3.953 kB / 2.632 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/7.618, allocations: 0 / 2.632 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/7.618, allocations: 184.2 kB / 2.632 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/7.619, allocations: 93 kB / 2.632 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/7.619, allocations: 4.25 kB / 2.632 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/7.619, allocations: 11.92 kB / 2.632 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/7.619, allocations: 15.94 kB / 2.632 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/7.619, allocations: 7.375 kB / 2.632 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.362e-05/7.619, allocations: 75.28 kB / 2.632 GB, free: 114 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.1e-07/7.619, allocations: 0 / 2.632 GB, free: 114 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003134/7.619, allocations: 53.67 kB / 2.632 GB, free: 114 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.0008515/7.62, allocations: 0.6416 MB / 2.633 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001726/7.62, allocations: 91.45 kB / 2.633 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/7.62, allocations: 0 / 2.633 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.376e-05/7.62, allocations: 42.81 kB / 2.633 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/7.62, allocations: 19.31 kB / 2.633 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007209/7.621, allocations: 455.6 kB / 2.634 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/7.621, allocations: 0.7081 MB / 2.634 GB, free: 112 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001361/7.621, allocations: 24.75 kB / 2.634 GB, free: 112 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/7.622, allocations: 15.44 kB / 2.634 GB, free: 112 MB / 0.4948 GB Notification: Performance of SimCode: time 6.41e-07/7.622, allocations: 0 / 2.634 GB, free: 112 MB / 0.4948 GB Notification: Performance of Templates: time 0.007526/7.629, allocations: 4.125 MB / 2.638 GB, free: 107.9 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)