Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0006497/0.0006497, allocations: 84.44 kB / 20.69 MB, free: 3.848 MB / 18.57 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.0007436/0.0007436, allocations: 177.2 kB / 23.97 MB, free: 0.5664 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 0.8698/0.8698, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5368/0.5368, allocations: 114 MB / 374.7 MB, free: 8.727 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 0.5555 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.347e-05, allocations: 2.281 kB / 0.5555 GB, free: 2.191 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002146/0.00217, allocations: 1.906 MB / 0.5574 GB, free: 284 kB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0008899/0.003059, allocations: 0.705 MB / 0.558 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.637e-05/0.003146, allocations: 3.938 kB / 0.5581 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 4.07e-05/0.003187, allocations: 19.73 kB / 0.5581 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 9.009e-05/0.003277, allocations: 47.52 kB / 0.5581 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004504/0.003727, allocations: 182.8 kB / 0.5583 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002734/0.004, allocations: 338.9 kB / 0.5586 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.004126, allocations: 36.91 kB / 0.5586 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.004357, allocations: 203.5 kB / 0.5588 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.004489, allocations: 115.7 kB / 0.559 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.004521, allocations: 32 kB / 0.559 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 5.266e-05/0.004574, allocations: 32 kB / 0.559 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.688e-05/0.00462, allocations: 83.7 kB / 0.5591 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.465e-05/0.004685, allocations: 95.78 kB / 0.5592 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.004952, allocations: 342.9 kB / 0.5595 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.004954, allocations: 0 / 0.5595 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.62e-07/0.004955, allocations: 0 / 0.5595 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.00496, allocations: 0 / 0.5595 GB, free: 14.07 MB / 0.5261 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.0007594/0.005719, allocations: 0.5599 MB / 0.5601 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.005755, allocations: 12.62 kB / 0.5601 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.005946, allocations: 56.75 kB / 0.5601 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.006219, allocations: 194.5 kB / 0.5603 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002638/0.006482, allocations: 499.7 kB / 0.5608 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.895e-05/0.006531, allocations: 32.38 kB / 0.5608 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/0.006906, allocations: 259.1 kB / 0.5611 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.006926, allocations: 4.141 kB / 0.5611 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.006951, allocations: 16.12 kB / 0.5611 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.00696, allocations: 4 kB / 0.5611 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002805/0.007241, allocations: 175.8 kB / 0.5613 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006894/0.00793, allocations: 0.6525 MB / 0.5619 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.008254, allocations: 195.9 kB / 0.5621 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.008404, allocations: 130.4 kB / 0.5622 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.008437, allocations: 16 kB / 0.5622 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003108/0.008748, allocations: 312.1 kB / 0.5625 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 1.684e-06/0.008749, allocations: 0 / 0.5625 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48): time 0.0006407/0.00939, allocations: 480.5 kB / 0.563 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.009446, allocations: 122.7 kB / 0.5631 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.009555, allocations: 186.3 kB / 0.5633 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.009581, allocations: 41.7 kB / 0.5633 GB, free: 9.855 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.009636, allocations: 121.3 kB / 0.5634 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.648e-05/0.009723, allocations: 158.7 kB / 0.5636 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.18e-05/0.009815, allocations: 110.3 kB / 0.5637 GB, free: 9.465 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.915e-05/0.009904, allocations: 338.8 kB / 0.564 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.01008, allocations: 145.2 kB / 0.5641 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.01031, allocations: 252.8 kB / 0.5644 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004004/0.01071, allocations: 406 kB / 0.5648 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.01072, allocations: 4 kB / 0.5648 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005232/0.01124, allocations: 485.5 kB / 0.5652 GB, free: 7.785 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.01126, allocations: 8 kB / 0.5652 GB, free: 7.777 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.01126, allocations: 0 / 0.5652 GB, free: 7.777 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.01128, allocations: 11.94 kB / 0.5653 GB, free: 7.766 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.01148, allocations: 95.77 kB / 0.5653 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.01149, allocations: 12 kB / 0.5654 GB, free: 7.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.01161, allocations: 59.7 kB / 0.5654 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.01163, allocations: 23.98 kB / 0.5654 GB, free: 7.578 MB / 0.5261 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.0001119/0.01175, allocations: 155.7 kB / 0.5656 GB, free: 7.414 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.01178, allocations: 27.86 kB / 0.5656 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.067e-05/0.01182, allocations: 33.95 kB / 0.5656 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.01182, allocations: 4 kB / 0.5657 GB, free: 7.348 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.01183, allocations: 11.94 kB / 0.5657 GB, free: 7.336 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.01183, allocations: 0 / 0.5657 GB, free: 7.336 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.01202, allocations: 241 kB / 0.5659 GB, free: 7.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.01202, allocations: 0 / 0.5659 GB, free: 7.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.01222, allocations: 75.89 kB / 0.566 GB, free: 6.996 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.01223, allocations: 0 / 0.566 GB, free: 6.996 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.01225, allocations: 15.94 kB / 0.566 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.01225, allocations: 0 / 0.566 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.01226, allocations: 4 kB / 0.566 GB, free: 6.977 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006486/0.0129, allocations: 0.5871 MB / 0.5666 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.241e-05/0.01293, allocations: 31.75 kB / 0.5666 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.01295, allocations: 15.98 kB / 0.5666 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.655e-05/0.01305, allocations: 36.16 kB / 0.5666 GB, free: 6.289 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.453e-05/0.01314, allocations: 47.89 kB / 0.5667 GB, free: 6.242 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.01315, allocations: 19.94 kB / 0.5667 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.826e-05/0.01322, allocations: 132.3 kB / 0.5668 GB, free: 6.094 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01322, allocations: 4 kB / 0.5668 GB, free: 6.09 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002252/0.01345, allocations: 83.94 kB / 0.5669 GB, free: 6.008 MB / 0.5261 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.0001013/0.01355, allocations: 118.5 kB / 0.567 GB, free: 5.887 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004426/0.01399, allocations: 355.1 kB / 0.5674 GB, free: 5.539 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01399, allocations: 4 kB / 0.5674 GB, free: 5.535 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.0142, allocations: 167.8 kB / 0.5675 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.01442, allocations: 47.64 kB / 0.5676 GB, free: 5.328 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007388/0.01516, allocations: 0.62 MB / 0.5682 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.922e-05/0.01525, allocations: 152.2 kB / 0.5683 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.713e-05/0.01535, allocations: 36.48 kB / 0.5684 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of SimCode: time 6.01e-07/0.01535, allocations: 4 kB / 0.5684 GB, free: 4.461 MB / 0.5261 GB Notification: Performance of Templates: time 0.004444/0.01979, allocations: 4.151 MB / 0.5724 GB, free: 340 kB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.894406017847359] Failed to read output from testmodel.py, exit status != 0: 0.02436053194105625 0.032167915000000005 0.025567115 Calling exit ...