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.001146/0.001146, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001566/0.001566, allocations: 173 kB / 23.02 MB, free: 1.547 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.966/0.966, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.8338/0.8338, allocations: 154.9 MB / 414.8 MB, free: 408 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.833e-06/1.833e-06, allocations: 0 / 0.5207 GB, free: 1.793 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/2.941e-05, allocations: 2.312 kB / 0.5207 GB, free: 1.789 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.002568/0.002598, allocations: 1.627 MB / 0.5223 GB, free: 176 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000833/0.003431, allocations: 0.5453 MB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.023e-05/0.003501, allocations: 0 / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.279e-05/0.003534, allocations: 8.422 kB / 0.5228 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.935e-05/0.003623, allocations: 16.75 kB / 0.5228 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.00396, allocations: 48.47 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.004159, allocations: 107.7 kB / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.583e-05/0.004255, allocations: 9.094 kB / 0.523 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.919e-05/0.004354, allocations: 59.88 kB / 0.5231 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.368e-05/0.004428, allocations: 36.86 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.00445, allocations: 8 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.449e-05/0.004464, allocations: 8 kB / 0.5231 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.731e-05/0.004492, allocations: 20.72 kB / 0.5231 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.004533, allocations: 27.97 kB / 0.5232 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.004649, allocations: 64.75 kB / 0.5232 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.004651, allocations: 4 kB / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.093e-06/0.004652, allocations: 1.75 kB / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.004657, allocations: 0 / 0.5232 GB, free: 15.21 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.000583/0.00524, allocations: 499.1 kB / 0.5237 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.005274, allocations: 9.062 kB / 0.5237 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.22e-05/0.005326, allocations: 20.83 kB / 0.5237 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.005495, allocations: 137.7 kB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.11e-05/0.005586, allocations: 85.67 kB / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.005608, allocations: 8.375 kB / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.005777, allocations: 95.45 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.005789, allocations: 9.703 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.005801, allocations: 3.938 kB / 0.5241 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.005809, allocations: 3.938 kB / 0.5241 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.855e-05/0.005857, allocations: 15.98 kB / 0.5241 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.006241, allocations: 312.8 kB / 0.5244 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.006407, allocations: 55.89 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.006442, allocations: 23.66 kB / 0.5244 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.006458, allocations: 5.25 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/0.006593, allocations: 91.12 kB / 0.5245 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.694e-06/0.006595, allocations: 0.7188 kB / 0.5245 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0002099/0.006805, allocations: 97.55 kB / 0.5246 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.006838, allocations: 52.03 kB / 0.5247 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.625e-05/0.006924, allocations: 189.8 kB / 0.5249 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.006941, allocations: 34.67 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.006994, allocations: 134.8 kB / 0.525 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.007016, allocations: 28.3 kB / 0.525 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.801e-05/0.007064, allocations: 39.95 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.00719, allocations: 0.4884 MB / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.415e-05/0.007254, allocations: 72.14 kB / 0.5256 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.624e-05/0.00732, allocations: 102.8 kB / 0.5257 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.275e-05/0.007413, allocations: 116.8 kB / 0.5258 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.007416, allocations: 3.938 kB / 0.5258 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001844/0.0076, allocations: 216.4 kB / 0.5261 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/0.007634, allocations: 57.28 kB / 0.5261 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.007638, allocations: 0 / 0.5261 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.007651, allocations: 4 kB / 0.5261 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.039e-05/0.007732, allocations: 28.86 kB / 0.5261 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.007736, allocations: 0 / 0.5261 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.022e-05/0.007797, allocations: 28.38 kB / 0.5262 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.007806, allocations: 5.719 kB / 0.5262 GB, free: 11.88 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.949e-05/0.007886, allocations: 171.9 kB / 0.5263 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.007902, allocations: 7.953 kB / 0.5263 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.00793, allocations: 16.44 kB / 0.5264 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.007932, allocations: 1.469 kB / 0.5264 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.007936, allocations: 0 / 0.5264 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.007939, allocations: 0 / 0.5264 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.008041, allocations: 136.6 kB / 0.5265 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.008043, allocations: 10.62 kB / 0.5265 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.065e-05/0.008104, allocations: 15.98 kB / 0.5265 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.008106, allocations: 4 kB / 0.5265 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.008116, allocations: 3.938 kB / 0.5265 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.00812, allocations: 0 / 0.5265 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.008123, allocations: 3.984 kB / 0.5265 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.008315, allocations: 146.5 kB / 0.5267 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.57e-05/0.008331, allocations: 11.92 kB / 0.5267 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.008349, allocations: 8 kB / 0.5267 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.566e-05/0.008395, allocations: 11.98 kB / 0.5267 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.008448, allocations: 15.97 kB / 0.5267 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.036e-06/0.008457, allocations: 4.875 kB / 0.5267 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.585e-05/0.008503, allocations: 135.2 kB / 0.5268 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.008503, allocations: 0 / 0.5268 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001395/0.008643, allocations: 32.67 kB / 0.5269 GB, free: 11.1 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.418e-05/0.008737, allocations: 99.88 kB / 0.527 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002093/0.008946, allocations: 233.2 kB / 0.5272 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.008948, allocations: 0 / 0.5272 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.776e-05/0.009006, allocations: 31.61 kB / 0.5272 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.009184, allocations: 35.06 kB / 0.5273 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.00962, allocations: 221.1 kB / 0.5275 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.063e-05/0.009651, allocations: 59.36 kB / 0.5275 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.671e-05/0.009687, allocations: 8.484 kB / 0.5275 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.412e-05/0.009731, allocations: 20.5 kB / 0.5276 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of SimCode: time 1.132e-06/0.009733, allocations: 2.781 kB / 0.5276 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of Templates: time 0.003995/0.01373, allocations: 1.751 MB / 0.5293 GB, free: 8.656 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.753223638050258]