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.001815/0.001815, allocations: 85.48 kB / 19.44 MB, free: 344 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.002022/0.002022, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.545/1.545, allocations: 177.1 MB / 203.1 MB, free: 5.25 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.326/1.326, allocations: 154.6 MB / 414.2 MB, free: 0.5547 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.5196 GB, free: 2.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.042e-05/3.186e-05, allocations: 6 kB / 0.5196 GB, free: 2.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.003104/0.003136, allocations: 1.597 MB / 0.5212 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.004289, allocations: 0.5315 MB / 0.5217 GB, free: 396 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.84e-05/0.004358, allocations: 12.91 kB / 0.5217 GB, free: 384 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.084e-05/0.004388, allocations: 7.922 kB / 0.5217 GB, free: 376 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.004507, allocations: 13.02 kB / 0.5217 GB, free: 364 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.004771, allocations: 55.81 kB / 0.5218 GB, free: 308 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.004981, allocations: 104.2 kB / 0.5219 GB, free: 204 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.759e-05/0.005069, allocations: 9.953 kB / 0.5219 GB, free: 196 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.005191, allocations: 51.89 kB / 0.5219 GB, free: 144 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.27e-05/0.005283, allocations: 39.88 kB / 0.522 GB, free: 104 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.147e-05/0.005315, allocations: 8 kB / 0.522 GB, free: 96 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.219e-05/0.005337, allocations: 8 kB / 0.522 GB, free: 88 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.791e-05/0.005375, allocations: 21.73 kB / 0.522 GB, free: 68 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.412e-05/0.005439, allocations: 27.91 kB / 0.5221 GB, free: 40 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.005628, allocations: 87.8 kB / 0.5221 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.005632, allocations: 0 / 0.5221 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.403e-06/0.005634, allocations: 0 / 0.5221 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.005639, allocations: 1.656 kB / 0.5221 GB, free: 15.95 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.0008974/0.006536, allocations: 0.4949 MB / 0.5226 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.006571, allocations: 12.72 kB / 0.5226 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.006643, allocations: 16.89 kB / 0.5226 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.006884, allocations: 141.8 kB / 0.5228 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.007013, allocations: 89.67 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.007042, allocations: 8.359 kB / 0.5229 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.007319, allocations: 87.55 kB / 0.523 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.007331, allocations: 192 / 0.523 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.00735, allocations: 7.938 kB / 0.523 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.007355, allocations: 1.312 kB / 0.523 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000262/0.007617, allocations: 59.89 kB / 0.523 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005984/0.008215, allocations: 322.4 kB / 0.5233 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003821/0.008597, allocations: 91.05 kB / 0.5234 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.00874, allocations: 39.67 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.008761, allocations: 0.5312 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003005/0.009062, allocations: 118.5 kB / 0.5236 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.009063, allocations: 0 / 0.5236 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0005919/0.009655, allocations: 163.1 kB / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.009713, allocations: 59.41 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.009882, allocations: 190.2 kB / 0.524 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.009913, allocations: 29.69 kB / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.01003, allocations: 146.7 kB / 0.5241 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.01007, allocations: 42.91 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-05/0.01015, allocations: 39.38 kB / 0.5242 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000291/0.01044, allocations: 0.4923 MB / 0.5247 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.01066, allocations: 107.4 kB / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.01088, allocations: 126.7 kB / 0.5249 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.01122, allocations: 153.6 kB / 0.5251 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.01123, allocations: 7.922 kB / 0.5251 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005323/0.01176, allocations: 268.3 kB / 0.5253 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.268e-05/0.01182, allocations: 60.66 kB / 0.5254 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.01183, allocations: 0 / 0.5254 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.01184, allocations: 1.438 kB / 0.5254 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.01198, allocations: 27.92 kB / 0.5254 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.01198, allocations: 0 / 0.5254 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.01211, allocations: 28.31 kB / 0.5254 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.01213, allocations: 6.125 kB / 0.5254 GB, free: 12.25 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 0.0001494/0.01228, allocations: 172.5 kB / 0.5256 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.01231, allocations: 11.95 kB / 0.5256 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.53e-05/0.01236, allocations: 12.44 kB / 0.5256 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.01236, allocations: 2.438 kB / 0.5256 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.01236, allocations: 0 / 0.5256 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01237, allocations: 0 / 0.5256 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.01256, allocations: 140.6 kB / 0.5258 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.01256, allocations: 3.938 kB / 0.5258 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.01269, allocations: 15.98 kB / 0.5258 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.01269, allocations: 0 / 0.5258 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.01271, allocations: 6.125 kB / 0.5258 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.01272, allocations: 3.984 kB / 0.5258 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.01272, allocations: 3.938 kB / 0.5258 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005888/0.01331, allocations: 213.3 kB / 0.526 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.01333, allocations: 7.891 kB / 0.526 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.01336, allocations: 8.938 kB / 0.526 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.01346, allocations: 15.98 kB / 0.526 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.912e-05/0.01354, allocations: 16.72 kB / 0.5261 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.01356, allocations: 8 kB / 0.5261 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.899e-05/0.01366, allocations: 143.9 kB / 0.5262 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01366, allocations: 0 / 0.5262 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002133/0.01387, allocations: 23.95 kB / 0.5262 GB, free: 11.4 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 0.0001589/0.01403, allocations: 103.2 kB / 0.5263 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000526/0.01456, allocations: 284.6 kB / 0.5266 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01456, allocations: 0 / 0.5266 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.01475, allocations: 60.06 kB / 0.5266 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.01503, allocations: 33.02 kB / 0.5267 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007061/0.01573, allocations: 239.6 kB / 0.5269 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.154e-05/0.01582, allocations: 76.61 kB / 0.527 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.885e-05/0.01587, allocations: 13.16 kB / 0.527 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.866e-05/0.01594, allocations: 25.27 kB / 0.527 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.01594, allocations: 0 / 0.527 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of Templates: time 0.00539/0.02133, allocations: 1.635 MB / 0.5286 GB, free: 8.945 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.138092688051984]