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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 195.6 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4146/0.4146, allocations: 54.92 MB / 324.4 MB, free: 136 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 67.91 kB / 394.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1445, allocations: 59.59 MB / 454.5 MB, free: 468 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirDerivativeCheck): time 0.2393/0.3839, allocations: 1.381 MB / 455.8 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1816/0.5655, allocations: 145.9 MB / 0.5877 GB, free: 4.449 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.001e-05/0.5656, allocations: 0 / 0.5877 GB, free: 4.449 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.05e-05/0.5657, allocations: 0 / 0.5877 GB, free: 4.449 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 9.748e-05/0.5658, allocations: 15.91 kB / 0.5877 GB, free: 4.434 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008928/0.5667, allocations: 306.4 kB / 0.588 GB, free: 4.137 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.348e-05/0.5668, allocations: 67.77 kB / 0.5881 GB, free: 4.07 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.5669, allocations: 7.984 kB / 0.5881 GB, free: 4.062 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.316e-05/0.5669, allocations: 35.84 kB / 0.5881 GB, free: 4.027 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.433e-05/0.567, allocations: 31.89 kB / 0.5881 GB, free: 3.996 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.567, allocations: 4 kB / 0.5881 GB, free: 3.992 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007195/0.5677, allocations: 434.8 kB / 0.5885 GB, free: 3.566 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.14e-05/0.5678, allocations: 15.97 kB / 0.5886 GB, free: 3.551 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.556e-05/0.5679, allocations: 31.86 kB / 0.5886 GB, free: 3.52 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002843/0.5682, allocations: 181.5 kB / 0.5888 GB, free: 3.344 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5682, allocations: 4 kB / 0.5888 GB, free: 3.34 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.5682, allocations: 0 / 0.5888 GB, free: 3.34 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.5682, allocations: 0 / 0.5888 GB, free: 3.34 MB / 462.1 MB 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.0004147/0.5686, allocations: 390.5 kB / 0.5891 GB, free: 2.914 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.5686, allocations: 12.03 kB / 0.5891 GB, free: 2.902 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000404/0.569, allocations: 32.89 kB / 0.5892 GB, free: 2.871 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.895e-05/0.5692, allocations: 160.4 kB / 0.5893 GB, free: 2.676 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.5692, allocations: 11.94 kB / 0.5893 GB, free: 2.664 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.5692, allocations: 9.875 kB / 0.5894 GB, free: 2.656 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.5694, allocations: 85.58 kB / 0.5894 GB, free: 2.566 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.5694, allocations: 4 kB / 0.5894 GB, free: 2.562 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.5694, allocations: 0 / 0.5894 GB, free: 2.562 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.5695, allocations: 4 kB / 0.5894 GB, free: 2.559 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.207e-05/0.5695, allocations: 47.95 kB / 0.5895 GB, free: 2.512 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002056/0.5698, allocations: 197.4 kB / 0.5897 GB, free: 2.27 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.5699, allocations: 92.48 kB / 0.5898 GB, free: 2.172 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.198e-05/0.57, allocations: 32.84 kB / 0.5898 GB, free: 2.137 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002345/0.5703, allocations: 178.2 kB / 0.59 GB, free: 1.926 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.5703, allocations: 38.56 kB / 0.59 GB, free: 1.879 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.673e-06/0.5703, allocations: 0 / 0.59 GB, free: 1.879 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.001349/0.5717, allocations: 0.5381 MB / 0.5905 GB, free: 1.293 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.5717, allocations: 51.41 kB / 0.5906 GB, free: 1.23 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.527e-05/0.5718, allocations: 105.8 kB / 0.5907 GB, free: 1.117 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.5718, allocations: 25.7 kB / 0.5907 GB, free: 1.086 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/0.5719, allocations: 84.52 kB / 0.5908 GB, free: 1 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.572, allocations: 66.95 kB / 0.5908 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.883e-05/0.5721, allocations: 41.7 kB / 0.5909 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.5722, allocations: 323 kB / 0.5912 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.965e-05/0.5722, allocations: 36.92 kB / 0.5912 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.059e-05/0.5723, allocations: 70.05 kB / 0.5913 GB, free: 460 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.5725, allocations: 121.3 kB / 0.5914 GB, free: 328 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5725, allocations: 0.6875 kB / 0.5914 GB, free: 328 kB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002103/0.5727, allocations: 151.8 kB / 0.5916 GB, free: 172 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.5727, allocations: 12 kB / 0.5916 GB, free: 160 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.5728, allocations: 3.984 kB / 0.5916 GB, free: 156 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.5728, allocations: 3.984 kB / 0.5916 GB, free: 152 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.5729, allocations: 39.92 kB / 0.5916 GB, free: 112 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.573, allocations: 4 kB / 0.5916 GB, free: 108 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.237e-05/0.573, allocations: 8.875 kB / 0.5916 GB, free: 100 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.573, allocations: 5.438 kB / 0.5916 GB, free: 96 kB / 462.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.5731, allocations: 125.8 kB / 0.5918 GB, free: 15.96 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.5732, allocations: 7.906 kB / 0.5918 GB, free: 15.95 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.703e-05/0.5732, allocations: 24.38 kB / 0.5918 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.5732, allocations: 4 kB / 0.5918 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.5732, allocations: 0 / 0.5918 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.5732, allocations: 7.922 kB / 0.5918 GB, free: 15.92 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.5735, allocations: 189.6 kB / 0.592 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5735, allocations: 0 / 0.592 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.5737, allocations: 37.2 kB / 0.592 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.5737, allocations: 4 kB / 0.592 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.5737, allocations: 0 / 0.592 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5737, allocations: 2.5 kB / 0.592 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5737, allocations: 7.938 kB / 0.592 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.574, allocations: 212.1 kB / 0.5922 GB, free: 15.42 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.788e-05/0.5741, allocations: 93 kB / 0.5923 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.5741, allocations: 4.062 kB / 0.5923 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.5742, allocations: 8 kB / 0.5923 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-05/0.5743, allocations: 15.92 kB / 0.5923 GB, free: 15.28 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.5743, allocations: 8 kB / 0.5924 GB, free: 15.27 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.212e-05/0.5743, allocations: 83.27 kB / 0.5924 GB, free: 15.19 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5743, allocations: 0 / 0.5924 GB, free: 15.19 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002149/0.5746, allocations: 29.03 kB / 0.5925 GB, free: 15.16 MB / 478.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001202/0.5747, allocations: 107.2 kB / 0.5926 GB, free: 15.05 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.5749, allocations: 116.4 kB / 0.5927 GB, free: 14.94 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5749, allocations: 4 kB / 0.5927 GB, free: 14.93 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 6.686e-05/0.575, allocations: 56 kB / 0.5927 GB, free: 14.88 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.5752, allocations: 17.17 kB / 0.5927 GB, free: 14.86 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008882/0.5761, allocations: 0.5359 MB / 0.5933 GB, free: 14.32 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.5764, allocations: 0.7018 MB / 0.594 GB, free: 13.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000135/0.5765, allocations: 28.61 kB / 0.594 GB, free: 13.57 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/0.5766, allocations: 15.44 kB / 0.594 GB, free: 13.56 MB / 478.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5766, allocations: 0 / 0.594 GB, free: 13.56 MB / 478.1 MB Notification: Performance of Templates: time 0.003432/0.58, allocations: 1.099 MB / 0.5951 GB, free: 12.49 MB / 478.1 MB 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)