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.267/0.267, allocations: 54.34 MB / 66.89 MB, free: 6.09 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.0009945/0.0009949, allocations: 182.1 kB / 80.7 MB, free: 15.4 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.438/1.438, allocations: 194.2 MB / 288.6 MB, free: 15.07 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.001722/0.001722, allocations: 114 kB / 346.9 MB, free: 4.793 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.135e-05/3.136e-05, allocations: 4 kB / 412.4 MB, free: 21.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1305, allocations: 57.66 MB / 470 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4194/0.55, allocations: 85.58 MB / 0.5426 GB, free: 4.852 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003352/0.5504, allocations: 67.97 kB / 0.5427 GB, free: 4.785 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003493/0.5539, allocations: 1.095 MB / 0.5437 GB, free: 3.691 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.564e-06/0.554, allocations: 0 / 0.5437 GB, free: 3.691 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.554, allocations: 0 / 0.5437 GB, free: 3.691 MB / 378.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.0004896/0.5545, allocations: 375.8 kB / 0.5441 GB, free: 3.281 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.5546, allocations: 12.03 kB / 0.5441 GB, free: 3.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.5546, allocations: 9.875 kB / 0.5441 GB, free: 3.262 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.5548, allocations: 190.9 kB / 0.5443 GB, free: 3.035 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.5548, allocations: 0 / 0.5443 GB, free: 3.035 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.5549, allocations: 8 kB / 0.5443 GB, free: 3.027 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.555, allocations: 57.64 kB / 0.5444 GB, free: 2.965 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.555, allocations: 0 / 0.5444 GB, free: 2.965 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.5551, allocations: 11.94 kB / 0.5444 GB, free: 2.953 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.5551, allocations: 0 / 0.5444 GB, free: 2.953 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.223e-05/0.5552, allocations: 40.42 kB / 0.5444 GB, free: 2.914 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006207/0.5558, allocations: 340.6 kB / 0.5447 GB, free: 2.531 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.347e-05/0.5559, allocations: 38.59 kB / 0.5448 GB, free: 2.484 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.974e-05/0.556, allocations: 16.86 kB / 0.5448 GB, free: 2.465 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.743e-05/0.556, allocations: 4 kB / 0.5448 GB, free: 2.461 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.556, allocations: 30.56 kB / 0.5448 GB, free: 2.422 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.556, allocations: 0 / 0.5448 GB, free: 2.422 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002014/0.5563, allocations: 61.67 kB / 0.5449 GB, free: 2.355 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.5563, allocations: 59.41 kB / 0.5449 GB, free: 2.285 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.634e-05/0.5564, allocations: 108.9 kB / 0.545 GB, free: 2.172 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.5564, allocations: 25.7 kB / 0.5451 GB, free: 2.141 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.296e-05/0.5565, allocations: 96.05 kB / 0.5452 GB, free: 2.043 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.5565, allocations: 11.83 kB / 0.5452 GB, free: 2.031 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.5565, allocations: 0 / 0.5452 GB, free: 2.031 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.5567, allocations: 317.4 kB / 0.5455 GB, free: 1.715 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.889e-05/0.5567, allocations: 12 kB / 0.5455 GB, free: 1.703 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.739e-05/0.5567, allocations: 15.98 kB / 0.5455 GB, free: 1.688 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.77e-05/0.5568, allocations: 11.95 kB / 0.5455 GB, free: 1.676 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5568, allocations: 0 / 0.5455 GB, free: 1.676 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001089/0.5569, allocations: 58.31 kB / 0.5456 GB, free: 1.613 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.5569, allocations: 5.875 kB / 0.5456 GB, free: 1.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5569, allocations: 0 / 0.5456 GB, free: 1.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.557, allocations: 0 / 0.5456 GB, free: 1.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.5571, allocations: 27.97 kB / 0.5456 GB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.5571, allocations: 0 / 0.5456 GB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.785e-05/0.5572, allocations: 31.83 kB / 0.5456 GB, free: 1.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.5572, allocations: 4 kB / 0.5456 GB, free: 1.547 MB / 378.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 6.97e-05/0.5573, allocations: 104.9 kB / 0.5457 GB, free: 1.438 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.5574, allocations: 0 / 0.5457 GB, free: 1.438 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.5575, allocations: 69.7 kB / 0.5458 GB, free: 1.363 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.5575, allocations: 0 / 0.5458 GB, free: 1.363 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5575, allocations: 4 kB / 0.5458 GB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.5575, allocations: 0 / 0.5458 GB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.5577, allocations: 177.6 kB / 0.546 GB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.5577, allocations: 7.953 kB / 0.546 GB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.5579, allocations: 19.97 kB / 0.546 GB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.5579, allocations: 4 kB / 0.546 GB, free: 1.105 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.5579, allocations: 4 kB / 0.546 GB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.5579, allocations: 0 / 0.546 GB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.5579, allocations: 11.88 kB / 0.546 GB, free: 1.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.5581, allocations: 151.5 kB / 0.5462 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.5581, allocations: 81.06 kB / 0.5462 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.5581, allocations: 0 / 0.5462 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.5583, allocations: 19.97 kB / 0.5463 GB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.5583, allocations: 12 kB / 0.5463 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.5583, allocations: 0 / 0.5463 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.068e-05/0.5584, allocations: 93.12 kB / 0.5464 GB, free: 0.707 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5584, allocations: 0 / 0.5464 GB, free: 0.707 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001974/0.5586, allocations: 15.91 kB / 0.5464 GB, free: 0.6914 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 () * 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.0001399/0.5587, allocations: 95.23 kB / 0.5465 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.5589, allocations: 35.92 kB / 0.5465 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5589, allocations: 0 / 0.5465 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.071e-05/0.5589, allocations: 20.38 kB / 0.5465 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.5591, allocations: 11.94 kB / 0.5465 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002678/0.5594, allocations: 92.97 kB / 0.5466 GB, free: 412 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.5597, allocations: 0.6926 MB / 0.5473 GB, free: 15.68 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.402e-05/0.5597, allocations: 7.984 kB / 0.5473 GB, free: 15.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/0.5598, allocations: 11.44 kB / 0.5473 GB, free: 15.67 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5598, allocations: 4 kB / 0.5473 GB, free: 15.66 MB / 394.7 MB Notification: Performance of Templates: time 0.002707/0.5625, allocations: 0.601 MB / 0.5479 GB, free: 15.07 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)