Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.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.001996/0.001996, allocations: 84.08 kB / 19.44 MB, free: 332 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.001985/0.001985, allocations: 165.7 kB / 22.76 MB, free: 1.648 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.569/1.569, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 1.35/1.35, allocations: 154.8 MB / 414.3 MB, free: 444 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 178] 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.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.165e-06/2.165e-06, allocations: 0.6562 kB / 0.5199 GB, free: 2.223 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.214e-05/3.431e-05, allocations: 4.766 kB / 0.5199 GB, free: 2.219 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.003323/0.003357, allocations: 1.047 MB / 0.5209 GB, free: 1.199 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002434/0.005791, allocations: 1.141 MB / 0.5221 GB, free: 48 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.005898, allocations: 0 / 0.5221 GB, free: 48 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 7.216e-05/0.00597, allocations: 21.2 kB / 0.5221 GB, free: 28 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.006192, allocations: 47.52 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006689/0.006861, allocations: 155.5 kB / 0.5223 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005755/0.007437, allocations: 332 kB / 0.5226 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.007595, allocations: 32.56 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005793/0.008174, allocations: 205.2 kB / 0.5228 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003019/0.008476, allocations: 115.6 kB / 0.5229 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.62e-05/0.008562, allocations: 35.94 kB / 0.523 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.008673, allocations: 32 kB / 0.523 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.008798, allocations: 80.55 kB / 0.5231 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.008969, allocations: 95.78 kB / 0.5232 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006058/0.009575, allocations: 344.1 kB / 0.5235 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.009578, allocations: 0 / 0.5235 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.02e-07/0.009579, allocations: 0 / 0.5235 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.009584, allocations: 1.344 kB / 0.5235 GB, free: 14.59 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001839/0.01142, allocations: 0.6641 MB / 0.5241 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.01146, allocations: 8.031 kB / 0.5242 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005081/0.01197, allocations: 80.72 kB / 0.5242 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.01217, allocations: 149.1 kB / 0.5244 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005785/0.01275, allocations: 495.7 kB / 0.5248 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-05/0.01283, allocations: 28.88 kB / 0.5249 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007949/0.01363, allocations: 277 kB / 0.5251 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.01365, allocations: 192 / 0.5251 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.882e-05/0.01369, allocations: 8.375 kB / 0.5251 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.0137, allocations: 8.125 kB / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006755/0.01438, allocations: 168.8 kB / 0.5253 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.01617, allocations: 0.8268 MB / 0.5261 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007591/0.01693, allocations: 218.1 kB / 0.5263 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004147/0.01735, allocations: 132.7 kB / 0.5265 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.138e-05/0.01741, allocations: 15.98 kB / 0.5265 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008436/0.01825, allocations: 326.9 kB / 0.5268 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 2.745e-06/0.01825, allocations: 0 / 0.5268 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.001706/0.01996, allocations: 494 kB / 0.5273 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.02009, allocations: 119.1 kB / 0.5274 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003438/0.02044, allocations: 252.6 kB / 0.5276 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.005e-05/0.02051, allocations: 42.83 kB / 0.5276 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.02068, allocations: 168 kB / 0.5278 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002449/0.02092, allocations: 166.8 kB / 0.528 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003111/0.02123, allocations: 130.4 kB / 0.5281 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003541/0.02159, allocations: 0.5235 MB / 0.5286 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/0.02201, allocations: 141.2 kB / 0.5287 GB, free: 8.844 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005918/0.0226, allocations: 290.7 kB / 0.529 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008051/0.02341, allocations: 431.1 kB / 0.5294 GB, free: 8.043 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.02341, allocations: 4 kB / 0.5294 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001086/0.0245, allocations: 0.4977 MB / 0.5299 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.02452, allocations: 8 kB / 0.5299 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.02453, allocations: 4 kB / 0.5299 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.02455, allocations: 7.938 kB / 0.5299 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004251/0.02498, allocations: 91.83 kB / 0.53 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.086e-05/0.025, allocations: 17.39 kB / 0.53 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.02529, allocations: 51.77 kB / 0.5301 GB, free: 7.359 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/0.02534, allocations: 27.98 kB / 0.5301 GB, free: 7.332 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 (movAve1.mode,$PRE.movAve1.mode,$whenCondition5,movAve2.mode,$PRE.movAve2.mode,$whenCondition6,movAve3.mode,$PRE.movAve3.mode,$whenCondition7,movAve4.mode,$PRE.movAve4.mode,$whenCondition8,movAve5.mode,$PRE.movAve5.mode,$whenCondition9,movAve6.mode,$PRE.movAve6.mode,$whenCondition3,movAve7.mode,$PRE.movAve7.mode,$whenCondition4,movAve8.mode,$PRE.movAve8.mode,$whenCondition1,movAve9.mode,$PRE.movAve9.mode,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * 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.0002243/0.02556, allocations: 200.9 kB / 0.5303 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.171e-05/0.02565, allocations: 47.81 kB / 0.5304 GB, free: 7.078 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.905e-05/0.02574, allocations: 33.95 kB / 0.5304 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.02575, allocations: 4 kB / 0.5304 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.02576, allocations: 6.75 kB / 0.5304 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.02577, allocations: 7.922 kB / 0.5304 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003914/0.02616, allocations: 256.3 kB / 0.5306 GB, free: 6.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.02616, allocations: 0 / 0.5306 GB, free: 6.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000418/0.02658, allocations: 71.91 kB / 0.5307 GB, free: 6.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.02658, allocations: 0 / 0.5307 GB, free: 6.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/0.02662, allocations: 11.98 kB / 0.5307 GB, free: 6.668 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.02663, allocations: 5.219 kB / 0.5307 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.02663, allocations: 0 / 0.5307 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.02788, allocations: 0.6208 MB / 0.5313 GB, free: 6.016 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.02792, allocations: 27.84 kB / 0.5314 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.528e-05/0.02797, allocations: 17.83 kB / 0.5314 GB, free: 5.973 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.0282, allocations: 31.91 kB / 0.5314 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.02838, allocations: 71.84 kB / 0.5315 GB, free: 5.871 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.852e-05/0.02842, allocations: 20.64 kB / 0.5315 GB, free: 5.852 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001556/0.02857, allocations: 168.2 kB / 0.5317 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02857, allocations: 0.6562 kB / 0.5317 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003847/0.02896, allocations: 84.64 kB / 0.5317 GB, free: 5.605 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movAve1.mu,movAve2.mu,movAve3.mu,movAve4.mu,movAve5.mu,movAve6.mu,movAve7.mu,movAve8.mu,movAve9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movAve1.mode,movAve2.mode,movAve3.mode,movAve4.mode,movAve5.mode,$whenCondition4,$whenCondition3,movAve6.mode,movAve7.mode,$whenCondition2,$whenCondition1,movAve8.mode,movAve9.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0001902/0.02915, allocations: 116.6 kB / 0.5319 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008502/0.03, allocations: 392.9 kB / 0.5322 GB, free: 5.094 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.03, allocations: 4.5 kB / 0.5322 GB, free: 5.09 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003891/0.03039, allocations: 190.9 kB / 0.5324 GB, free: 4.902 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.03074, allocations: 55.94 kB / 0.5325 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.03209, allocations: 0.5955 MB / 0.533 GB, free: 4.219 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.03225, allocations: 151.8 kB / 0.5332 GB, free: 4.047 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000158/0.03241, allocations: 46.14 kB / 0.5332 GB, free: 4.008 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.03254, allocations: 39.69 kB / 0.5333 GB, free: 3.973 MB / 0.4948 GB Notification: Performance of SimCode: time 6.81e-07/0.03254, allocations: 0 / 0.5333 GB, free: 3.973 MB / 0.4948 GB Notification: Performance of Templates: time 0.009578/0.04212, allocations: 4.045 MB / 0.5372 GB, free: 136 kB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.218617327045649]