Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.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.001349/0.001349, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001234/0.001234, allocations: 221.8 kB / 22.26 MB, free: 3.707 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 1.006/1.006, allocations: 230.6 MB / 256 MB, free: 9.812 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.8004/0.8004, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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_nonZeroStart,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart",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.001108/0.001108, allocations: 66.72 kB / 0.7183 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5509/0.5521, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002476/0.5545, allocations: 2.007 MB / 0.8199 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009643/0.5555, allocations: 0.7371 MB / 0.8206 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.285e-05/0.5556, allocations: 7.625 kB / 0.8206 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.702e-05/0.5556, allocations: 19.17 kB / 0.8206 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.5557, allocations: 40.23 kB / 0.8207 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.5562, allocations: 174.3 kB / 0.8208 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003243/0.5565, allocations: 337 kB / 0.8211 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.5567, allocations: 47.08 kB / 0.8212 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.5569, allocations: 142.5 kB / 0.8213 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.557, allocations: 147.9 kB / 0.8215 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.117e-05/0.5571, allocations: 29.06 kB / 0.8215 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.817e-05/0.5571, allocations: 37.27 kB / 0.8215 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.56e-05/0.5572, allocations: 74.84 kB / 0.8216 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.5573, allocations: 138.4 kB / 0.8217 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003604/0.5577, allocations: 315.6 kB / 0.822 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5577, allocations: 2 kB / 0.822 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.775e-06/0.5577, allocations: 4 kB / 0.822 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.5577, allocations: 0 / 0.822 GB, free: 14.63 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.0009186/0.5586, allocations: 0.5623 MB / 0.8226 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.5587, allocations: 10 kB / 0.8226 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.476e-05/0.5587, allocations: 60.95 kB / 0.8227 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002494/0.559, allocations: 58.33 kB / 0.8227 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.5594, allocations: 196.6 kB / 0.8229 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002732/0.5596, allocations: 0.4902 MB / 0.8234 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.251e-05/0.5597, allocations: 36.8 kB / 0.8234 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004111/0.5601, allocations: 261.9 kB / 0.8237 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.5601, allocations: 2.406 kB / 0.8237 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.5601, allocations: 6.688 kB / 0.8237 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.5601, allocations: 5.844 kB / 0.8237 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/0.5605, allocations: 177.4 kB / 0.8238 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009593/0.5614, allocations: 0.7482 MB / 0.8246 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004033/0.5618, allocations: 203.4 kB / 0.8248 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.562, allocations: 126.8 kB / 0.8249 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.118e-05/0.5621, allocations: 12.31 kB / 0.8249 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005263/0.5626, allocations: 323.4 kB / 0.8252 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 3.397e-06/0.5626, allocations: 0 / 0.8252 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.000946/0.5635, allocations: 489.2 kB / 0.8257 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.544e-05/0.5636, allocations: 116.1 kB / 0.8258 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.5638, allocations: 183.6 kB / 0.826 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.5639, allocations: 42.38 kB / 0.826 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.236e-05/0.5639, allocations: 117.2 kB / 0.8261 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.5641, allocations: 154.2 kB / 0.8263 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.5642, allocations: 108.7 kB / 0.8264 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.5643, allocations: 343.8 kB / 0.8267 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.5645, allocations: 153.5 kB / 0.8268 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/0.5648, allocations: 254 kB / 0.8271 GB, free: 11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004453/0.5653, allocations: 398.8 kB / 0.8275 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5653, allocations: 0 / 0.8275 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006145/0.5659, allocations: 498.7 kB / 0.8279 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.5659, allocations: 7.406 kB / 0.8279 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.5659, allocations: 2.188 kB / 0.828 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.5659, allocations: 5.75 kB / 0.828 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.5661, allocations: 96.2 kB / 0.828 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.5662, allocations: 6.672 kB / 0.8281 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.5663, allocations: 61.64 kB / 0.8281 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.5663, allocations: 20.45 kB / 0.8281 GB, free: 10.5 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.0001314/0.5665, allocations: 157.6 kB / 0.8283 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/0.5665, allocations: 33.78 kB / 0.8283 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.667e-05/0.5665, allocations: 33.19 kB / 0.8283 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.5665, allocations: 8.844 kB / 0.8284 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.5666, allocations: 2 kB / 0.8284 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.5666, allocations: 6.438 kB / 0.8284 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/0.5669, allocations: 324.7 kB / 0.8287 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.5669, allocations: 9.156 kB / 0.8287 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/0.5671, allocations: 75.55 kB / 0.8288 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.5671, allocations: 2.594 kB / 0.8288 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.5671, allocations: 11.64 kB / 0.8288 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.5671, allocations: 6.328 kB / 0.8288 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.5671, allocations: 1.594 kB / 0.8288 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000859/0.568, allocations: 0.5863 MB / 0.8293 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.094e-05/0.568, allocations: 29.59 kB / 0.8294 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.5681, allocations: 8.188 kB / 0.8294 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.5682, allocations: 37.06 kB / 0.8294 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.5683, allocations: 55.59 kB / 0.8295 GB, free: 9.723 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.5683, allocations: 16.12 kB / 0.8295 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.381e-05/0.5684, allocations: 134.2 kB / 0.8296 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5684, allocations: 0 / 0.8296 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002369/0.5687, allocations: 84.39 kB / 0.8297 GB, free: 9.605 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.001273/0.5699, allocations: 1.138 MB / 0.8308 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000653/0.5706, allocations: 370.5 kB / 0.8312 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5706, allocations: 384 / 0.8312 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002661/0.5708, allocations: 183.1 kB / 0.8313 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.5711, allocations: 45.31 kB / 0.8314 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003276/0.5744, allocations: 3.199 MB / 0.8345 GB, free: 6.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.5747, allocations: 0.7617 MB / 0.8352 GB, free: 5.773 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001265/0.5748, allocations: 44.39 kB / 0.8353 GB, free: 5.762 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.575, allocations: 100.8 kB / 0.8354 GB, free: 5.695 MB / 0.6198 GB Notification: Performance of SimCode: time 6.82e-07/0.575, allocations: 0 / 0.8354 GB, free: 5.695 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.5975, allocations: 6.993 MB / 0.8422 GB, free: 3.504 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.835/7.432, allocations: 11.33 kB / 0.8422 GB, free: 3.5 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.csv --start-time 100 --stop-time 900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.32 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.573103758040816] Failed to read output from testmodel.py, exit status != 0: 7.511861519888043 7.52397985 6.963579634 Calling exit ...