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.0007399/0.0007399, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008094/0.0008094, allocations: 207.6 kB / 22.25 MB, free: 3.59 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.9595/0.9595, allocations: 230.6 MB / 256 MB, free: 9.602 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.7921/0.7921, allocations: 203.8 MB / 0.5042 GB, free: 10.4 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.0009101/0.0009101, allocations: 65.39 kB / 0.7182 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5441/0.5451, 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_nonZeroStart): time 0.002227/0.5473, allocations: 1.907 MB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008383/0.5481, allocations: 0.6941 MB / 0.8204 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.001e-05/0.5482, allocations: 2.781 kB / 0.8204 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.245e-05/0.5482, allocations: 22.78 kB / 0.8204 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.5484, allocations: 48.8 kB / 0.8205 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.5488, allocations: 180.4 kB / 0.8206 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003129/0.5491, allocations: 327.4 kB / 0.8209 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.5493, allocations: 35.34 kB / 0.821 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.5495, allocations: 142.2 kB / 0.8211 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.5496, allocations: 140 kB / 0.8212 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.035e-05/0.5497, allocations: 29.34 kB / 0.8213 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.307e-05/0.5498, allocations: 31.66 kB / 0.8213 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.947e-05/0.5498, allocations: 84.17 kB / 0.8214 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.091e-05/0.5499, allocations: 117 kB / 0.8215 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.5502, allocations: 311.7 kB / 0.8218 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.5502, allocations: 7.859 kB / 0.8218 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.185e-06/0.5502, allocations: 0 / 0.8218 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.555e-06/0.5502, allocations: 0 / 0.8218 GB, free: 14.59 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.0008568/0.5511, allocations: 0.5684 MB / 0.8224 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.5511, allocations: 12.31 kB / 0.8224 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.168e-05/0.5511, allocations: 59.06 kB / 0.8224 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/0.5513, allocations: 58.36 kB / 0.8225 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.5516, allocations: 192.5 kB / 0.8227 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000219/0.5518, allocations: 0.4888 MB / 0.8231 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/0.5519, allocations: 33.03 kB / 0.8232 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/0.5522, allocations: 264.2 kB / 0.8234 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.5523, allocations: 2.828 kB / 0.8234 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.5523, allocations: 11.23 kB / 0.8234 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.495e-06/0.5523, allocations: 4.094 kB / 0.8234 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/0.5526, allocations: 177.8 kB / 0.8236 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007596/0.5533, allocations: 0.6959 MB / 0.8243 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003299/0.5537, allocations: 195.5 kB / 0.8245 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.5538, allocations: 127.2 kB / 0.8246 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.5539, allocations: 7.859 kB / 0.8246 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005608/0.5544, allocations: 324.7 kB / 0.8249 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 2.004e-06/0.5544, allocations: 0 / 0.8249 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.000754/0.5552, allocations: 490.3 kB / 0.8254 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.5553, allocations: 116.7 kB / 0.8255 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.5554, allocations: 183.4 kB / 0.8257 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.5554, allocations: 42.34 kB / 0.8257 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.704e-05/0.5555, allocations: 124.7 kB / 0.8258 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.5556, allocations: 152.2 kB / 0.826 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.5557, allocations: 104.2 kB / 0.8261 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.5558, allocations: 344.7 kB / 0.8264 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.556, allocations: 148.5 kB / 0.8265 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.5563, allocations: 253 kB / 0.8268 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004456/0.5568, allocations: 408.7 kB / 0.8272 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.5568, allocations: 0 / 0.8272 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000574/0.5573, allocations: 498.3 kB / 0.8276 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.5573, allocations: 7.75 kB / 0.8277 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5574, allocations: 2.562 kB / 0.8277 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.5574, allocations: 5.531 kB / 0.8277 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.5576, allocations: 95.33 kB / 0.8278 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.5576, allocations: 10.06 kB / 0.8278 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.5577, allocations: 58.05 kB / 0.8278 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.5578, allocations: 25.17 kB / 0.8278 GB, free: 10.48 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.0001194/0.5579, allocations: 157.4 kB / 0.828 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.5579, allocations: 39.38 kB / 0.828 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.129e-05/0.558, allocations: 31.27 kB / 0.8281 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.558, allocations: 7.297 kB / 0.8281 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.558, allocations: 0 / 0.8281 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.558, allocations: 7.484 kB / 0.8281 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.5582, allocations: 275.6 kB / 0.8283 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.5582, allocations: 5.344 kB / 0.8283 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.5584, allocations: 71.48 kB / 0.8284 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.5584, allocations: 2.938 kB / 0.8284 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.5585, allocations: 14.86 kB / 0.8284 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.5585, allocations: 6.75 kB / 0.8284 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5585, allocations: 0 / 0.8284 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007745/0.5592, allocations: 0.5872 MB / 0.829 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/0.5593, allocations: 28.73 kB / 0.829 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.5593, allocations: 13.08 kB / 0.829 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.5594, allocations: 29.98 kB / 0.8291 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.5595, allocations: 66.05 kB / 0.8291 GB, free: 9.715 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.5596, allocations: 17.66 kB / 0.8292 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.96e-05/0.5596, allocations: 133.8 kB / 0.8293 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5596, allocations: 4 kB / 0.8293 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002682/0.5599, allocations: 83.81 kB / 0.8294 GB, free: 9.594 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.001323/0.5612, allocations: 1.141 MB / 0.8305 GB, free: 8.785 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005228/0.5618, allocations: 367.1 kB / 0.8308 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5618, allocations: 0 / 0.8308 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002583/0.562, allocations: 179.2 kB / 0.831 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.0002545/0.5623, allocations: 48.2 kB / 0.831 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003136/0.5654, allocations: 3.194 MB / 0.8342 GB, free: 6.488 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.5656, allocations: 160.3 kB / 0.8343 GB, free: 6.398 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001177/0.5657, allocations: 39.56 kB / 0.8344 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.5658, allocations: 96.94 kB / 0.8345 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of SimCode: time 7.11e-07/0.5658, allocations: 0 / 0.8345 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.5871, allocations: 7.409 MB / 0.8417 GB, free: 3.676 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.697/7.284, allocations: 3.625 kB / 0.8417 GB, free: 3.676 MB / 0.6198 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart_fmu --startTime=100 --stopTime=900 --stepSize=0.32 --timeout=50 --tolerance=1e-06 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.221291160210967] Failed to read output from testmodel.py, exit status != 0: 7.366364012937993 7.377649532 6.825427762 Calling exit ...