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.0008049/0.0008049, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0009681/0.0009681, allocations: 166.3 kB / 23.97 MB, free: 0.5977 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.9079/0.9079, 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.5488/0.5488, allocations: 114 MB / 374.7 MB, free: 8.695 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,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 1.262e-06/1.262e-06, allocations: 0 / 0.5555 GB, free: 1.121 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.138e-05, allocations: 2.281 kB / 0.5555 GB, free: 1.117 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001307/0.001328, allocations: 1.016 MB / 0.5565 GB, free: 104 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.002386, allocations: 1.131 MB / 0.5576 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.035e-05/0.002446, allocations: 4 kB / 0.5576 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.966e-05/0.002486, allocations: 19.69 kB / 0.5576 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.96e-05/0.002565, allocations: 51.5 kB / 0.5577 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.002885, allocations: 162.2 kB / 0.5578 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.003103, allocations: 331 kB / 0.5581 GB, free: 14.4 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.00322, allocations: 36.56 kB / 0.5582 GB, free: 14.37 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.003428, allocations: 199.6 kB / 0.5584 GB, free: 14.17 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.003549, allocations: 119.7 kB / 0.5585 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.00358, allocations: 28 kB / 0.5585 GB, free: 14.03 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.679e-05/0.003627, allocations: 36 kB / 0.5585 GB, free: 13.99 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003123/0.003939, allocations: 79.77 kB / 0.5586 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.009e-05/0.003999, allocations: 95.72 kB / 0.5587 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.004255, allocations: 350.9 kB / 0.559 GB, free: 13.48 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.004256, allocations: 0 / 0.559 GB, free: 13.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004257, allocations: 0 / 0.559 GB, free: 13.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.004261, allocations: 0 / 0.559 GB, free: 13.48 MB / 490.7 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.000641/0.004902, allocations: 0.5482 MB / 0.5596 GB, free: 12.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.004934, allocations: 12.62 kB / 0.5596 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.005098, allocations: 56.75 kB / 0.5596 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.893e-05/0.005187, allocations: 154.2 kB / 0.5598 GB, free: 12.65 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001937/0.00538, allocations: 499.7 kB / 0.5603 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.624e-05/0.005417, allocations: 28.38 kB / 0.5603 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.005705, allocations: 259.1 kB / 0.5605 GB, free: 11.76 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.005719, allocations: 8.172 kB / 0.5605 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.005737, allocations: 8.375 kB / 0.5605 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.005745, allocations: 12.12 kB / 0.5606 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.005991, allocations: 171.8 kB / 0.5607 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006174/0.006608, allocations: 0.6564 MB / 0.5614 GB, free: 10.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.006891, allocations: 195.7 kB / 0.5615 GB, free: 10.65 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.007035, allocations: 126.5 kB / 0.5617 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.007064, allocations: 4 kB / 0.5617 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003106/0.007375, allocations: 312.2 kB / 0.562 GB, free: 10.19 MB / 490.7 MB Notification: Performance of pre-optimization done (n=48): time 1.352e-06/0.007376, allocations: 0 / 0.562 GB, free: 10.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=48): time 0.0005963/0.007972, allocations: 496.2 kB / 0.5624 GB, free: 9.707 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.008023, allocations: 127 kB / 0.5626 GB, free: 9.559 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.782e-05/0.008121, allocations: 179.4 kB / 0.5627 GB, free: 9.371 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.008152, allocations: 41.7 kB / 0.5628 GB, free: 9.324 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.959e-05/0.008201, allocations: 121.3 kB / 0.5629 GB, free: 9.199 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.159e-05/0.008283, allocations: 158.8 kB / 0.563 GB, free: 9.043 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.507e-05/0.008368, allocations: 102.3 kB / 0.5631 GB, free: 8.938 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.781e-05/0.008456, allocations: 342.8 kB / 0.5635 GB, free: 8.594 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.008631, allocations: 149.2 kB / 0.5636 GB, free: 8.445 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.008844, allocations: 244.8 kB / 0.5638 GB, free: 8.176 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/0.009229, allocations: 402 kB / 0.5642 GB, free: 7.746 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.009232, allocations: 4 kB / 0.5642 GB, free: 7.742 MB / 490.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004807/0.009712, allocations: 489.3 kB / 0.5647 GB, free: 7.258 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.009728, allocations: 8 kB / 0.5647 GB, free: 7.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.009734, allocations: 4 kB / 0.5647 GB, free: 7.246 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.009748, allocations: 4 kB / 0.5647 GB, free: 7.242 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.009932, allocations: 103.8 kB / 0.5648 GB, free: 7.141 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.00994, allocations: 7.938 kB / 0.5648 GB, free: 7.133 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.01006, allocations: 55.75 kB / 0.5649 GB, free: 7.078 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.01008, allocations: 20 kB / 0.5649 GB, free: 7.059 MB / 490.7 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.0001072/0.01019, allocations: 167.6 kB / 0.5651 GB, free: 6.883 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.01021, allocations: 27.81 kB / 0.5651 GB, free: 6.855 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.713e-05/0.01025, allocations: 30.06 kB / 0.5651 GB, free: 6.828 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.01025, allocations: 7.984 kB / 0.5651 GB, free: 6.82 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.01026, allocations: 4 kB / 0.5651 GB, free: 6.816 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.01026, allocations: 11.92 kB / 0.5651 GB, free: 6.805 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004429/0.01071, allocations: 237 kB / 0.5654 GB, free: 6.543 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.01071, allocations: 0 / 0.5654 GB, free: 6.543 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.0109, allocations: 75.89 kB / 0.5654 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.0109, allocations: 0 / 0.5654 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.01092, allocations: 15.98 kB / 0.5654 GB, free: 6.453 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.01092, allocations: 0 / 0.5654 GB, free: 6.453 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01092, allocations: 0 / 0.5654 GB, free: 6.453 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006273/0.01155, allocations: 0.5994 MB / 0.566 GB, free: 5.828 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.768e-05/0.01156, allocations: 27.75 kB / 0.5661 GB, free: 5.801 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.01159, allocations: 8 kB / 0.5661 GB, free: 5.793 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.606e-05/0.01168, allocations: 40.02 kB / 0.5661 GB, free: 5.754 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.006e-05/0.01175, allocations: 43.88 kB / 0.5661 GB, free: 5.711 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.01177, allocations: 19.98 kB / 0.5662 GB, free: 5.691 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.381e-05/0.01183, allocations: 121.2 kB / 0.5663 GB, free: 5.574 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01183, allocations: 0 / 0.5663 GB, free: 5.574 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001945/0.01202, allocations: 87.94 kB / 0.5664 GB, free: 5.488 MB / 490.7 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 9.087e-05/0.01211, allocations: 112.1 kB / 0.5665 GB, free: 5.371 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004129/0.01252, allocations: 368.7 kB / 0.5668 GB, free: 5.016 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01253, allocations: 0 / 0.5668 GB, free: 5.016 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.01273, allocations: 175.8 kB / 0.567 GB, free: 4.844 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.01291, allocations: 31.98 kB / 0.567 GB, free: 4.812 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006653/0.01358, allocations: 0.5967 MB / 0.5676 GB, free: 4.172 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.938e-05/0.01366, allocations: 156.2 kB / 0.5677 GB, free: 4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.722e-05/0.01376, allocations: 40.48 kB / 0.5678 GB, free: 3.961 MB / 490.7 MB Notification: Performance of SimCode: time 3.61e-07/0.01376, allocations: 0 / 0.5678 GB, free: 3.961 MB / 490.7 MB Notification: Performance of Templates: time 0.003591/0.01735, allocations: 4.094 MB / 0.5718 GB, free: 15.89 MB / 0.4948 GB " [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: 4.861236705444753] Failed to read output from testmodel.py, exit status != 0: 0.02164364606142044 0.029603153000000004 0.023741223000000002 Calling exit ...