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.009806/0.009806, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001864/0.001864, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8029/0.8029, allocations: 132.2 MB / 422.7 MB, free: 6.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 62.81 kB / 0.5813 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1773, allocations: 80.21 MB / 0.6597 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002414/0.1797, allocations: 1.535 MB / 0.6612 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003112/0.18, allocations: 116.5 kB / 0.6613 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.787e-05/0.1801, allocations: 0 / 0.6613 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.1802, allocations: 15.92 kB / 0.6613 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.494e-05/0.1803, allocations: 11.88 kB / 0.6613 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.1805, allocations: 27.95 kB / 0.6613 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.377e-05/0.1806, allocations: 47.84 kB / 0.6614 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.1808, allocations: 31.92 kB / 0.6614 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.652e-05/0.1808, allocations: 19.92 kB / 0.6614 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.652e-05/0.1809, allocations: 31.91 kB / 0.6615 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.1809, allocations: 4 kB / 0.6615 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.232e-05/0.181, allocations: 8 kB / 0.6615 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.032e-05/0.181, allocations: 27.91 kB / 0.6615 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.133e-05/0.1811, allocations: 23.86 kB / 0.6615 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.1812, allocations: 59.69 kB / 0.6616 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1812, allocations: 0 / 0.6616 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1812, allocations: 0 / 0.6616 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.1813, allocations: 0 / 0.6616 GB, free: 8.258 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.0005338/0.1818, allocations: 387.1 kB / 0.662 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1818, allocations: 12.03 kB / 0.662 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.1819, allocations: 8.891 kB / 0.662 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.182, allocations: 188.2 kB / 0.6621 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.1821, allocations: 4.375 kB / 0.6622 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.1821, allocations: 4.375 kB / 0.6622 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.1824, allocations: 82.2 kB / 0.6622 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1824, allocations: 4.188 kB / 0.6622 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.1824, allocations: 7.875 kB / 0.6622 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1824, allocations: 4 kB / 0.6623 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002962/0.1827, allocations: 79.91 kB / 0.6623 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005006/0.1832, allocations: 336.6 kB / 0.6626 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.1834, allocations: 58.53 kB / 0.6627 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.1836, allocations: 40.92 kB / 0.6627 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.522e-05/0.1836, allocations: 3.984 kB / 0.6627 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.1836, allocations: 34.56 kB / 0.6628 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1837, allocations: 0 / 0.6628 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005243/0.1842, allocations: 141.6 kB / 0.6629 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.1842, allocations: 51.41 kB / 0.663 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.045e-05/0.1843, allocations: 117.8 kB / 0.6631 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.1843, allocations: 25.7 kB / 0.6631 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.257e-05/0.1844, allocations: 96.08 kB / 0.6632 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.1844, allocations: 7.953 kB / 0.6632 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.1845, allocations: 13.72 kB / 0.6632 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.589e-05/0.1846, allocations: 326.8 kB / 0.6635 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.1847, allocations: 27.97 kB / 0.6636 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.1848, allocations: 39.95 kB / 0.6636 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.1851, allocations: 68.78 kB / 0.6637 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1851, allocations: 0 / 0.6637 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003088/0.1854, allocations: 121.4 kB / 0.6638 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.1854, allocations: 4 kB / 0.6638 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1855, allocations: 0 / 0.6638 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1855, allocations: 7.938 kB / 0.6638 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.1856, allocations: 11.98 kB / 0.6638 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1856, allocations: 0 / 0.6638 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.364e-05/0.1857, allocations: 15.92 kB / 0.6638 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.1857, allocations: 0 / 0.6638 GB, free: 5.746 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 7.661e-05/0.1858, allocations: 125.8 kB / 0.6639 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.1858, allocations: 4 kB / 0.6639 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003556/0.1862, allocations: 113.5 kB / 0.664 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1862, allocations: 0 / 0.664 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1862, allocations: 0 / 0.664 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1862, allocations: 7.984 kB / 0.664 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.1864, allocations: 173.6 kB / 0.6642 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1864, allocations: 3.984 kB / 0.6642 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.035e-05/0.1865, allocations: 19.98 kB / 0.6642 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.1865, allocations: 0 / 0.6642 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.1865, allocations: 4 kB / 0.6642 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1865, allocations: 0 / 0.6642 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1865, allocations: 0 / 0.6642 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000346/0.1869, allocations: 203.7 kB / 0.6644 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.1869, allocations: 93.09 kB / 0.6645 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.1869, allocations: 0 / 0.6645 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.187, allocations: 11.98 kB / 0.6645 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.1871, allocations: 3.984 kB / 0.6645 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.1871, allocations: 7.938 kB / 0.6645 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.857e-05/0.1872, allocations: 95.27 kB / 0.6646 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1872, allocations: 0 / 0.6646 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002188/0.1874, allocations: 8 kB / 0.6646 GB, free: 4.777 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.000121/0.1875, allocations: 103.2 kB / 0.6647 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003484/0.1879, allocations: 75.91 kB / 0.6648 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1879, allocations: 7.938 kB / 0.6648 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.188, allocations: 35.97 kB / 0.6649 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.1883, allocations: 11.06 kB / 0.6649 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.1886, allocations: 153.3 kB / 0.665 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.1889, allocations: 0.6924 MB / 0.6657 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.841e-05/0.1889, allocations: 4.25 kB / 0.6657 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.1889, allocations: 11.44 kB / 0.6657 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1889, allocations: 0 / 0.6657 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of Templates: time 0.002927/0.1919, allocations: 0.7769 MB / 0.6665 GB, free: 2.859 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)