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.001048/0.001048, allocations: 92.62 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 176.8 kB / 16.92 MB, free: 6.652 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.392/1.392, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9581/0.9581, allocations: 135.3 MB / 427.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.0004735, allocations: 8 kB / 0.5082 GB, free: 4.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.149, allocations: 82.32 MB / 0.5886 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.001667/0.1507, allocations: 1.294 MB / 0.5899 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008669/0.1516, allocations: 0.5183 MB / 0.5904 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.12e-05/0.1517, allocations: 0 / 0.5904 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.126e-05/0.1517, allocations: 7.938 kB / 0.5904 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.678e-05/0.1518, allocations: 3.938 kB / 0.5904 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.152, allocations: 47.88 kB / 0.5904 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.1522, allocations: 91.77 kB / 0.5905 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.515e-05/0.1523, allocations: 20.11 kB / 0.5906 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.431e-05/0.1524, allocations: 35.89 kB / 0.5906 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.025e-05/0.1525, allocations: 39.83 kB / 0.5906 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.1525, allocations: 4 kB / 0.5906 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.513e-05/0.1525, allocations: 4 kB / 0.5906 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.032e-05/0.1526, allocations: 15.92 kB / 0.5906 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.008e-05/0.1526, allocations: 61.53 kB / 0.5907 GB, free: 480 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.565e-05/0.1527, allocations: 48.12 kB / 0.5908 GB, free: 432 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1527, allocations: 8 kB / 0.5908 GB, free: 424 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1527, allocations: 0 / 0.5908 GB, free: 424 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.1527, allocations: 0 / 0.5908 GB, free: 424 kB / 494.1 MB 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.000693/0.1534, allocations: 450.7 kB / 0.5912 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.1535, allocations: 8.031 kB / 0.5912 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.845e-05/0.1535, allocations: 16.84 kB / 0.5912 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.1537, allocations: 196.1 kB / 0.5914 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.828e-05/0.1538, allocations: 38.25 kB / 0.5914 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.1539, allocations: 8.375 kB / 0.5914 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.1542, allocations: 105.6 kB / 0.5915 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1542, allocations: 0 / 0.5915 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.1542, allocations: 7.938 kB / 0.5916 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.1542, allocations: 4 kB / 0.5916 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.1546, allocations: 95.86 kB / 0.5916 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005722/0.1552, allocations: 340.6 kB / 0.592 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003991/0.1556, allocations: 110.6 kB / 0.5921 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.1558, allocations: 56.83 kB / 0.5921 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.1558, allocations: 0 / 0.5921 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003392/0.1561, allocations: 135.3 kB / 0.5923 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.1561, allocations: 0 / 0.5923 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006333/0.1568, allocations: 201.4 kB / 0.5925 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.1568, allocations: 55.41 kB / 0.5925 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.385e-05/0.1569, allocations: 122.1 kB / 0.5926 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.157, allocations: 33.7 kB / 0.5927 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/0.157, allocations: 95.98 kB / 0.5927 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.1571, allocations: 23.7 kB / 0.5928 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.1571, allocations: 21.66 kB / 0.5928 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1572, allocations: 327.1 kB / 0.5931 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.1574, allocations: 59.95 kB / 0.5932 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.1576, allocations: 84.48 kB / 0.5932 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/0.158, allocations: 188.7 kB / 0.5934 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.158, allocations: 3.938 kB / 0.5934 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004923/0.1585, allocations: 232.9 kB / 0.5936 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.1586, allocations: 63.39 kB / 0.5937 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1586, allocations: 0 / 0.5937 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.1586, allocations: 0 / 0.5937 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.1587, allocations: 32.02 kB / 0.5937 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.1588, allocations: 4 kB / 0.5937 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.1589, allocations: 27.81 kB / 0.5938 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.1589, allocations: 7.938 kB / 0.5938 GB, free: 13.04 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.689e-05/0.159, allocations: 121.8 kB / 0.5939 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.1591, allocations: 7.906 kB / 0.5939 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.163e-05/0.1591, allocations: 16.38 kB / 0.5939 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.1591, allocations: 0 / 0.5939 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1591, allocations: 0 / 0.5939 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.1591, allocations: 3.984 kB / 0.5939 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.1593, allocations: 197.5 kB / 0.5941 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1593, allocations: 3.984 kB / 0.5941 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.1595, allocations: 31.97 kB / 0.5941 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1595, allocations: 0 / 0.5941 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.1595, allocations: 0 / 0.5941 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1595, allocations: 4 kB / 0.5941 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1595, allocations: 4 kB / 0.5941 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006423/0.1602, allocations: 248.8 kB / 0.5944 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.1602, allocations: 88.95 kB / 0.5945 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.1602, allocations: 0 / 0.5945 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.1604, allocations: 23.98 kB / 0.5945 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/0.1605, allocations: 19.91 kB / 0.5945 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.1605, allocations: 4 kB / 0.5945 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.355e-05/0.1605, allocations: 103.2 kB / 0.5946 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.1605, allocations: 0 / 0.5946 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002188/0.1608, allocations: 24 kB / 0.5946 GB, free: 12.05 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.0001083/0.1609, allocations: 99.23 kB / 0.5947 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004921/0.1614, allocations: 250.7 kB / 0.595 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1614, allocations: 64 / 0.595 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.1616, allocations: 67.91 kB / 0.595 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.1619, allocations: 15.98 kB / 0.5951 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006319/0.1625, allocations: 306.9 kB / 0.5953 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.1628, allocations: 0.6965 MB / 0.596 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.939e-05/0.1628, allocations: 15.38 kB / 0.596 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1628, allocations: 0 / 0.596 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.002981/0.1658, allocations: 1.416 MB / 0.5974 GB, free: 9.117 MB / 0.4981 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)