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.0007425/0.0007425, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0007844/0.0007844, allocations: 207.8 kB / 23.01 MB, free: 3.121 MB / 13.93 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.8934/0.8934, allocations: 230.6 MB / 256.8 MB, free: 3.469 MB / 202.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-531:190: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-531:198: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.7338/0.7338, allocations: 203.8 MB / 0.5049 GB, free: 0.7344 MB / 410.7 MB " [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.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: 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.0009266/0.0009266, allocations: 75.89 kB / 0.7195 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4481/0.449, allocations: 102 MB / 0.8191 GB, free: 25.24 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001652/0.4506, allocations: 1.11 MB / 0.8202 GB, free: 24.5 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008995/0.4515, allocations: 1.149 MB / 0.8213 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.4516, allocations: 2.062 kB / 0.8213 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.595e-05/0.4516, allocations: 19.45 kB / 0.8214 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.721e-05/0.4517, allocations: 45.36 kB / 0.8214 GB, free: 23.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003878/0.4521, allocations: 149.5 kB / 0.8215 GB, free: 23.53 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000287/0.4524, allocations: 328.5 kB / 0.8219 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.4525, allocations: 37.47 kB / 0.8219 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.4527, allocations: 142.3 kB / 0.822 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.4529, allocations: 151.5 kB / 0.8222 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.175e-05/0.4529, allocations: 35.62 kB / 0.8222 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.873e-05/0.453, allocations: 35.66 kB / 0.8222 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.758e-05/0.453, allocations: 79.19 kB / 0.8223 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.176e-05/0.4531, allocations: 137 kB / 0.8224 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.4534, allocations: 316.4 kB / 0.8228 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.4534, allocations: 0.6875 kB / 0.8228 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.492e-06/0.4534, allocations: 1.562 kB / 0.8228 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.4534, allocations: 1.844 kB / 0.8228 GB, free: 22.98 MB / 0.6355 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.0007595/0.4542, allocations: 0.5588 MB / 0.8233 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.4542, allocations: 10.66 kB / 0.8233 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/0.4544, allocations: 58.58 kB / 0.8234 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.026e-05/0.4545, allocations: 152 kB / 0.8235 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.4547, allocations: 0.4887 MB / 0.824 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.41e-05/0.4547, allocations: 31.33 kB / 0.824 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/0.4551, allocations: 258.4 kB / 0.8243 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.4551, allocations: 5.641 kB / 0.8243 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.4551, allocations: 7.75 kB / 0.8243 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.4551, allocations: 5 kB / 0.8243 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/0.4555, allocations: 183.1 kB / 0.8245 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006929/0.4561, allocations: 0.7384 MB / 0.8252 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.4564, allocations: 204.4 kB / 0.8254 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.4566, allocations: 123.5 kB / 0.8255 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.926e-05/0.4566, allocations: 16.12 kB / 0.8255 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003473/0.457, allocations: 312 kB / 0.8258 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 1.683e-06/0.457, allocations: 0 / 0.8258 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.0006321/0.4576, allocations: 495.2 kB / 0.8263 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.4576, allocations: 112.4 kB / 0.8264 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.4577, allocations: 178.3 kB / 0.8266 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.4578, allocations: 42.08 kB / 0.8266 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.4578, allocations: 125.2 kB / 0.8267 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.973e-05/0.4579, allocations: 150.1 kB / 0.8269 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-05/0.458, allocations: 105.4 kB / 0.827 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.236e-05/0.458, allocations: 338.7 kB / 0.8273 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.4582, allocations: 153 kB / 0.8274 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.4584, allocations: 250.2 kB / 0.8277 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.4588, allocations: 409.8 kB / 0.8281 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4588, allocations: 1.25 kB / 0.8281 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004907/0.4593, allocations: 494.6 kB / 0.8285 GB, free: 19 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.4593, allocations: 10.61 kB / 0.8285 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.4593, allocations: 2.312 kB / 0.8285 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.4593, allocations: 9.469 kB / 0.8285 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.4595, allocations: 95.62 kB / 0.8286 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.4595, allocations: 10.28 kB / 0.8286 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.4596, allocations: 53.48 kB / 0.8287 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.4597, allocations: 25.73 kB / 0.8287 GB, free: 18.94 MB / 0.6355 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 8.733e-05/0.4598, allocations: 162.3 kB / 0.8289 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.4598, allocations: 33.27 kB / 0.8289 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.4598, allocations: 32.41 kB / 0.8289 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4598, allocations: 5.531 kB / 0.8289 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.4598, allocations: 1.062 kB / 0.8289 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.4598, allocations: 3.75 kB / 0.829 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.4601, allocations: 327.7 kB / 0.8293 GB, free: 18.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4601, allocations: 0 / 0.8293 GB, free: 18.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.4603, allocations: 74.53 kB / 0.8293 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.4603, allocations: 6.688 kB / 0.8293 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.4603, allocations: 16.8 kB / 0.8294 GB, free: 18.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4603, allocations: 1.953 kB / 0.8294 GB, free: 18.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4603, allocations: 1.375 kB / 0.8294 GB, free: 18.49 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006334/0.4609, allocations: 0.5854 MB / 0.8299 GB, free: 18.22 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.4609, allocations: 33.97 kB / 0.83 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.461, allocations: 12.09 kB / 0.83 GB, free: 18.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.951e-05/0.4611, allocations: 38.45 kB / 0.83 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.854e-05/0.4611, allocations: 37.72 kB / 0.8301 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.4612, allocations: 20.91 kB / 0.8301 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.785e-05/0.4612, allocations: 123.6 kB / 0.8302 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4612, allocations: 4 kB / 0.8302 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001946/0.4614, allocations: 80.56 kB / 0.8303 GB, free: 18.05 MB / 0.6355 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 8.412e-05/0.4615, allocations: 113.1 kB / 0.8304 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004555/0.4619, allocations: 359.7 kB / 0.8307 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.4619, allocations: 4 kB / 0.8307 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.4622, allocations: 169 kB / 0.8309 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.4624, allocations: 53.44 kB / 0.8309 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000669/0.463, allocations: 0.6417 MB / 0.8316 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.4632, allocations: 0.7634 MB / 0.8323 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.913e-05/0.4633, allocations: 39.28 kB / 0.8323 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of SimCode: time 5.41e-07/0.4633, allocations: 0 / 0.8323 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of Templates: time 0.004589/0.4678, allocations: 3.997 MB / 0.8362 GB, free: 16.27 MB / 0.6355 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.762763308826834] Failed to read output from testmodel.py, exit status != 0: 0.4726831109728664 0.48004345800000003 0.024996663000000002 Calling exit ...