Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average.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.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average") translateModel(Annex60.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3002/0.3002, allocations: 54.4 MB / 61.88 MB, free: 13.73 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.001047/0.001047, allocations: 183.4 kB / 75.61 MB, free: 0.7773 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.394/1.394, allocations: 194.3 MB / 283.5 MB, free: 14.85 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.001716/0.001716, allocations: 111.3 kB / 341.6 MB, free: 4.031 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.22e-05/2.233e-05, allocations: 0 / 405.5 MB, free: 4.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4438/0.4438, allocations: 57.65 MB / 463.1 MB, free: 51.81 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.135/0.5789, allocations: 84.93 MB / 0.5352 GB, free: 272 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/0.5793, allocations: 68.47 kB / 0.5353 GB, free: 204 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003696/0.583, allocations: 1.093 MB / 0.5364 GB, free: 15.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.583, allocations: 0 / 0.5364 GB, free: 15.13 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.583, allocations: 0 / 0.5364 GB, free: 15.13 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005399/0.5836, allocations: 380.4 kB / 0.5367 GB, free: 14.72 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.5836, allocations: 8.031 kB / 0.5367 GB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.5837, allocations: 7.906 kB / 0.5367 GB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.5839, allocations: 188.7 kB / 0.5369 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.5839, allocations: 4 kB / 0.5369 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.584, allocations: 5.156 kB / 0.5369 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001164/0.5841, allocations: 32 kB / 0.537 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.5842, allocations: 63.39 kB / 0.537 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.5843, allocations: 4 kB / 0.537 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.5843, allocations: 0 / 0.537 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.5843, allocations: 0 / 0.537 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000554/0.5848, allocations: 313.8 kB / 0.5373 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.059e-05/0.5849, allocations: 32.69 kB / 0.5374 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.815e-05/0.585, allocations: 20.94 kB / 0.5374 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.683e-05/0.585, allocations: 1.281 kB / 0.5374 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.5851, allocations: 38.56 kB / 0.5374 GB, free: 13.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.954e-06/0.5851, allocations: 0.9375 kB / 0.5374 GB, free: 13.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002559/0.5853, allocations: 53.59 kB / 0.5375 GB, free: 13.87 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.5854, allocations: 58.06 kB / 0.5375 GB, free: 13.8 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.399e-05/0.5855, allocations: 109 kB / 0.5376 GB, free: 13.69 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.5855, allocations: 27.48 kB / 0.5376 GB, free: 13.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.5856, allocations: 88.05 kB / 0.5377 GB, free: 13.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.5856, allocations: 11.84 kB / 0.5377 GB, free: 13.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.5856, allocations: 0 / 0.5377 GB, free: 13.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.5858, allocations: 320.3 kB / 0.538 GB, free: 13.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.704e-05/0.5858, allocations: 12 kB / 0.5381 GB, free: 13.22 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.203e-05/0.5858, allocations: 8 kB / 0.5381 GB, free: 13.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.049e-05/0.5859, allocations: 16.61 kB / 0.5381 GB, free: 13.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5859, allocations: 0 / 0.5381 GB, free: 13.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001323/0.586, allocations: 65.64 kB / 0.5381 GB, free: 13.13 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.5861, allocations: 4 kB / 0.5381 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.5861, allocations: 0 / 0.5381 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.5861, allocations: 2.953 kB / 0.5382 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.5862, allocations: 23.97 kB / 0.5382 GB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.5862, allocations: 3.75 kB / 0.5382 GB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.083e-05/0.5863, allocations: 23.89 kB / 0.5382 GB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.5864, allocations: 0 / 0.5382 GB, free: 13.08 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.852e-05/0.5865, allocations: 112.9 kB / 0.5383 GB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/0.5865, allocations: 7.031 kB / 0.5383 GB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001786/0.5867, allocations: 70.67 kB / 0.5384 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.5867, allocations: 3.984 kB / 0.5384 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.5867, allocations: 0 / 0.5384 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.5867, allocations: 0 / 0.5384 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.5869, allocations: 154.2 kB / 0.5385 GB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5869, allocations: 0 / 0.5385 GB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.5871, allocations: 23.97 kB / 0.5386 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.5871, allocations: 0.75 kB / 0.5386 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.5871, allocations: 3.953 kB / 0.5386 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.5871, allocations: 0 / 0.5386 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.5871, allocations: 0.9844 kB / 0.5386 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.5873, allocations: 159.4 kB / 0.5387 GB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/0.5874, allocations: 81.09 kB / 0.5388 GB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.5874, allocations: 7.375 kB / 0.5388 GB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.5875, allocations: 19.94 kB / 0.5388 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.5876, allocations: 1.688 kB / 0.5388 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.5876, allocations: 3.984 kB / 0.5388 GB, free: 12.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.707e-05/0.5876, allocations: 101.8 kB / 0.5389 GB, free: 12.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5876, allocations: 0 / 0.5389 GB, free: 12.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002283/0.5879, allocations: 15.91 kB / 0.5389 GB, free: 12.25 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001575/0.588, allocations: 91.25 kB / 0.539 GB, free: 12.15 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001104/0.5882, allocations: 34.56 kB / 0.5391 GB, free: 12.12 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.5882, allocations: 0 / 0.5391 GB, free: 12.12 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.296e-05/0.5882, allocations: 15.94 kB / 0.5391 GB, free: 12.11 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.5884, allocations: 7.938 kB / 0.5391 GB, free: 12.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002793/0.5887, allocations: 96.03 kB / 0.5392 GB, free: 11.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.589, allocations: 0.6885 MB / 0.5398 GB, free: 11.26 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.48e-05/0.5891, allocations: 11.98 kB / 0.5399 GB, free: 11.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.5891, allocations: 9.125 kB / 0.5399 GB, free: 11.25 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5891, allocations: 0 / 0.5399 GB, free: 11.25 MB / 394.7 MB Notification: Performance of Templates: time 0.002752/0.5919, allocations: 0.5463 MB / 0.5404 GB, free: 10.72 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average.pipe 2>&1)