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.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.001835/0.001835, allocations: 80.2 kB / 19.76 MB, free: 2.055 MB / 14.72 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.002174/0.002174, allocations: 159 kB / 23 MB, free: 4.953 MB / 14.72 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 1.604/1.604, allocations: 177.2 MB / 203.4 MB, free: 9.262 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8362/0.8362, allocations: 101.3 MB / 361.1 MB, free: 10.09 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Examples.MovingAverage") translateModel(IDEAS.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 62.47 kB / 0.5356 GB, free: 5.535 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2079, allocations: 85.88 MB / 0.6195 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.004145/0.212, allocations: 1.603 MB / 0.6211 GB, free: 264 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.2134, allocations: 0.526 MB / 0.6216 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.2135, allocations: 0 / 0.6216 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.755e-05/0.2135, allocations: 3.938 kB / 0.6216 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.2137, allocations: 15.86 kB / 0.6216 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004121/0.2141, allocations: 59.8 kB / 0.6216 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002904/0.2144, allocations: 99.77 kB / 0.6217 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.2145, allocations: 12.11 kB / 0.6217 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.2147, allocations: 59.89 kB / 0.6218 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.2148, allocations: 31.83 kB / 0.6218 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.2149, allocations: 12 kB / 0.6218 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.695e-05/0.2149, allocations: 12 kB / 0.6219 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.464e-05/0.2149, allocations: 23.91 kB / 0.6219 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.778e-05/0.215, allocations: 27.86 kB / 0.6219 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.2152, allocations: 87.62 kB / 0.622 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2153, allocations: 0 / 0.622 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2153, allocations: 0 / 0.622 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.2153, allocations: 4 kB / 0.622 GB, free: 15.29 MB / 0.5294 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.001119/0.2164, allocations: 411.1 kB / 0.6224 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.2164, allocations: 8.031 kB / 0.6224 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.234e-05/0.2165, allocations: 8.891 kB / 0.6224 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000393/0.2169, allocations: 134.5 kB / 0.6225 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.2171, allocations: 81.67 kB / 0.6226 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.2171, allocations: 4.375 kB / 0.6226 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.2174, allocations: 113.4 kB / 0.6227 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.2175, allocations: 0 / 0.6227 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.2175, allocations: 12 kB / 0.6227 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.2175, allocations: 0 / 0.6227 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003466/0.2178, allocations: 67.92 kB / 0.6228 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006913/0.2185, allocations: 276.3 kB / 0.6231 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004461/0.219, allocations: 102.6 kB / 0.6232 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.2191, allocations: 40.83 kB / 0.6232 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.2192, allocations: 0 / 0.6232 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003371/0.2195, allocations: 115.3 kB / 0.6233 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.954e-06/0.2195, allocations: 0 / 0.6233 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0006714/0.2202, allocations: 181.5 kB / 0.6235 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.2202, allocations: 55.34 kB / 0.6235 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.2204, allocations: 137.8 kB / 0.6237 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.2204, allocations: 25.7 kB / 0.6237 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.411e-05/0.2205, allocations: 96.08 kB / 0.6238 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.2205, allocations: 31.75 kB / 0.6238 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.142e-05/0.2206, allocations: 29.7 kB / 0.6238 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.2208, allocations: 330.8 kB / 0.6242 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.221, allocations: 103.4 kB / 0.6243 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.2213, allocations: 125.1 kB / 0.6244 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003892/0.2217, allocations: 161 kB / 0.6245 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.2217, allocations: 7.938 kB / 0.6245 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005891/0.2223, allocations: 276.7 kB / 0.6248 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.132e-05/0.2223, allocations: 55.41 kB / 0.6249 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2223, allocations: 0 / 0.6249 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.2223, allocations: 4 kB / 0.6249 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.2225, allocations: 31.84 kB / 0.6249 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.2225, allocations: 4.031 kB / 0.6249 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.2226, allocations: 23.94 kB / 0.6249 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.2227, allocations: 4 kB / 0.6249 GB, free: 12 MB / 0.5294 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.0001301/0.2228, allocations: 117.8 kB / 0.625 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.2228, allocations: 15.94 kB / 0.625 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.474e-05/0.2229, allocations: 12.44 kB / 0.6251 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2229, allocations: 0 / 0.6251 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.2229, allocations: 0 / 0.6251 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2229, allocations: 0 / 0.6251 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.2231, allocations: 141.2 kB / 0.6252 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2231, allocations: 0 / 0.6252 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.2232, allocations: 19.98 kB / 0.6252 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2232, allocations: 0 / 0.6252 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.2232, allocations: 7.984 kB / 0.6252 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2232, allocations: 3.938 kB / 0.6252 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2232, allocations: 0 / 0.6252 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006466/0.2239, allocations: 224.8 kB / 0.6254 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.579e-05/0.2239, allocations: 11.98 kB / 0.6254 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.2239, allocations: 4 kB / 0.6254 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.2241, allocations: 19.98 kB / 0.6255 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.186e-05/0.2241, allocations: 15.97 kB / 0.6255 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.2241, allocations: 4 kB / 0.6255 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.328e-05/0.2242, allocations: 98.52 kB / 0.6256 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2242, allocations: 0 / 0.6256 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002191/0.2244, allocations: 28 kB / 0.6256 GB, free: 11.23 MB / 0.5294 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.0001304/0.2246, allocations: 95.23 kB / 0.6257 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005552/0.2251, allocations: 278.1 kB / 0.626 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2251, allocations: 0 / 0.626 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.2253, allocations: 63.92 kB / 0.626 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.2256, allocations: 27.92 kB / 0.6261 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007333/0.2264, allocations: 243.6 kB / 0.6263 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.707e-05/0.2264, allocations: 79.08 kB / 0.6264 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.959e-05/0.2265, allocations: 16.48 kB / 0.6264 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/0.2266, allocations: 12.5 kB / 0.6264 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of SimCode: time 2.71e-07/0.2266, allocations: 0 / 0.6264 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of Templates: time 0.005523/0.2321, allocations: 1.633 MB / 0.628 GB, free: 8.742 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.makefile [Timeout 660] (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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.641300211194903] Failed to read output from testmodel.py, exit status != 0: 0.2412131750024855 0.256721905 0.038281477 Calling exit ...