Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Average.conf.json 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/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Average") translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7963/0.7963, allocations: 130.6 MB / 143.8 MB, free: 13.59 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 221.3 MB / 396.8 MB, free: 9.191 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 94.64 kB / 479 MB, free: 10.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.372e-05/3.375e-05, allocations: 4.125 kB / 0.5551 GB, free: 86.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1604, allocations: 81.58 MB / 0.6348 GB, free: 12.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5886/0.749, allocations: 111.2 MB / 0.7434 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.7493, allocations: 73.39 kB / 0.7434 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003587/0.7529, allocations: 1.136 MB / 0.7445 GB, free: 27.77 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.744e-06/0.7529, allocations: 1.094 kB / 0.7445 GB, free: 27.77 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.7529, allocations: 3.844 kB / 0.7445 GB, free: 27.77 MB / 0.5105 GB 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.0004038/0.7533, allocations: 373.1 kB / 0.7449 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.7534, allocations: 11.56 kB / 0.7449 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.7534, allocations: 7.781 kB / 0.7449 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.7536, allocations: 188.5 kB / 0.7451 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.7536, allocations: 0 / 0.7451 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.7536, allocations: 3.969 kB / 0.7451 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.7538, allocations: 69.28 kB / 0.7452 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.7538, allocations: 0 / 0.7452 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.7538, allocations: 0 / 0.7452 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.7538, allocations: 0 / 0.7452 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.555e-05/0.7539, allocations: 36.45 kB / 0.7452 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000508/0.7544, allocations: 343 kB / 0.7455 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.772e-05/0.7545, allocations: 38.48 kB / 0.7456 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.277e-05/0.7546, allocations: 15.73 kB / 0.7456 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.7546, allocations: 0 / 0.7456 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.7546, allocations: 32.86 kB / 0.7456 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.7546, allocations: 0 / 0.7456 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001781/0.7548, allocations: 69.95 kB / 0.7457 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.7549, allocations: 55.41 kB / 0.7457 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.32e-05/0.7549, allocations: 102.4 kB / 0.7458 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.755, allocations: 28.09 kB / 0.7459 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/0.755, allocations: 94.64 kB / 0.7459 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.755, allocations: 14.33 kB / 0.746 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.755, allocations: 0 / 0.746 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.7551, allocations: 321.2 kB / 0.7463 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.81e-05/0.7552, allocations: 7.031 kB / 0.7463 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.283e-05/0.7552, allocations: 15.22 kB / 0.7463 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.203e-05/0.7553, allocations: 18.3 kB / 0.7463 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.7553, allocations: 0 / 0.7463 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.995e-05/0.7554, allocations: 61.89 kB / 0.7464 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.7554, allocations: 3.844 kB / 0.7464 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.7554, allocations: 0 / 0.7464 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.7554, allocations: 0 / 0.7464 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.7556, allocations: 20.41 kB / 0.7464 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.7556, allocations: 3.953 kB / 0.7464 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.391e-05/0.7557, allocations: 24.3 kB / 0.7464 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.7557, allocations: 4.594 kB / 0.7464 GB, free: 26.12 MB / 0.5105 GB 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 7.519e-05/0.7558, allocations: 104.8 kB / 0.7465 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.7558, allocations: 7.75 kB / 0.7465 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/0.756, allocations: 71.17 kB / 0.7466 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.756, allocations: 0 / 0.7466 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.756, allocations: 11.84 kB / 0.7466 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.756, allocations: 5.688 kB / 0.7466 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.7562, allocations: 175.7 kB / 0.7468 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.7562, allocations: 0 / 0.7468 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.98e-05/0.7563, allocations: 19.83 kB / 0.7468 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.7563, allocations: 2.578 kB / 0.7468 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.7563, allocations: 0 / 0.7468 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7563, allocations: 0 / 0.7468 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.7563, allocations: 3.844 kB / 0.7468 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.7565, allocations: 163.6 kB / 0.747 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.7565, allocations: 77.11 kB / 0.747 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.7565, allocations: 0 / 0.747 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.7567, allocations: 17.81 kB / 0.747 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.7567, allocations: 7.531 kB / 0.7471 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.7567, allocations: 4 kB / 0.7471 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.916e-05/0.7568, allocations: 101.4 kB / 0.7472 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7568, allocations: 0 / 0.7472 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002142/0.757, allocations: 11.59 kB / 0.7472 GB, free: 25.43 MB / 0.5105 GB 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.0001503/0.7572, allocations: 102.5 kB / 0.7473 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001033/0.7573, allocations: 32.89 kB / 0.7473 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7573, allocations: 0 / 0.7473 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.613e-05/0.7573, allocations: 18.23 kB / 0.7473 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.7575, allocations: 9.766 kB / 0.7473 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002509/0.7578, allocations: 93.06 kB / 0.7474 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.758, allocations: 0.6973 MB / 0.7481 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.309e-05/0.7581, allocations: 6.984 kB / 0.7481 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.7581, allocations: 7.438 kB / 0.7481 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/0.7581, allocations: 0 / 0.7481 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of Templates: time 0.002467/0.7606, allocations: 0.6036 MB / 0.7487 GB, free: 24.5 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Average.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Average.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1)