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.3202/0.3202, allocations: 55.01 MB / 69.96 MB, free: 8.656 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.001123/0.001123, allocations: 189.9 kB / 83.98 MB, free: 10.84 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.751/1.751, allocations: 194.4 MB / 292.3 MB, free: 3.586 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.002047/0.002047, allocations: 120.2 kB / 350.7 MB, free: 9.086 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003845, allocations: 16 kB / 418.9 MB, free: 37.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1294, allocations: 57.64 MB / 476.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4132/0.5427, allocations: 85.68 MB / 0.549 GB, free: 3.723 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.543, allocations: 75.27 kB / 0.5491 GB, free: 3.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002962/0.546, allocations: 1.106 MB / 0.5502 GB, free: 2.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.546, allocations: 0 / 0.5502 GB, free: 2.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.546, allocations: 0 / 0.5502 GB, free: 2.68 MB / 362.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.0004506/0.5465, allocations: 386.1 kB / 0.5505 GB, free: 2.258 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.5465, allocations: 8.031 kB / 0.5505 GB, free: 2.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.5466, allocations: 7.906 kB / 0.5506 GB, free: 2.242 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.5468, allocations: 182.3 kB / 0.5507 GB, free: 2.031 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.5468, allocations: 11.44 kB / 0.5507 GB, free: 2.023 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.5468, allocations: 0 / 0.5507 GB, free: 2.023 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.5471, allocations: 103.2 kB / 0.5508 GB, free: 1.926 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.5471, allocations: 0 / 0.5508 GB, free: 1.926 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.5471, allocations: 7.562 kB / 0.5508 GB, free: 1.926 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.5471, allocations: 0 / 0.5508 GB, free: 1.926 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/0.5474, allocations: 107.5 kB / 0.5509 GB, free: 1.832 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004567/0.5479, allocations: 335.4 kB / 0.5513 GB, free: 1.473 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.548, allocations: 67.61 kB / 0.5513 GB, free: 1.406 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.518e-05/0.5481, allocations: 8.078 kB / 0.5513 GB, free: 1.398 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/0.5481, allocations: 30.56 kB / 0.5514 GB, free: 1.359 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.5481, allocations: 4 kB / 0.5514 GB, free: 1.355 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005251/0.5487, allocations: 177.3 kB / 0.5515 GB, free: 1.191 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.5487, allocations: 51.41 kB / 0.5516 GB, free: 1.129 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.873e-05/0.5488, allocations: 104.9 kB / 0.5517 GB, free: 1.023 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.5488, allocations: 25.7 kB / 0.5517 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/0.5488, allocations: 103.7 kB / 0.5518 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.5488, allocations: 7.891 kB / 0.5518 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/0.5488, allocations: 0 / 0.5518 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.26e-05/0.5489, allocations: 314.7 kB / 0.5521 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.5491, allocations: 47.83 kB / 0.5522 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.5492, allocations: 47.83 kB / 0.5522 GB, free: 500 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.5494, allocations: 47.02 kB / 0.5523 GB, free: 456 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.5494, allocations: 3.953 kB / 0.5523 GB, free: 452 kB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003039/0.5497, allocations: 130.2 kB / 0.5524 GB, free: 328 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.5497, allocations: 8 kB / 0.5524 GB, free: 320 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.5497, allocations: 0.875 kB / 0.5524 GB, free: 320 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.5498, allocations: 0 / 0.5524 GB, free: 320 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.5499, allocations: 19.98 kB / 0.5524 GB, free: 300 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.5499, allocations: 4 kB / 0.5524 GB, free: 296 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.531e-05/0.55, allocations: 19.89 kB / 0.5524 GB, free: 276 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.55, allocations: 0 / 0.5524 GB, free: 276 kB / 362.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 () * Number of clocked 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 7.211e-05/0.5501, allocations: 117 kB / 0.5525 GB, free: 152 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.5501, allocations: 7.953 kB / 0.5526 GB, free: 144 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003895/0.5505, allocations: 138.5 kB / 0.5527 GB, free: 12 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.5506, allocations: 0 / 0.5527 GB, free: 12 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.5506, allocations: 7.984 kB / 0.5527 GB, free: 4 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.5506, allocations: 4 kB / 0.5527 GB, free: 0 / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.5508, allocations: 174.8 kB / 0.5529 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.5508, allocations: 0 / 0.5529 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.5509, allocations: 23.94 kB / 0.5529 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.5509, allocations: 0 / 0.5529 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.5509, allocations: 0 / 0.5529 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5509, allocations: 0 / 0.5529 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5509, allocations: 4 kB / 0.5529 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.5513, allocations: 223.1 kB / 0.5531 GB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.5514, allocations: 80.8 kB / 0.5532 GB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.5514, allocations: 11.89 kB / 0.5532 GB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.5515, allocations: 18.61 kB / 0.5532 GB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.5516, allocations: 3.984 kB / 0.5532 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.5516, allocations: 7.938 kB / 0.5532 GB, free: 15.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.626e-05/0.5517, allocations: 91.3 kB / 0.5533 GB, free: 15.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5517, allocations: 0 / 0.5533 GB, free: 15.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002157/0.5519, allocations: 23.47 kB / 0.5533 GB, free: 15.3 MB / 378.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 () * Number of clocked 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.0001392/0.552, allocations: 99.23 kB / 0.5534 GB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003542/0.5524, allocations: 94.72 kB / 0.5535 GB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5524, allocations: 0 / 0.5535 GB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.5526, allocations: 54.91 kB / 0.5536 GB, free: 15.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.5528, allocations: 4.531 kB / 0.5536 GB, free: 15.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003642/0.5531, allocations: 172.4 kB / 0.5537 GB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.5534, allocations: 0.6926 MB / 0.5544 GB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.036e-05/0.5535, allocations: 7.984 kB / 0.5544 GB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/0.5535, allocations: 7.438 kB / 0.5544 GB, free: 14.13 MB / 378.7 MB Notification: Performance of SimCode: time 3.6e-07/0.5535, allocations: 0 / 0.5544 GB, free: 14.13 MB / 378.7 MB Notification: Performance of Templates: time 0.002823/0.5564, allocations: 0.6019 MB / 0.555 GB, free: 13.54 MB / 378.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)