Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Math.Examples.MovingAverage") translateModel(IDEAS.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001539/0.00154, allocations: 109.5 kB / 16.42 MB, free: 6.434 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.001619/0.001619, allocations: 187.9 kB / 17.35 MB, free: 5.688 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.297/1.297, allocations: 222.9 MB / 241.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8278/0.8278, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.8 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1349, allocations: 80.93 MB / 0.6653 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.002742/0.1377, allocations: 1.571 MB / 0.6669 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009218/0.1386, allocations: 0.5259 MB / 0.6674 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.571e-05/0.1387, allocations: 3.938 kB / 0.6674 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.204e-05/0.1387, allocations: 11.92 kB / 0.6674 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.941e-05/0.1388, allocations: 15.86 kB / 0.6674 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.1391, allocations: 51.88 kB / 0.6674 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.1393, allocations: 107.7 kB / 0.6675 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1395, allocations: 20.11 kB / 0.6676 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.53e-05/0.1395, allocations: 39.91 kB / 0.6676 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.402e-05/0.1396, allocations: 43.77 kB / 0.6676 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.1397, allocations: 11.98 kB / 0.6677 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.102e-05/0.1397, allocations: 8 kB / 0.6677 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.489e-05/0.1397, allocations: 19.92 kB / 0.6677 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.453e-05/0.1398, allocations: 35.86 kB / 0.6677 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.14, allocations: 83.62 kB / 0.6678 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.14, allocations: 4 kB / 0.6678 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.14, allocations: 0 / 0.6678 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.14, allocations: 0 / 0.6678 GB, free: 3.25 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.0007604/0.1408, allocations: 458.6 kB / 0.6682 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1408, allocations: 9.109 kB / 0.6682 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.643e-05/0.1409, allocations: 12.89 kB / 0.6683 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.1411, allocations: 200.1 kB / 0.6685 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.547e-05/0.1412, allocations: 30.27 kB / 0.6685 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/0.1413, allocations: 12.33 kB / 0.6685 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.1416, allocations: 105.6 kB / 0.6686 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1416, allocations: 0 / 0.6686 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.1416, allocations: 0 / 0.6686 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1416, allocations: 0 / 0.6686 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.1419, allocations: 75.86 kB / 0.6687 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005732/0.1425, allocations: 344.7 kB / 0.669 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/0.1429, allocations: 90.58 kB / 0.6691 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.1431, allocations: 48.81 kB / 0.6691 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.1431, allocations: 4 kB / 0.6691 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002885/0.1434, allocations: 119.3 kB / 0.6692 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.1434, allocations: 0 / 0.6692 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005901/0.144, allocations: 177.5 kB / 0.6694 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.1441, allocations: 55.41 kB / 0.6695 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.849e-05/0.1442, allocations: 126 kB / 0.6696 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.1442, allocations: 33.7 kB / 0.6696 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/0.1442, allocations: 88.12 kB / 0.6697 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.1443, allocations: 31.75 kB / 0.6697 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.97e-05/0.1443, allocations: 33.7 kB / 0.6698 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1445, allocations: 330.8 kB / 0.6701 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.1447, allocations: 47.95 kB / 0.6701 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.1448, allocations: 69.67 kB / 0.6702 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.1452, allocations: 168.5 kB / 0.6704 GB, free: 388 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.1452, allocations: 4 kB / 0.6704 GB, free: 384 kB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004578/0.1457, allocations: 224.9 kB / 0.6706 GB, free: 140 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.264e-05/0.1457, allocations: 61.11 kB / 0.6706 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1457, allocations: 0 / 0.6706 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1457, allocations: 8.031 kB / 0.6706 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.1459, allocations: 23.98 kB / 0.6707 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1459, allocations: 0 / 0.6707 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.146, allocations: 15.98 kB / 0.6707 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.1461, allocations: 4 kB / 0.6707 GB, free: 16 kB / 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 0.0001161/0.1462, allocations: 133.6 kB / 0.6708 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.1462, allocations: 7.953 kB / 0.6708 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/0.1462, allocations: 16.36 kB / 0.6708 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1463, allocations: 4 kB / 0.6708 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1463, allocations: 0 / 0.6708 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/0.1463, allocations: 88.98 kB / 0.6709 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.1463, allocations: 11.94 kB / 0.6709 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.1465, allocations: 11.98 kB / 0.6709 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-05/0.1466, allocations: 19.97 kB / 0.671 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006189/0.1472, allocations: 237.2 kB / 0.6712 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000649/0.1478, allocations: 382.6 kB / 0.6716 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001801/0.148, allocations: 55.94 kB / 0.6716 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.045e-05/0.1481, allocations: 95.27 kB / 0.6717 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of Backend: time 3e-07/0.1481, allocations: 0 / 0.6717 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005803/0.1487, allocations: 269.1 kB / 0.672 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0005783/0.1493, allocations: 0.6644 MB / 0.6726 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of Templates: time 0.004154/0.1534, allocations: 1.797 MB / 0.6744 GB, free: 12.13 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe 2>&1)