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.0007943/0.0007943, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008799/0.0008799, allocations: 169.9 kB / 23.21 MB, free: 1.355 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.9256/0.9256, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.5416/0.5416, allocations: 114 MB / 373.9 MB, free: 8.715 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 4 kB / 0.5543 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.3e-05, allocations: 6.219 kB / 0.5543 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001407/0.00143, allocations: 1.021 MB / 0.5553 GB, free: 1.703 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.002516, allocations: 1.135 MB / 0.5564 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.019e-05/0.002586, allocations: 4 kB / 0.5564 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.965e-05/0.002626, allocations: 19.69 kB / 0.5564 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.32e-05/0.002709, allocations: 43.52 kB / 0.5564 GB, free: 500 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.003073, allocations: 159.2 kB / 0.5566 GB, free: 344 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.003298, allocations: 335 kB / 0.5569 GB, free: 8 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.003422, allocations: 44.5 kB / 0.5569 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002187/0.003641, allocations: 191.6 kB / 0.5571 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.00376, allocations: 115.7 kB / 0.5572 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.003792, allocations: 32 kB / 0.5573 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 5.05e-05/0.003843, allocations: 35.98 kB / 0.5573 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.309e-05/0.003886, allocations: 83.7 kB / 0.5574 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.038e-05/0.003946, allocations: 87.8 kB / 0.5575 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.004192, allocations: 354.9 kB / 0.5578 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.004195, allocations: 0 / 0.5578 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.303e-06/0.004196, allocations: 0 / 0.5578 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.0042, allocations: 4 kB / 0.5578 GB, free: 15.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.0006919/0.004892, allocations: 0.5521 MB / 0.5583 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.004927, allocations: 12.62 kB / 0.5584 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.473e-05/0.004971, allocations: 54.72 kB / 0.5584 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.005145, allocations: 60.72 kB / 0.5585 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.843e-05/0.005234, allocations: 138.3 kB / 0.5586 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001994/0.005433, allocations: 0.4958 MB / 0.5591 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.274e-05/0.005476, allocations: 24.38 kB / 0.5591 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.005798, allocations: 263.1 kB / 0.5594 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.005815, allocations: 12.14 kB / 0.5594 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.005834, allocations: 12.31 kB / 0.5594 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.005841, allocations: 7.938 kB / 0.5594 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/0.006103, allocations: 179.8 kB / 0.5596 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007397/0.006843, allocations: 0.6832 MB / 0.5602 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.007142, allocations: 199.9 kB / 0.5604 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.007292, allocations: 123.5 kB / 0.5605 GB, free: 12 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.007323, allocations: 15.92 kB / 0.5606 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003353/0.007658, allocations: 304.1 kB / 0.5608 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 1.443e-06/0.00766, allocations: 0 / 0.5608 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48): time 0.0006501/0.00831, allocations: 489.7 kB / 0.5613 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.008369, allocations: 126.7 kB / 0.5614 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.008485, allocations: 179.5 kB / 0.5616 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.008513, allocations: 41.69 kB / 0.5616 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/0.008568, allocations: 117.3 kB / 0.5618 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.504e-05/0.008653, allocations: 154.8 kB / 0.5619 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.126e-05/0.008744, allocations: 106.3 kB / 0.562 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.503e-05/0.008829, allocations: 342.8 kB / 0.5623 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.009011, allocations: 149.2 kB / 0.5625 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.009229, allocations: 252.8 kB / 0.5627 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003897/0.009619, allocations: 398 kB / 0.5631 GB, free: 9.23 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.009622, allocations: 0 / 0.5631 GB, free: 9.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005024/0.01012, allocations: 489.6 kB / 0.5636 GB, free: 8.746 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.01014, allocations: 12 kB / 0.5636 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.01015, allocations: 4 kB / 0.5636 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.01016, allocations: 7.938 kB / 0.5636 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.01036, allocations: 95.77 kB / 0.5637 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.01036, allocations: 8 kB / 0.5637 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.01049, allocations: 51.81 kB / 0.5637 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.01051, allocations: 31.98 kB / 0.5638 GB, free: 8.539 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.0001055/0.01062, allocations: 159.7 kB / 0.5639 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.01065, allocations: 35.75 kB / 0.5639 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.02e-05/0.01069, allocations: 33.95 kB / 0.564 GB, free: 8.297 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.01069, allocations: 7.938 kB / 0.564 GB, free: 8.289 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.0107, allocations: 0 / 0.564 GB, free: 8.289 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.0107, allocations: 4 kB / 0.564 GB, free: 8.285 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.0109, allocations: 276.5 kB / 0.5643 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01091, allocations: 0 / 0.5643 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.0111, allocations: 75.89 kB / 0.5643 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.01111, allocations: 7.938 kB / 0.5643 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.01113, allocations: 16 kB / 0.5644 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.01113, allocations: 7.922 kB / 0.5644 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01113, allocations: 4 kB / 0.5644 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006621/0.0118, allocations: 0.5899 MB / 0.5649 GB, free: 7.254 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.024e-05/0.01182, allocations: 27.8 kB / 0.565 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.01184, allocations: 12 kB / 0.565 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.01194, allocations: 35.91 kB / 0.565 GB, free: 7.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.834e-05/0.01203, allocations: 59.84 kB / 0.5651 GB, free: 7.121 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.01205, allocations: 19.98 kB / 0.5651 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.76e-05/0.01211, allocations: 121.2 kB / 0.5652 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01211, allocations: 0 / 0.5652 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002185/0.01233, allocations: 79.95 kB / 0.5653 GB, free: 6.906 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.0008382/0.01317, allocations: 1.141 MB / 0.5664 GB, free: 5.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004453/0.01361, allocations: 359.2 kB / 0.5667 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01361, allocations: 0 / 0.5667 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002236/0.01384, allocations: 187.7 kB / 0.5669 GB, free: 5.195 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.01405, allocations: 39.97 kB / 0.567 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002615/0.01667, allocations: 3.149 MB / 0.57 GB, free: 1.844 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.275e-05/0.01675, allocations: 160.1 kB / 0.5702 GB, free: 1.672 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.626e-05/0.01685, allocations: 38.95 kB / 0.5702 GB, free: 1.633 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.01697, allocations: 92.47 kB / 0.5703 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of SimCode: time 8.51e-07/0.01697, allocations: 0 / 0.5703 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01835/0.03532, allocations: 7.471 MB / 0.5776 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.962/6.997, allocations: 5.078 kB / 0.5776 GB, free: 10.27 MB / 0.5417 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.427641550078988] Failed to read output from testmodel.py, exit status != 0: 7.08408331964165 7.093552238 7.087503457 Calling exit ...