Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001289/0.001289, allocations: 80.38 kB / 19.94 MB, free: 1.766 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.001439/0.001439, allocations: 168.4 kB / 23.22 MB, free: 4.879 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.38/1.38, allocations: 177.1 MB / 203.5 MB, free: 9.16 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.8878/0.8878, allocations: 114 MB / 373.9 MB, free: 13.23 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 0.5547 GB, free: 2.57 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.936e-05, allocations: 5.719 kB / 0.5547 GB, free: 2.566 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002247/0.002276, allocations: 1.024 MB / 0.5557 GB, free: 1.547 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.003982, allocations: 1.135 MB / 0.5569 GB, free: 408 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.004093, allocations: 0 / 0.5569 GB, free: 408 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 6.237e-05/0.004155, allocations: 23.62 kB / 0.5569 GB, free: 384 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.004282, allocations: 39.58 kB / 0.5569 GB, free: 344 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000506/0.004788, allocations: 162.1 kB / 0.5571 GB, free: 184 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004253/0.005213, allocations: 342.9 kB / 0.5574 GB, free: 15.84 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.005354, allocations: 28.58 kB / 0.5574 GB, free: 15.82 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003654/0.005719, allocations: 199.6 kB / 0.5576 GB, free: 15.62 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.00594, allocations: 119.7 kB / 0.5577 GB, free: 15.5 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.895e-05/0.006009, allocations: 28 kB / 0.5578 GB, free: 15.48 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.62e-05/0.006095, allocations: 32 kB / 0.5578 GB, free: 15.45 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.138e-05/0.006176, allocations: 79.7 kB / 0.5579 GB, free: 15.37 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.006304, allocations: 99.78 kB / 0.558 GB, free: 15.27 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004107/0.006715, allocations: 350.9 kB / 0.5583 GB, free: 14.93 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.006717, allocations: 0 / 0.5583 GB, free: 14.93 MB / 478.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.006718, allocations: 0 / 0.5583 GB, free: 14.93 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.006727, allocations: 0 / 0.5583 GB, free: 14.93 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.001285/0.008013, allocations: 0.5521 MB / 0.5588 GB, free: 14.34 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.008048, allocations: 8.625 kB / 0.5588 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000338/0.008386, allocations: 60.75 kB / 0.5589 GB, free: 14.28 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.008542, allocations: 142.2 kB / 0.559 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003736/0.008915, allocations: 0.4919 MB / 0.5595 GB, free: 13.51 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.008977, allocations: 28.38 kB / 0.5595 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005413/0.009518, allocations: 271.1 kB / 0.5598 GB, free: 13.2 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.009539, allocations: 192 / 0.5598 GB, free: 13.2 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.009573, allocations: 12.31 kB / 0.5598 GB, free: 13.19 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.009582, allocations: 8.125 kB / 0.5598 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004635/0.01005, allocations: 179.8 kB / 0.56 GB, free: 13.01 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.01113, allocations: 0.6565 MB / 0.5606 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005332/0.01167, allocations: 191.7 kB / 0.5608 GB, free: 12.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002807/0.01195, allocations: 126.5 kB / 0.5609 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.713e-05/0.01198, allocations: 8 kB / 0.5609 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005407/0.01253, allocations: 316.3 kB / 0.5612 GB, free: 11.63 MB / 478.1 MB Notification: Performance of pre-optimization done (n=48): time 2.274e-06/0.01253, allocations: 0 / 0.5612 GB, free: 11.63 MB / 478.1 MB Notification: Performance of matching and sorting (n=48): time 0.001132/0.01366, allocations: 486.7 kB / 0.5617 GB, free: 11.15 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.815e-05/0.01375, allocations: 127 kB / 0.5618 GB, free: 11 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.01393, allocations: 179.4 kB / 0.562 GB, free: 10.82 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.069e-05/0.01398, allocations: 41.7 kB / 0.562 GB, free: 10.77 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.073e-05/0.01407, allocations: 117.3 kB / 0.5622 GB, free: 10.65 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.01422, allocations: 158.7 kB / 0.5623 GB, free: 10.49 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.01438, allocations: 106.3 kB / 0.5624 GB, free: 10.38 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.01455, allocations: 346.8 kB / 0.5627 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/0.01489, allocations: 141.2 kB / 0.5629 GB, free: 9.895 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000405/0.0153, allocations: 252.8 kB / 0.5631 GB, free: 9.617 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007167/0.01601, allocations: 390 kB / 0.5635 GB, free: 9.199 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.01602, allocations: 0 / 0.5635 GB, free: 9.199 MB / 478.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009589/0.01698, allocations: 497 kB / 0.564 GB, free: 8.707 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.01699, allocations: 4 kB / 0.564 GB, free: 8.703 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.01701, allocations: 8.062 kB / 0.564 GB, free: 8.695 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.01703, allocations: 8 kB / 0.564 GB, free: 8.688 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004031/0.01743, allocations: 95.81 kB / 0.5641 GB, free: 8.594 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.01745, allocations: 7.938 kB / 0.5641 GB, free: 8.586 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/0.01775, allocations: 59.75 kB / 0.5641 GB, free: 8.527 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-05/0.01779, allocations: 20.7 kB / 0.5642 GB, free: 8.508 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.0001914/0.01798, allocations: 167.6 kB / 0.5643 GB, free: 8.336 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.725e-05/0.01804, allocations: 31.75 kB / 0.5643 GB, free: 8.305 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.322e-05/0.01811, allocations: 34.05 kB / 0.5644 GB, free: 8.273 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.01812, allocations: 8 kB / 0.5644 GB, free: 8.266 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.01813, allocations: 0 / 0.5644 GB, free: 8.266 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.01814, allocations: 11.86 kB / 0.5644 GB, free: 8.254 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.01847, allocations: 233.1 kB / 0.5646 GB, free: 7.996 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.01847, allocations: 0 / 0.5646 GB, free: 7.996 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004381/0.01891, allocations: 79.89 kB / 0.5647 GB, free: 7.918 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.01892, allocations: 7.938 kB / 0.5647 GB, free: 7.91 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-05/0.01895, allocations: 11.98 kB / 0.5647 GB, free: 7.898 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.01896, allocations: 4 kB / 0.5647 GB, free: 7.895 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01896, allocations: 0 / 0.5647 GB, free: 7.895 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.02016, allocations: 0.5877 MB / 0.5653 GB, free: 7.281 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.02021, allocations: 27.75 kB / 0.5653 GB, free: 7.254 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.933e-05/0.02026, allocations: 8 kB / 0.5653 GB, free: 7.246 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/0.02051, allocations: 39.95 kB / 0.5654 GB, free: 7.207 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.02067, allocations: 55.86 kB / 0.5654 GB, free: 7.152 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/0.02071, allocations: 15.98 kB / 0.5654 GB, free: 7.137 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001157/0.02082, allocations: 125.2 kB / 0.5655 GB, free: 7.016 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02082, allocations: 3.938 kB / 0.5656 GB, free: 7.012 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003556/0.02118, allocations: 83.92 kB / 0.5656 GB, free: 6.93 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.0001703/0.02135, allocations: 120.1 kB / 0.5657 GB, free: 6.805 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008126/0.02216, allocations: 367.7 kB / 0.5661 GB, free: 6.445 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.02216, allocations: 0 / 0.5661 GB, free: 6.445 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004124/0.02257, allocations: 184.2 kB / 0.5663 GB, free: 6.27 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.02293, allocations: 44.09 kB / 0.5663 GB, free: 6.227 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.02417, allocations: 0.5677 MB / 0.5669 GB, free: 5.621 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.02432, allocations: 164.1 kB / 0.567 GB, free: 5.441 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001481/0.02446, allocations: 34.97 kB / 0.5671 GB, free: 5.41 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.02459, allocations: 40.48 kB / 0.5671 GB, free: 5.371 MB / 478.1 MB Notification: Performance of SimCode: time 3.31e-07/0.02459, allocations: 0 / 0.5671 GB, free: 5.371 MB / 478.1 MB Notification: Performance of Templates: time 0.008591/0.03318, allocations: 3.996 MB / 0.571 GB, free: 1.449 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.258671648800373] Failed to read output from testmodel.py, exit status != 0: 0.04156583175063133 0.055793749000000004 0.046050023 Calling exit ...