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.0007267/0.0007267, allocations: 105.5 kB / 18.95 MB, free: 1.316 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.0008271/0.0008271, allocations: 212 kB / 22.25 MB, free: 3.672 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.9473/0.9473, allocations: 230.6 MB / 256 MB, free: 9.613 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.7657/0.7657, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) [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.0009955/0.0009955, allocations: 74.61 kB / 0.7182 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4861/0.4871, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.00167/0.4887, allocations: 1.03 MB / 0.8188 GB, free: 380 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.4902, allocations: 1.131 MB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.002e-05/0.4903, allocations: 0.6875 kB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.425e-05/0.4903, allocations: 17.39 kB / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.4904, allocations: 48.48 kB / 0.82 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004508/0.4909, allocations: 145.4 kB / 0.8202 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003342/0.4912, allocations: 329.8 kB / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.4914, allocations: 37.98 kB / 0.8205 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.4916, allocations: 149.8 kB / 0.8206 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.4918, allocations: 127.5 kB / 0.8208 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.4918, allocations: 28.78 kB / 0.8208 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.2e-05/0.4919, allocations: 37.03 kB / 0.8208 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.168e-05/0.4919, allocations: 85.19 kB / 0.8209 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.033e-05/0.492, allocations: 109.2 kB / 0.821 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.4924, allocations: 325.6 kB / 0.8213 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4924, allocations: 0 / 0.8213 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4924, allocations: 0 / 0.8213 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.4924, allocations: 0 / 0.8213 GB, free: 14.9 MB / 0.6198 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.0008473/0.4932, allocations: 0.565 MB / 0.8219 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.4933, allocations: 9.969 kB / 0.8219 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.926e-05/0.4933, allocations: 55.69 kB / 0.8219 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001953/0.4935, allocations: 56.75 kB / 0.822 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.4936, allocations: 142.7 kB / 0.8221 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002067/0.4938, allocations: 0.4887 MB / 0.8226 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.6e-05/0.4939, allocations: 40.31 kB / 0.8227 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/0.4942, allocations: 257.2 kB / 0.8229 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.4942, allocations: 1.766 kB / 0.8229 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.4943, allocations: 11.59 kB / 0.8229 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.4943, allocations: 4.031 kB / 0.8229 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002855/0.4946, allocations: 179.3 kB / 0.8231 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007953/0.4954, allocations: 0.6902 MB / 0.8238 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003764/0.4957, allocations: 190.9 kB / 0.8239 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.4959, allocations: 129.4 kB / 0.8241 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.74e-05/0.4959, allocations: 9.266 kB / 0.8241 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005391/0.4965, allocations: 335.6 kB / 0.8244 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 1.803e-06/0.4965, allocations: 0 / 0.8244 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.000803/0.4973, allocations: 492.2 kB / 0.8249 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/0.4974, allocations: 116.4 kB / 0.825 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.4975, allocations: 174.3 kB / 0.8251 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.4975, allocations: 42.2 kB / 0.8252 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.587e-05/0.4976, allocations: 126.3 kB / 0.8253 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.4977, allocations: 155.3 kB / 0.8254 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.4978, allocations: 104.3 kB / 0.8255 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.4979, allocations: 339.5 kB / 0.8259 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.4982, allocations: 149.7 kB / 0.826 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.4984, allocations: 247.9 kB / 0.8262 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004339/0.4988, allocations: 391.9 kB / 0.8266 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.4989, allocations: 5.281 kB / 0.8266 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005919/0.4994, allocations: 494.7 kB / 0.8271 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.4995, allocations: 10.58 kB / 0.8271 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.4995, allocations: 3 kB / 0.8271 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.4995, allocations: 5.75 kB / 0.8271 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.4997, allocations: 98.89 kB / 0.8272 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.4997, allocations: 5.516 kB / 0.8272 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.4999, allocations: 62.08 kB / 0.8273 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.4999, allocations: 21.41 kB / 0.8273 GB, free: 10.82 MB / 0.6198 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.0001234/0.5, allocations: 165.5 kB / 0.8275 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.524e-05/0.5001, allocations: 32.73 kB / 0.8275 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.667e-05/0.5001, allocations: 32.69 kB / 0.8275 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.5001, allocations: 5.25 kB / 0.8275 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.5001, allocations: 1.312 kB / 0.8275 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.5001, allocations: 8.344 kB / 0.8275 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.5004, allocations: 278.7 kB / 0.8278 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5004, allocations: 0 / 0.8278 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.5006, allocations: 75.8 kB / 0.8279 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.5006, allocations: 5.281 kB / 0.8279 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.5007, allocations: 12.33 kB / 0.8279 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.5007, allocations: 3.453 kB / 0.8279 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5007, allocations: 0.6562 kB / 0.8279 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008024/0.5015, allocations: 0.5854 MB / 0.8285 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.977e-05/0.5015, allocations: 33.97 kB / 0.8285 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.741e-05/0.5015, allocations: 12.97 kB / 0.8285 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.5016, allocations: 29.94 kB / 0.8285 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.5018, allocations: 61.95 kB / 0.8286 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.5018, allocations: 17.3 kB / 0.8286 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.656e-05/0.5019, allocations: 127.3 kB / 0.8287 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5019, allocations: 0 / 0.8287 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000252/0.5021, allocations: 79.08 kB / 0.8288 GB, free: 9.941 MB / 0.6198 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.001137/0.5033, allocations: 1.145 MB / 0.8299 GB, free: 9.137 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006734/0.5039, allocations: 379.4 kB / 0.8303 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5039, allocations: 0 / 0.8303 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002614/0.5042, allocations: 175.2 kB / 0.8305 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.5045, allocations: 43.95 kB / 0.8305 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/0.5078, allocations: 3.169 MB / 0.8336 GB, free: 6.844 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.508, allocations: 155.9 kB / 0.8337 GB, free: 6.762 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001314/0.5081, allocations: 38.72 kB / 0.8338 GB, free: 6.754 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.5082, allocations: 91.8 kB / 0.8339 GB, free: 6.695 MB / 0.6198 GB Notification: Performance of SimCode: time 1.412e-06/0.5082, allocations: 0.9062 kB / 0.8339 GB, free: 6.695 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/0.5339, allocations: 7.327 MB / 0.841 GB, free: 4.152 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.026/7.56, allocations: 5.75 kB / 0.841 GB, free: 4.152 MB / 0.6198 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.csv --start-time 0 --stop-time 900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.36 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MovingAverage.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.521831166930497] Failed to read output from testmodel.py, exit status != 0: 7.639361030887812 7.651409985 7.157007171 Calling exit ...