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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 117.5 kB / 17.76 MB, free: 5.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 180.6 kB / 20.69 MB, free: 2.289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 246.4 MB, free: 4.34 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.073/1.073, allocations: 147.7 MB / 446.2 MB, free: 8.473 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002091/0.002091, allocations: 68.16 kB / 0.6121 GB, free: 37.76 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1991, allocations: 83.17 MB / 0.6933 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002388/0.2016, allocations: 1.084 MB / 0.6944 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.2034, allocations: 1.105 MB / 0.6955 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.992e-05/0.2035, allocations: 1.438 kB / 0.6955 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.656e-05/0.2036, allocations: 15.75 kB / 0.6955 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.2037, allocations: 52.19 kB / 0.6955 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004872/0.2042, allocations: 146.4 kB / 0.6957 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003527/0.2046, allocations: 327.2 kB / 0.696 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.2048, allocations: 48.95 kB / 0.696 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.205, allocations: 135.8 kB / 0.6961 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.2052, allocations: 147.3 kB / 0.6963 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.088e-05/0.2053, allocations: 28.88 kB / 0.6963 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 4.858e-05/0.2053, allocations: 30.25 kB / 0.6963 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.591e-05/0.2054, allocations: 80.16 kB / 0.6964 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.2056, allocations: 132.4 kB / 0.6965 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004027/0.206, allocations: 323.4 kB / 0.6969 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.206, allocations: 0 / 0.6969 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.294e-06/0.206, allocations: 1.375 kB / 0.6969 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.206, allocations: 0 / 0.6969 GB, free: 10.31 MB / 0.5137 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.001343/0.2074, allocations: 0.6256 MB / 0.6975 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.2074, allocations: 10.31 kB / 0.6975 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.903e-05/0.2075, allocations: 33.34 kB / 0.6975 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.2077, allocations: 199.2 kB / 0.6977 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002569/0.208, allocations: 266.2 kB / 0.698 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.151e-05/0.208, allocations: 26.84 kB / 0.698 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000538/0.2086, allocations: 265.3 kB / 0.6982 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.2086, allocations: 6.094 kB / 0.6982 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/0.2086, allocations: 9.547 kB / 0.6982 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.2087, allocations: 6.375 kB / 0.6983 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004323/0.2091, allocations: 174.2 kB / 0.6984 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.2103, allocations: 0.7833 MB / 0.6992 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005357/0.2109, allocations: 211.7 kB / 0.6994 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002739/0.2112, allocations: 126.5 kB / 0.6995 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.374e-05/0.2112, allocations: 15.97 kB / 0.6995 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006244/0.2118, allocations: 307.7 kB / 0.6998 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=48): time 2.424e-06/0.2119, allocations: 0 / 0.6998 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.001137/0.213, allocations: 483.7 kB / 0.7003 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.291e-05/0.2131, allocations: 126.7 kB / 0.7004 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.2133, allocations: 175.5 kB / 0.7006 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.2134, allocations: 53.58 kB / 0.7006 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.2135, allocations: 117.3 kB / 0.7007 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.2136, allocations: 150.8 kB / 0.7009 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.2138, allocations: 110.3 kB / 0.701 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.214, allocations: 338.8 kB / 0.7013 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.2144, allocations: 145.2 kB / 0.7014 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/0.2148, allocations: 256.8 kB / 0.7017 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007052/0.2155, allocations: 398 kB / 0.7021 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.2155, allocations: 0 / 0.7021 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009339/0.2165, allocations: 493.3 kB / 0.7025 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.2165, allocations: 10.12 kB / 0.7025 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.2165, allocations: 4 kB / 0.7025 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.2165, allocations: 4 kB / 0.7026 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004202/0.217, allocations: 95.83 kB / 0.7026 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/0.217, allocations: 7.984 kB / 0.7027 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.2173, allocations: 59.75 kB / 0.7027 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.2173, allocations: 24 kB / 0.7027 GB, free: 4.363 MB / 0.5137 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.000217/0.2176, allocations: 155.5 kB / 0.7029 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.952e-05/0.2176, allocations: 35.73 kB / 0.7029 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.789e-05/0.2177, allocations: 29.88 kB / 0.7029 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.2177, allocations: 8.094 kB / 0.7029 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.276e-05/0.2178, allocations: 0 / 0.7029 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/0.2178, allocations: 7.969 kB / 0.703 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004558/0.2182, allocations: 357.3 kB / 0.7033 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.2183, allocations: 7.984 kB / 0.7033 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004117/0.2187, allocations: 75.84 kB / 0.7034 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.2187, allocations: 7.938 kB / 0.7034 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/0.2187, allocations: 15.98 kB / 0.7034 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.2188, allocations: 4 kB / 0.7034 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2188, allocations: 0 / 0.7034 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.2199, allocations: 0.5818 MB / 0.704 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-05/0.22, allocations: 100.9 kB / 0.7041 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.434e-05/0.2201, allocations: 19.92 kB / 0.7041 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.2203, allocations: 28.06 kB / 0.7041 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.2204, allocations: 47.89 kB / 0.7042 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.2205, allocations: 15.98 kB / 0.7042 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001076/0.2206, allocations: 121.2 kB / 0.7043 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2206, allocations: 0 / 0.7043 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003475/0.221, allocations: 83.94 kB / 0.7044 GB, free: 2.586 MB / 0.5137 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.0001954/0.2212, allocations: 116 kB / 0.7045 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000871/0.222, allocations: 393.2 kB / 0.7049 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.222, allocations: 0 / 0.7049 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003873/0.2224, allocations: 183.7 kB / 0.705 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.2228, allocations: 52.34 kB / 0.7051 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.2241, allocations: 0.6431 MB / 0.7057 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/0.2245, allocations: 0.7686 MB / 0.7065 GB, free: 384 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.2247, allocations: 35.44 kB / 0.7065 GB, free: 348 kB / 0.5137 GB Notification: Performance of SimCode: time 4.31e-07/0.2247, allocations: 0 / 0.7065 GB, free: 348 kB / 0.5137 GB Notification: Performance of Templates: time 0.007129/0.2318, allocations: 3.985 MB / 0.7104 GB, free: 12.38 MB / 0.5294 GB " [Timeout remaining time 659] 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: 8.342439477099106] Failed to read output from testmodel.py, exit status != 0: 0.5483882031403482 0.253671725 0.044867227 Calling exit ...