Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.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.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage") translateModel(IDEAS.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 108 kB / 16.41 MB, free: 6.508 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.001197/0.001197, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8022/0.8022, allocations: 132.2 MB / 423.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 67.64 kB / 0.582 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1391, allocations: 80.22 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.002986/0.1422, allocations: 1.573 MB / 0.6619 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.1432, allocations: 0.5298 MB / 0.6624 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.862e-05/0.1433, allocations: 4 kB / 0.6624 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.214e-05/0.1433, allocations: 3.938 kB / 0.6624 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.1435, allocations: 23.78 kB / 0.6624 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.1437, allocations: 47.88 kB / 0.6625 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.144, allocations: 107.7 kB / 0.6626 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.749e-05/0.1441, allocations: 16.19 kB / 0.6626 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.551e-05/0.1442, allocations: 39.84 kB / 0.6626 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.006e-05/0.1443, allocations: 43.81 kB / 0.6627 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.1443, allocations: 8 kB / 0.6627 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.758e-05/0.1443, allocations: 8 kB / 0.6627 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.079e-05/0.1444, allocations: 19.92 kB / 0.6627 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.539e-05/0.1444, allocations: 39.84 kB / 0.6627 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.1446, allocations: 87.64 kB / 0.6628 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1446, allocations: 0 / 0.6628 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.016e-06/0.1446, allocations: 3.984 kB / 0.6628 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.1446, allocations: 4 kB / 0.6628 GB, free: 7.691 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007857/0.1454, allocations: 450.7 kB / 0.6633 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1454, allocations: 8.031 kB / 0.6633 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.219e-05/0.1455, allocations: 16.78 kB / 0.6633 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.1458, allocations: 188.2 kB / 0.6635 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.399e-05/0.1459, allocations: 34.25 kB / 0.6635 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.1459, allocations: 20.36 kB / 0.6635 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.1462, allocations: 101.5 kB / 0.6636 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1463, allocations: 0 / 0.6636 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.1463, allocations: 0 / 0.6636 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1463, allocations: 0 / 0.6636 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.1466, allocations: 75.92 kB / 0.6637 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000603/0.1472, allocations: 340.6 kB / 0.664 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.1476, allocations: 94.56 kB / 0.6641 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.1478, allocations: 48.83 kB / 0.6641 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.1478, allocations: 0 / 0.6641 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003131/0.1482, allocations: 119.3 kB / 0.6643 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.863e-06/0.1482, allocations: 0 / 0.6643 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006329/0.1488, allocations: 185.4 kB / 0.6644 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.1489, allocations: 51.41 kB / 0.6645 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.739e-05/0.149, allocations: 122.1 kB / 0.6646 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.149, allocations: 33.7 kB / 0.6646 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.1491, allocations: 95.98 kB / 0.6647 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.1491, allocations: 27.7 kB / 0.6648 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.1492, allocations: 29.72 kB / 0.6648 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1493, allocations: 326.8 kB / 0.6651 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.1495, allocations: 51.89 kB / 0.6651 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.1497, allocations: 69.67 kB / 0.6652 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.1501, allocations: 172.5 kB / 0.6654 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1501, allocations: 0 / 0.6654 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004889/0.1506, allocations: 224.9 kB / 0.6656 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/0.1506, allocations: 59.44 kB / 0.6656 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1506, allocations: 4 kB / 0.6656 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1507, allocations: 0 / 0.6656 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.1508, allocations: 27.92 kB / 0.6657 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.1508, allocations: 7.922 kB / 0.6657 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.151, allocations: 19.89 kB / 0.6657 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.151, allocations: 7.938 kB / 0.6657 GB, free: 4.453 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,step.count,$PRE.step.count,step.T_start,$PRE.step.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 2 * 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.631e-05/0.1511, allocations: 121.8 kB / 0.6658 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.1511, allocations: 7.906 kB / 0.6658 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.134e-05/0.1512, allocations: 16.36 kB / 0.6658 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1512, allocations: 0 / 0.6658 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1512, allocations: 0 / 0.6658 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1512, allocations: 0 / 0.6658 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.1514, allocations: 193.6 kB / 0.666 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1514, allocations: 3.984 kB / 0.666 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.1516, allocations: 23.92 kB / 0.6661 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1516, allocations: 0 / 0.6661 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.1516, allocations: 4 kB / 0.6661 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1516, allocations: 3.984 kB / 0.6661 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1516, allocations: 0 / 0.6661 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006389/0.1523, allocations: 229.1 kB / 0.6663 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.745e-05/0.1523, allocations: 92.95 kB / 0.6664 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.1524, allocations: 0 / 0.6664 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.1525, allocations: 16.03 kB / 0.6664 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.063e-05/0.1526, allocations: 19.97 kB / 0.6664 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.1526, allocations: 0 / 0.6664 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.075e-05/0.1527, allocations: 99.2 kB / 0.6665 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.1527, allocations: 0 / 0.6665 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002232/0.1529, allocations: 24 kB / 0.6665 GB, free: 3.516 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (movingAverage.iDelay,movingAverage.iStop,firstOrder.y) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,step.T_start,step.count) * Number of discrete states: 1 (step.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001186/0.153, allocations: 107.2 kB / 0.6666 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004848/0.1535, allocations: 226.7 kB / 0.6668 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1535, allocations: 0 / 0.6668 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.1537, allocations: 51.91 kB / 0.6669 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.154, allocations: 26.56 kB / 0.6669 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006376/0.1546, allocations: 266.1 kB / 0.6672 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.1549, allocations: 0.6963 MB / 0.6679 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.574e-05/0.1549, allocations: 15.44 kB / 0.6679 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of SimCode: time 1.523e-06/0.1549, allocations: 4 kB / 0.6679 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of Templates: time 0.003094/0.158, allocations: 1.456 MB / 0.6693 GB, free: 0.5977 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.pipe 2>&1)