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.001566/0.001566, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001786/0.001786, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.329/1.329, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7906/0.7906, allocations: 132.2 MB / 423.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 64.91 kB / 0.582 GB, free: 23.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1336, allocations: 80.21 MB / 0.6604 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.002573/0.1362, allocations: 1.575 MB / 0.6619 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009186/0.1371, allocations: 0.5259 MB / 0.6624 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.636e-05/0.1372, allocations: 8 kB / 0.6624 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.228e-05/0.1372, allocations: 3.938 kB / 0.6624 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.307e-05/0.1373, allocations: 15.86 kB / 0.6624 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.1376, allocations: 55.81 kB / 0.6625 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.1378, allocations: 107.7 kB / 0.6626 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.839e-05/0.1379, allocations: 16.19 kB / 0.6626 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.684e-05/0.138, allocations: 39.89 kB / 0.6626 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.298e-05/0.1381, allocations: 43.83 kB / 0.6627 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.1381, allocations: 8 kB / 0.6627 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.646e-05/0.1381, allocations: 8 kB / 0.6627 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.168e-05/0.1381, allocations: 19.92 kB / 0.6627 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.322e-05/0.1382, allocations: 39.83 kB / 0.6628 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.1384, allocations: 87.62 kB / 0.6628 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1384, allocations: 0 / 0.6628 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1384, allocations: 3.938 kB / 0.6628 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.1384, allocations: 4 kB / 0.6628 GB, free: 7.68 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.0007261/0.1391, allocations: 454.6 kB / 0.6633 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1392, allocations: 15.97 kB / 0.6633 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.1392, allocations: 8.891 kB / 0.6633 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.1394, allocations: 188.2 kB / 0.6635 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.273e-05/0.1395, allocations: 42.25 kB / 0.6635 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.1396, allocations: 8.375 kB / 0.6635 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.1398, allocations: 101.5 kB / 0.6636 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1399, allocations: 0 / 0.6636 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.1399, allocations: 0 / 0.6636 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.1399, allocations: 0 / 0.6636 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003177/0.1402, allocations: 75.92 kB / 0.6637 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005245/0.1408, allocations: 336.7 kB / 0.664 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/0.1412, allocations: 102.5 kB / 0.6641 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.1413, allocations: 44.83 kB / 0.6642 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.1414, allocations: 0 / 0.6642 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003075/0.1417, allocations: 123.2 kB / 0.6643 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.993e-06/0.1417, allocations: 0 / 0.6643 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006897/0.1424, allocations: 181.5 kB / 0.6644 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.1425, allocations: 55.39 kB / 0.6645 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.1426, allocations: 126.1 kB / 0.6646 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.1426, allocations: 29.7 kB / 0.6647 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.92e-05/0.1427, allocations: 88.14 kB / 0.6647 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.1428, allocations: 35.73 kB / 0.6648 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.033e-05/0.1429, allocations: 33.7 kB / 0.6648 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.143, allocations: 322.8 kB / 0.6651 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.1432, allocations: 51.95 kB / 0.6652 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.1434, allocations: 68.2 kB / 0.6652 GB, free: 5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.1438, allocations: 172.5 kB / 0.6654 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1438, allocations: 4 kB / 0.6654 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004752/0.1443, allocations: 220.9 kB / 0.6656 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.583e-05/0.1444, allocations: 63.44 kB / 0.6657 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.1444, allocations: 4 kB / 0.6657 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1444, allocations: 0 / 0.6657 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.1445, allocations: 31.84 kB / 0.6657 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.1446, allocations: 4 kB / 0.6657 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.1447, allocations: 11.98 kB / 0.6657 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.868e-05/0.1447, allocations: 8 kB / 0.6657 GB, free: 4.445 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 0.0001016/0.1448, allocations: 117.8 kB / 0.6658 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.1449, allocations: 11.95 kB / 0.6658 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.442e-05/0.1449, allocations: 16.73 kB / 0.6659 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1449, allocations: 0 / 0.6659 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1449, allocations: 0 / 0.6659 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/0.145, allocations: 89 kB / 0.6659 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.145, allocations: 11.88 kB / 0.666 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.1451, allocations: 15.97 kB / 0.666 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.881e-05/0.1452, allocations: 15.98 kB / 0.666 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006098/0.1458, allocations: 236.8 kB / 0.6662 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006424/0.1465, allocations: 382.6 kB / 0.6666 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001937/0.1467, allocations: 59.94 kB / 0.6666 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.992e-05/0.1468, allocations: 95.2 kB / 0.6667 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of Backend: time 3.81e-07/0.1468, allocations: 0 / 0.6667 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006221/0.1474, allocations: 266.7 kB / 0.667 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0006066/0.148, allocations: 0.6629 MB / 0.6676 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of Templates: time 0.004414/0.1524, allocations: 1.8 MB / 0.6694 GB, free: 0.5742 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)