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/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 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006009/0.006009, allocations: 101 kB / 15.73 MB, free: 5.992 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.00139/0.00139, allocations: 196.2 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7975/0.7975, allocations: 132.2 MB / 422.7 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 67.88 kB / 0.5814 GB, free: 7.59 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5616/0.5633, allocations: 80.2 MB / 0.6597 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.003562/0.567, allocations: 1.533 MB / 0.6612 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000431/0.5674, allocations: 119.7 kB / 0.6613 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.765e-05/0.5675, allocations: 1.375 kB / 0.6613 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.5677, allocations: 11.75 kB / 0.6613 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.125e-05/0.5677, allocations: 13.19 kB / 0.6613 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.568, allocations: 24.06 kB / 0.6613 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.5682, allocations: 56.17 kB / 0.6614 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.5683, allocations: 31.88 kB / 0.6614 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.493e-05/0.5684, allocations: 26.62 kB / 0.6614 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.837e-05/0.5685, allocations: 27.42 kB / 0.6615 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.5686, allocations: 4.188 kB / 0.6615 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.061e-05/0.5686, allocations: 10.61 kB / 0.6615 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6e-05/0.5687, allocations: 18.92 kB / 0.6615 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.728e-05/0.5688, allocations: 24.47 kB / 0.6615 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.569, allocations: 60.48 kB / 0.6616 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.569, allocations: 1.219 kB / 0.6616 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.823e-06/0.569, allocations: 0 / 0.6616 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.569, allocations: 0 / 0.6616 GB, free: 8.984 MB / 0.4981 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.0006399/0.5697, allocations: 384.6 kB / 0.662 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.5697, allocations: 8.844 kB / 0.662 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.5698, allocations: 8.875 kB / 0.662 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.57, allocations: 189.7 kB / 0.6621 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.57, allocations: 2.453 kB / 0.6622 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.57, allocations: 4 kB / 0.6622 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004371/0.5705, allocations: 92.64 kB / 0.6622 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.5705, allocations: 2.094 kB / 0.6622 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.5705, allocations: 3.938 kB / 0.6622 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.5706, allocations: 1.375 kB / 0.6622 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005331/0.5711, allocations: 83.69 kB / 0.6623 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007119/0.5718, allocations: 324.3 kB / 0.6626 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.5722, allocations: 63.2 kB / 0.6627 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/0.5725, allocations: 38.34 kB / 0.6627 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.495e-05/0.5725, allocations: 6.656 kB / 0.6627 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.5726, allocations: 35.62 kB / 0.6628 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.934e-06/0.5726, allocations: 0 / 0.6628 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0009527/0.5735, allocations: 135.2 kB / 0.6629 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.5736, allocations: 51.41 kB / 0.663 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.66e-05/0.5737, allocations: 129 kB / 0.6631 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.5737, allocations: 25.7 kB / 0.6631 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.5738, allocations: 93.86 kB / 0.6632 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.5738, allocations: 13.91 kB / 0.6632 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/0.5739, allocations: 13.95 kB / 0.6632 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.19e-05/0.574, allocations: 321.2 kB / 0.6635 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.5742, allocations: 37.02 kB / 0.6636 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.5745, allocations: 33.5 kB / 0.6636 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004936/0.575, allocations: 77.77 kB / 0.6637 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.575, allocations: 1.312 kB / 0.6637 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000569/0.5756, allocations: 104 kB / 0.6638 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.5756, allocations: 5.125 kB / 0.6638 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.5756, allocations: 0 / 0.6638 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.5757, allocations: 5.188 kB / 0.6638 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.5759, allocations: 22 kB / 0.6638 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.5759, allocations: 1.5 kB / 0.6638 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.5761, allocations: 10.58 kB / 0.6638 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.5761, allocations: 5.25 kB / 0.6638 GB, free: 7.098 MB / 0.4981 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.265e-05/0.5762, allocations: 117.7 kB / 0.6639 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.008e-05/0.5762, allocations: 2.438 kB / 0.6639 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006109/0.5769, allocations: 115.4 kB / 0.664 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.5769, allocations: 1.281 kB / 0.664 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.5769, allocations: 4 kB / 0.664 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.5769, allocations: 1.125 kB / 0.664 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.5772, allocations: 178.5 kB / 0.6642 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.5772, allocations: 0 / 0.6642 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.5773, allocations: 22.44 kB / 0.6642 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.5774, allocations: 3.938 kB / 0.6642 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.5774, allocations: 1 kB / 0.6642 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.5774, allocations: 0 / 0.6642 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5774, allocations: 1.188 kB / 0.6642 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005951/0.578, allocations: 206.5 kB / 0.6644 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.18e-05/0.5781, allocations: 82.33 kB / 0.6645 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.5781, allocations: 5.281 kB / 0.6645 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.5783, allocations: 14.27 kB / 0.6645 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.886e-05/0.5784, allocations: 10.61 kB / 0.6645 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.5784, allocations: 1.312 kB / 0.6645 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.209e-05/0.5785, allocations: 87.94 kB / 0.6646 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.31e-07/0.5785, allocations: 0 / 0.6646 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004525/0.5789, allocations: 9.281 kB / 0.6646 GB, free: 6.285 MB / 0.4981 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 () * 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 (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.0001601/0.5791, allocations: 110.4 kB / 0.6647 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006383/0.5798, allocations: 75.67 kB / 0.6648 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.5798, allocations: 1.375 kB / 0.6648 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002879/0.5801, allocations: 38.39 kB / 0.6649 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005108/0.5806, allocations: 7.531 kB / 0.6649 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004643/0.5811, allocations: 151 kB / 0.665 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/0.5813, allocations: 0.6925 MB / 0.6657 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.319e-05/0.5814, allocations: 15.83 kB / 0.6657 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.047e-05/0.5814, allocations: 9.906 kB / 0.6657 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.5814, allocations: 0 / 0.6657 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of Templates: time 0.004875/0.5863, allocations: 0.7716 MB / 0.6665 GB, free: 4.875 MB / 0.4981 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)