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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009727/0.0009727, allocations: 82.05 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 169.7 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9703/0.9703, allocations: 177.1 MB / 203.7 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.829/0.829, allocations: 154.9 MB / 415.1 MB, free: 272 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage") translateModel(IDEAS.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 0.5211 GB, free: 1.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.808e-05, allocations: 3.859 kB / 0.5211 GB, free: 1.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.002251/0.002279, allocations: 1.626 MB / 0.5227 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.000803/0.003082, allocations: 0.539 MB / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.32e-05/0.003155, allocations: 4 kB / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.392e-05/0.003199, allocations: 4.969 kB / 0.5233 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.003325, allocations: 16.48 kB / 0.5233 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.003642, allocations: 55.75 kB / 0.5233 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.003842, allocations: 109 kB / 0.5234 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.003957, allocations: 4.188 kB / 0.5234 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.004083, allocations: 55.89 kB / 0.5235 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.65e-05/0.00417, allocations: 36.5 kB / 0.5235 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.004194, allocations: 8 kB / 0.5235 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.464e-05/0.004208, allocations: 12.97 kB / 0.5235 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.959e-05/0.004238, allocations: 15.92 kB / 0.5236 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.004275, allocations: 24.47 kB / 0.5236 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.004391, allocations: 71.72 kB / 0.5236 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.004394, allocations: 0.7812 kB / 0.5236 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.263e-06/0.004395, allocations: 0 / 0.5236 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.004399, allocations: 2.062 kB / 0.5236 GB, free: 14.97 MB / 0.4948 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.0008019/0.005201, allocations: 0.4991 MB / 0.5241 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.00524, allocations: 8.031 kB / 0.5241 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.005286, allocations: 14.02 kB / 0.5242 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.005441, allocations: 136.5 kB / 0.5243 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.677e-05/0.005518, allocations: 95.02 kB / 0.5244 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.005539, allocations: 8.375 kB / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.00568, allocations: 82.89 kB / 0.5245 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.005692, allocations: 4.953 kB / 0.5245 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.005704, allocations: 11.94 kB / 0.5245 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.00571, allocations: 1.5 kB / 0.5245 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.444e-05/0.005744, allocations: 11.98 kB / 0.5245 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.006074, allocations: 288.3 kB / 0.5248 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.006202, allocations: 52.62 kB / 0.5248 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.404e-05/0.006226, allocations: 15.69 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.006246, allocations: 12.84 kB / 0.5248 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001169/0.006363, allocations: 89.02 kB / 0.5249 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.006364, allocations: 0.625 kB / 0.5249 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.000169/0.006533, allocations: 94.5 kB / 0.525 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.00656, allocations: 51.41 kB / 0.5251 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.882e-05/0.006638, allocations: 187.1 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.006655, allocations: 29.7 kB / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.006714, allocations: 142.8 kB / 0.5254 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.006738, allocations: 33.59 kB / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.006786, allocations: 35.36 kB / 0.5255 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.006902, allocations: 0.4884 MB / 0.526 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.37e-05/0.006956, allocations: 67.39 kB / 0.526 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.258e-05/0.007009, allocations: 100.9 kB / 0.5261 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.357e-05/0.007082, allocations: 111.9 kB / 0.5262 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.007084, allocations: 0 / 0.5262 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001672/0.007251, allocations: 208.3 kB / 0.5264 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/0.007288, allocations: 63.39 kB / 0.5265 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.007295, allocations: 4 kB / 0.5265 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.007306, allocations: 1.625 kB / 0.5265 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.539e-05/0.007382, allocations: 19.98 kB / 0.5265 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.007386, allocations: 4 kB / 0.5265 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.723e-05/0.007443, allocations: 20.91 kB / 0.5265 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.007453, allocations: 8 kB / 0.5265 GB, free: 11.7 MB / 0.4948 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 7.909e-05/0.007532, allocations: 165.5 kB / 0.5267 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.007551, allocations: 15.88 kB / 0.5267 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.007579, allocations: 19.62 kB / 0.5267 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.007581, allocations: 0 / 0.5267 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/0.007583, allocations: 0 / 0.5267 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.007586, allocations: 0 / 0.5267 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.615e-05/0.007682, allocations: 121.2 kB / 0.5268 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.007684, allocations: 0 / 0.5268 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.092e-05/0.007745, allocations: 19.98 kB / 0.5269 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.007747, allocations: 0 / 0.5269 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.007757, allocations: 7.938 kB / 0.5269 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.007758, allocations: 3.031 kB / 0.5269 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.007758, allocations: 0 / 0.5269 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.007938, allocations: 144.3 kB / 0.527 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.156e-05/0.007949, allocations: 4 kB / 0.527 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.007965, allocations: 7.938 kB / 0.527 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.394e-05/0.008009, allocations: 7.984 kB / 0.527 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.008055, allocations: 25.41 kB / 0.5271 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-06/0.008063, allocations: 4 kB / 0.5271 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.355e-05/0.008106, allocations: 141.9 kB / 0.5272 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008106, allocations: 0 / 0.5272 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001353/0.008242, allocations: 33.16 kB / 0.5272 GB, free: 10.95 MB / 0.4948 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 9.234e-05/0.008334, allocations: 99.19 kB / 0.5273 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001694/0.008503, allocations: 222.5 kB / 0.5275 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.008505, allocations: 0.625 kB / 0.5275 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.591e-05/0.008551, allocations: 31.67 kB / 0.5276 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.008722, allocations: 30.83 kB / 0.5276 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004579/0.00918, allocations: 230 kB / 0.5278 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.985e-05/0.00921, allocations: 60.84 kB / 0.5279 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.179e-05/0.009252, allocations: 12.48 kB / 0.5279 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.813e-05/0.00933, allocations: 87.17 kB / 0.528 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of SimCode: time 6.91e-07/0.009331, allocations: 0 / 0.528 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.003284/0.01262, allocations: 1.781 MB / 0.5297 GB, free: 8.414 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8055566968396306]