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.001256/0.001256, allocations: 82.64 kB / 19.94 MB, free: 1.777 MB / 14.72 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.001359/0.001359, allocations: 164.5 kB / 23.22 MB, free: 4.902 MB / 14.72 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.399/1.399, allocations: 177.1 MB / 203.5 MB, free: 9.168 MB / 190.1 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.8885/0.8885, allocations: 114 MB / 373.9 MB, free: 13.24 MB / 350.1 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 4.619e-06/4.619e-06, allocations: 4 kB / 0.5547 GB, free: 2.578 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.645e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.574 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003114/0.00314, allocations: 1.909 MB / 0.5566 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.004446, allocations: 0.7012 MB / 0.5573 GB, free: 15.95 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.085e-05/0.004537, allocations: 0 / 0.5573 GB, free: 15.95 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 5.963e-05/0.004596, allocations: 23.67 kB / 0.5573 GB, free: 15.92 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.004717, allocations: 47.36 kB / 0.5574 GB, free: 15.88 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.005217, allocations: 186.8 kB / 0.5575 GB, free: 15.7 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003907/0.005608, allocations: 338.9 kB / 0.5579 GB, free: 15.37 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.005738, allocations: 40.91 kB / 0.5579 GB, free: 15.33 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002907/0.006029, allocations: 187.7 kB / 0.5581 GB, free: 15.15 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.006231, allocations: 123.6 kB / 0.5582 GB, free: 15.03 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.208e-05/0.006283, allocations: 28 kB / 0.5582 GB, free: 15 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.422e-05/0.006368, allocations: 35.98 kB / 0.5583 GB, free: 14.96 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.531e-05/0.006443, allocations: 75.78 kB / 0.5583 GB, free: 14.89 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.006558, allocations: 107.7 kB / 0.5584 GB, free: 14.79 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004022/0.00696, allocations: 339 kB / 0.5588 GB, free: 14.45 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.006963, allocations: 0 / 0.5588 GB, free: 14.45 MB / 478.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.006964, allocations: 0 / 0.5588 GB, free: 14.45 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.006974, allocations: 0 / 0.5588 GB, free: 14.45 MB / 478.1 MB 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.0012/0.008174, allocations: 0.5599 MB / 0.5593 GB, free: 13.86 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.008209, allocations: 8.625 kB / 0.5593 GB, free: 13.85 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003229/0.008532, allocations: 64.72 kB / 0.5594 GB, free: 13.79 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.008833, allocations: 198.3 kB / 0.5596 GB, free: 13.57 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003621/0.009196, allocations: 0.4919 MB / 0.56 GB, free: 12.97 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-05/0.009255, allocations: 28.38 kB / 0.5601 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005061/0.009761, allocations: 259.1 kB / 0.5603 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.009778, allocations: 192 / 0.5603 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.757e-05/0.009816, allocations: 12.12 kB / 0.5603 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.009823, allocations: 4 kB / 0.5603 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004417/0.01026, allocations: 176.9 kB / 0.5605 GB, free: 12.49 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.01129, allocations: 0.6641 MB / 0.5612 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004903/0.01178, allocations: 191.7 kB / 0.5613 GB, free: 11.57 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002614/0.01204, allocations: 122.5 kB / 0.5615 GB, free: 11.44 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.94e-05/0.01208, allocations: 15.92 kB / 0.5615 GB, free: 11.43 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005036/0.01258, allocations: 308.2 kB / 0.5618 GB, free: 11.11 MB / 478.1 MB Notification: Performance of pre-optimization done (n=48): time 1.814e-06/0.01258, allocations: 0 / 0.5618 GB, free: 11.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=48): time 0.001088/0.01367, allocations: 496.5 kB / 0.5622 GB, free: 10.62 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.904e-05/0.01376, allocations: 122.7 kB / 0.5624 GB, free: 10.48 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.01394, allocations: 182.3 kB / 0.5625 GB, free: 10.29 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.01399, allocations: 41.7 kB / 0.5626 GB, free: 10.24 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.811e-05/0.01408, allocations: 125.3 kB / 0.5627 GB, free: 10.11 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.01421, allocations: 158.8 kB / 0.5628 GB, free: 9.957 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.01437, allocations: 106.3 kB / 0.5629 GB, free: 9.848 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.01453, allocations: 342.8 kB / 0.5633 GB, free: 9.504 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003139/0.01484, allocations: 145.2 kB / 0.5634 GB, free: 9.363 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003904/0.01523, allocations: 252.8 kB / 0.5636 GB, free: 9.082 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006709/0.01591, allocations: 394 kB / 0.564 GB, free: 8.66 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.01591, allocations: 8 kB / 0.564 GB, free: 8.652 MB / 478.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008742/0.01678, allocations: 489.7 kB / 0.5645 GB, free: 8.168 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.0168, allocations: 8 kB / 0.5645 GB, free: 8.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.01681, allocations: 4.062 kB / 0.5645 GB, free: 8.156 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.01683, allocations: 8 kB / 0.5645 GB, free: 8.148 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.01721, allocations: 99.75 kB / 0.5646 GB, free: 8.051 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.01723, allocations: 11.94 kB / 0.5646 GB, free: 8.039 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.0175, allocations: 59.7 kB / 0.5647 GB, free: 7.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/0.01753, allocations: 24 kB / 0.5647 GB, free: 7.957 MB / 478.1 MB 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.0001709/0.01771, allocations: 155.7 kB / 0.5648 GB, free: 7.797 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.163e-05/0.01777, allocations: 35.84 kB / 0.5649 GB, free: 7.762 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.804e-05/0.01784, allocations: 29.97 kB / 0.5649 GB, free: 7.738 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.01784, allocations: 4 kB / 0.5649 GB, free: 7.734 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.01785, allocations: 7.938 kB / 0.5649 GB, free: 7.727 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.01786, allocations: 7.984 kB / 0.5649 GB, free: 7.719 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.01816, allocations: 241 kB / 0.5652 GB, free: 7.453 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01816, allocations: 0 / 0.5652 GB, free: 7.453 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004014/0.01856, allocations: 75.89 kB / 0.5652 GB, free: 7.379 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.01857, allocations: 0 / 0.5652 GB, free: 7.379 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.429e-05/0.01861, allocations: 15.98 kB / 0.5652 GB, free: 7.363 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.01861, allocations: 0 / 0.5652 GB, free: 7.363 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.01862, allocations: 7.938 kB / 0.5653 GB, free: 7.355 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.01973, allocations: 0.5916 MB / 0.5658 GB, free: 6.738 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.541e-05/0.01977, allocations: 31.75 kB / 0.5659 GB, free: 6.707 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.71e-05/0.01982, allocations: 8 kB / 0.5659 GB, free: 6.699 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.02006, allocations: 35.95 kB / 0.5659 GB, free: 6.664 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.02019, allocations: 51.86 kB / 0.566 GB, free: 6.613 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/0.02022, allocations: 19.98 kB / 0.566 GB, free: 6.594 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001026/0.02033, allocations: 132.3 kB / 0.5661 GB, free: 6.465 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02033, allocations: 0 / 0.5661 GB, free: 6.465 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003208/0.02065, allocations: 83.94 kB / 0.5662 GB, free: 6.383 MB / 478.1 MB 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.0001528/0.0208, allocations: 117.9 kB / 0.5663 GB, free: 6.262 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007422/0.02154, allocations: 367 kB / 0.5666 GB, free: 5.898 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.02154, allocations: 0 / 0.5666 GB, free: 5.898 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004072/0.02195, allocations: 187.7 kB / 0.5668 GB, free: 5.715 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.02226, allocations: 36.11 kB / 0.5669 GB, free: 5.68 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.02334, allocations: 0.5797 MB / 0.5674 GB, free: 5.062 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.02348, allocations: 164.1 kB / 0.5676 GB, free: 4.883 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001404/0.02362, allocations: 38.95 kB / 0.5676 GB, free: 4.848 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.02375, allocations: 40.48 kB / 0.5677 GB, free: 4.809 MB / 478.1 MB Notification: Performance of SimCode: time 3.11e-07/0.02375, allocations: 0 / 0.5677 GB, free: 4.809 MB / 478.1 MB Notification: Performance of Templates: time 0.008425/0.03217, allocations: 4.018 MB / 0.5716 GB, free: 0.875 MB / 478.1 MB " [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: 5.2615412920713425] Failed to read output from testmodel.py, exit status != 0: 0.040769658982753754 0.055218220000000005 0.045192305 Calling exit ...