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.007496/0.007496, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001647/0.001647, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8237/0.8237, allocations: 132.2 MB / 422.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.55 kB / 0.5814 GB, free: 23.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1709, allocations: 80.2 MB / 0.6597 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002586/0.1736, allocations: 1.534 MB / 0.6612 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003201/0.1739, allocations: 112.5 kB / 0.6613 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.709e-05/0.174, allocations: 0 / 0.6613 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.1741, allocations: 11.94 kB / 0.6613 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.675e-05/0.1741, allocations: 11.88 kB / 0.6613 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.1744, allocations: 31.95 kB / 0.6613 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.323e-05/0.1745, allocations: 51.78 kB / 0.6614 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.1746, allocations: 31.97 kB / 0.6614 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.675e-05/0.1747, allocations: 23.92 kB / 0.6614 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.068e-05/0.1747, allocations: 27.91 kB / 0.6615 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.1747, allocations: 4 kB / 0.6615 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.869e-05/0.1748, allocations: 11.94 kB / 0.6615 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.385e-05/0.1749, allocations: 19.92 kB / 0.6615 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.905e-05/0.1749, allocations: 27.86 kB / 0.6615 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.175, allocations: 59.8 kB / 0.6616 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1751, allocations: 0 / 0.6616 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1751, allocations: 0 / 0.6616 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.1751, allocations: 0 / 0.6616 GB, free: 8.297 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.0005329/0.1756, allocations: 383.2 kB / 0.6619 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1757, allocations: 12.03 kB / 0.662 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.1757, allocations: 4.844 kB / 0.662 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.1759, allocations: 190.8 kB / 0.6621 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.1759, allocations: 4.375 kB / 0.6622 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.1759, allocations: 384 / 0.6622 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.1762, allocations: 94.19 kB / 0.6622 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1762, allocations: 192 / 0.6622 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1762, allocations: 3.938 kB / 0.6622 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1762, allocations: 4 kB / 0.6622 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.1765, allocations: 79.86 kB / 0.6623 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005068/0.177, allocations: 320.8 kB / 0.6626 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.1772, allocations: 62.56 kB / 0.6627 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.1774, allocations: 40.91 kB / 0.6627 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.1774, allocations: 4 kB / 0.6627 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.1775, allocations: 34.56 kB / 0.6628 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.1775, allocations: 0 / 0.6628 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005362/0.178, allocations: 133.6 kB / 0.6629 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.1781, allocations: 59.41 kB / 0.663 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.713e-05/0.1782, allocations: 121.8 kB / 0.6631 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.1782, allocations: 25.7 kB / 0.6631 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.1783, allocations: 95.98 kB / 0.6632 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.1783, allocations: 11.89 kB / 0.6632 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.1783, allocations: 17.7 kB / 0.6632 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1784, allocations: 318.8 kB / 0.6635 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.1786, allocations: 43.89 kB / 0.6636 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.1787, allocations: 36 kB / 0.6636 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.179, allocations: 72.77 kB / 0.6637 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.179, allocations: 0 / 0.6637 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000304/0.1793, allocations: 109.5 kB / 0.6638 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1793, allocations: 4 kB / 0.6638 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1793, allocations: 0 / 0.6638 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1794, allocations: 3.938 kB / 0.6638 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.1795, allocations: 23.97 kB / 0.6638 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1795, allocations: 0 / 0.6638 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.262e-05/0.1796, allocations: 15.98 kB / 0.6638 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.1796, allocations: 0 / 0.6638 GB, free: 5.789 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 9.456e-05/0.1797, allocations: 117.8 kB / 0.6639 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.1797, allocations: 4 kB / 0.6639 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003495/0.1801, allocations: 109.5 kB / 0.664 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1801, allocations: 4 kB / 0.664 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1801, allocations: 8 kB / 0.664 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.1801, allocations: 0 / 0.664 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.1803, allocations: 177.6 kB / 0.6642 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1803, allocations: 0 / 0.6642 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.1804, allocations: 19.92 kB / 0.6642 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1804, allocations: 0 / 0.6642 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.1805, allocations: 3.984 kB / 0.6642 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1805, allocations: 0 / 0.6642 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1805, allocations: 0 / 0.6642 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.1808, allocations: 203.3 kB / 0.6644 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.417e-05/0.1809, allocations: 89.03 kB / 0.6645 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.1809, allocations: 4 kB / 0.6645 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.823e-05/0.181, allocations: 11.98 kB / 0.6645 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.181, allocations: 0 / 0.6645 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.1811, allocations: 7.984 kB / 0.6645 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.059e-05/0.1811, allocations: 91.28 kB / 0.6646 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.483e-06/0.1811, allocations: 0 / 0.6646 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002303/0.1814, allocations: 15.84 kB / 0.6646 GB, free: 4.828 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.0001816/0.1815, allocations: 111.1 kB / 0.6647 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003618/0.1819, allocations: 75.92 kB / 0.6648 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1819, allocations: 0 / 0.6648 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.1821, allocations: 39.95 kB / 0.6649 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.1824, allocations: 6.953 kB / 0.6649 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003632/0.1828, allocations: 153.9 kB / 0.665 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.1831, allocations: 0.6924 MB / 0.6657 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.464e-05/0.1831, allocations: 11.92 kB / 0.6657 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.073e-05/0.1832, allocations: 11.38 kB / 0.6657 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1832, allocations: 0 / 0.6657 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of Templates: time 0.003223/0.1864, allocations: 0.769 MB / 0.6665 GB, free: 2.91 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)