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.001262/0.001267, allocations: 114.2 kB / 16.42 MB, free: 6.512 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.001183/0.001183, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.275/1.275, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7633/0.7633, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 67.67 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1215, allocations: 80.92 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.002537/0.1241, allocations: 1.589 MB / 0.6669 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008595/0.125, allocations: 0.5258 MB / 0.6674 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.026e-05/0.125, allocations: 0 / 0.6674 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.12e-05/0.1251, allocations: 11.92 kB / 0.6674 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.223e-05/0.1252, allocations: 19.81 kB / 0.6674 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.1254, allocations: 55.8 kB / 0.6675 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.1256, allocations: 107.7 kB / 0.6676 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.851e-05/0.1257, allocations: 12.16 kB / 0.6676 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.097e-05/0.1258, allocations: 43.91 kB / 0.6676 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.215e-05/0.1259, allocations: 43.83 kB / 0.6677 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.1259, allocations: 8 kB / 0.6677 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.62e-05/0.1259, allocations: 8 kB / 0.6677 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.295e-05/0.126, allocations: 19.92 kB / 0.6677 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.841e-05/0.126, allocations: 35.84 kB / 0.6677 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.1262, allocations: 87.62 kB / 0.6678 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1262, allocations: 0 / 0.6678 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.755e-06/0.1262, allocations: 0 / 0.6678 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.1262, allocations: 3.938 kB / 0.6678 GB, free: 3.211 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.0007445/0.1269, allocations: 454.6 kB / 0.6682 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.127, allocations: 13.09 kB / 0.6683 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.543e-05/0.127, allocations: 8.891 kB / 0.6683 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.1273, allocations: 192.2 kB / 0.6685 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.181e-05/0.1274, allocations: 38.27 kB / 0.6685 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.1274, allocations: 8.328 kB / 0.6685 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.1277, allocations: 105.5 kB / 0.6686 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1277, allocations: 0 / 0.6686 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.1277, allocations: 4 kB / 0.6686 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1277, allocations: 0 / 0.6686 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003144/0.128, allocations: 71.92 kB / 0.6687 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005323/0.1286, allocations: 340.7 kB / 0.669 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003834/0.129, allocations: 94.61 kB / 0.6691 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.1292, allocations: 48.81 kB / 0.6691 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.1292, allocations: 7.984 kB / 0.6691 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002905/0.1295, allocations: 123.2 kB / 0.6693 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.1295, allocations: 3.938 kB / 0.6693 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006055/0.1301, allocations: 173.5 kB / 0.6694 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.1301, allocations: 59.41 kB / 0.6695 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.503e-05/0.1302, allocations: 126 kB / 0.6696 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.1303, allocations: 25.7 kB / 0.6696 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.626e-05/0.1303, allocations: 96.12 kB / 0.6697 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.1304, allocations: 27.75 kB / 0.6697 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.733e-05/0.1304, allocations: 33.7 kB / 0.6698 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.1305, allocations: 326.8 kB / 0.6701 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.1307, allocations: 51.95 kB / 0.6701 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.1309, allocations: 65.67 kB / 0.6702 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.1313, allocations: 168.6 kB / 0.6704 GB, free: 352 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1313, allocations: 0 / 0.6704 GB, free: 352 kB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004737/0.1318, allocations: 224.9 kB / 0.6706 GB, free: 108 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/0.1319, allocations: 63.39 kB / 0.6706 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1319, allocations: 0 / 0.6706 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1319, allocations: 8.031 kB / 0.6706 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.132, allocations: 23.92 kB / 0.6707 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.132, allocations: 0 / 0.6707 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.1322, allocations: 15.98 kB / 0.6707 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.1322, allocations: 7.938 kB / 0.6707 GB, free: 15.98 MB / 0.5137 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.184e-05/0.1323, allocations: 125.8 kB / 0.6708 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.1323, allocations: 7.953 kB / 0.6708 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.48e-05/0.1324, allocations: 20.38 kB / 0.6708 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1324, allocations: 0 / 0.6708 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1324, allocations: 0 / 0.6708 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.1324, allocations: 92.98 kB / 0.6709 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.1325, allocations: 3.938 kB / 0.6709 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.1326, allocations: 11.98 kB / 0.6709 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/0.1327, allocations: 19.97 kB / 0.671 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006277/0.1333, allocations: 241.2 kB / 0.6712 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006815/0.134, allocations: 378.6 kB / 0.6715 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002085/0.1342, allocations: 55.94 kB / 0.6716 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.854e-05/0.1343, allocations: 99.27 kB / 0.6717 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of Backend: time 3.81e-07/0.1343, allocations: 3.938 kB / 0.6717 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006249/0.1349, allocations: 261.2 kB / 0.6719 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0006495/0.1356, allocations: 0.6741 MB / 0.6726 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of Templates: time 0.004197/0.1398, allocations: 1.786 MB / 0.6744 GB, free: 12.11 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)