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.001209/0.001209, allocations: 114.4 kB / 19.59 MB, free: 2.281 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.001413/0.001413, allocations: 192 kB / 22.85 MB, free: 5.664 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.468/1.468, allocations: 225.6 MB / 251.5 MB, free: 13.05 MB / 206.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 0.9579/0.9579, allocations: 149.5 MB / 456.3 MB, free: 1.301 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.002121/0.002121, allocations: 62.84 kB / 0.6324 GB, free: 9.078 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2029, allocations: 87.88 MB / 0.7183 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002725/0.2057, allocations: 1.099 MB / 0.7193 GB, free: 24 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001732/0.2074, allocations: 1.108 MB / 0.7204 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001739/0.2076, allocations: 4 kB / 0.7204 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.142e-05/0.2076, allocations: 15.75 kB / 0.7204 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.2077, allocations: 47.5 kB / 0.7205 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005178/0.2083, allocations: 147.7 kB / 0.7206 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003636/0.2086, allocations: 327.2 kB / 0.7209 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.2088, allocations: 36.56 kB / 0.721 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.209, allocations: 139.5 kB / 0.7211 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.2092, allocations: 151.4 kB / 0.7212 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.338e-05/0.2093, allocations: 28 kB / 0.7213 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.968e-05/0.2093, allocations: 32 kB / 0.7213 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.984e-05/0.2094, allocations: 79.78 kB / 0.7214 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.2095, allocations: 131.3 kB / 0.7215 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.2099, allocations: 314.7 kB / 0.7218 GB, free: 13.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2099, allocations: 11.92 kB / 0.7218 GB, free: 13.46 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2099, allocations: 4 kB / 0.7218 GB, free: 13.46 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.2099, allocations: 0 / 0.7218 GB, free: 13.46 MB / 0.545 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.001324/0.2112, allocations: 0.5521 MB / 0.7224 GB, free: 12.87 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.2112, allocations: 8.625 kB / 0.7224 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.872e-05/0.2113, allocations: 32.75 kB / 0.7224 GB, free: 12.83 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.2115, allocations: 143 kB / 0.7225 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002492/0.2117, allocations: 268.3 kB / 0.7228 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.499e-05/0.2118, allocations: 28.38 kB / 0.7228 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005272/0.2123, allocations: 262.3 kB / 0.7231 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.2123, allocations: 3.938 kB / 0.7231 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.2124, allocations: 12 kB / 0.7231 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.2124, allocations: 4 kB / 0.7231 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004566/0.2128, allocations: 175.8 kB / 0.7233 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.2141, allocations: 0.7416 MB / 0.724 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005453/0.2146, allocations: 196.5 kB / 0.7242 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/0.2149, allocations: 130.5 kB / 0.7243 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.251e-05/0.2149, allocations: 11.98 kB / 0.7243 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000633/0.2156, allocations: 315.6 kB / 0.7246 GB, free: 10.37 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 2.083e-06/0.2156, allocations: 0 / 0.7246 GB, free: 10.37 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.001151/0.2167, allocations: 484.6 kB / 0.7251 GB, free: 9.891 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.123e-05/0.2168, allocations: 122.7 kB / 0.7252 GB, free: 9.746 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.217, allocations: 191.4 kB / 0.7254 GB, free: 9.547 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/0.217, allocations: 37.7 kB / 0.7254 GB, free: 9.504 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.712e-05/0.2171, allocations: 117.3 kB / 0.7255 GB, free: 9.387 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.2173, allocations: 158.7 kB / 0.7257 GB, free: 9.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.2175, allocations: 106.3 kB / 0.7258 GB, free: 9.121 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.2176, allocations: 342.8 kB / 0.7261 GB, free: 8.777 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003295/0.218, allocations: 145.2 kB / 0.7262 GB, free: 8.637 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004021/0.2184, allocations: 248.8 kB / 0.7265 GB, free: 8.355 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007212/0.2191, allocations: 402 kB / 0.7269 GB, free: 7.926 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.2191, allocations: 4 kB / 0.7269 GB, free: 7.922 MB / 0.545 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009269/0.22, allocations: 497.1 kB / 0.7273 GB, free: 7.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.2201, allocations: 11.94 kB / 0.7273 GB, free: 7.418 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.2201, allocations: 4 kB / 0.7273 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.2201, allocations: 4 kB / 0.7273 GB, free: 7.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/0.2205, allocations: 103.8 kB / 0.7274 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.2205, allocations: 4 kB / 0.7275 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/0.2208, allocations: 55.75 kB / 0.7275 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/0.2208, allocations: 20 kB / 0.7275 GB, free: 7.23 MB / 0.545 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.0002055/0.2211, allocations: 163.5 kB / 0.7277 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.696e-05/0.2211, allocations: 31.75 kB / 0.7277 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.771e-05/0.2212, allocations: 33.91 kB / 0.7277 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.2212, allocations: 8 kB / 0.7278 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.2212, allocations: 0 / 0.7278 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.2212, allocations: 3.984 kB / 0.7278 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004199/0.2216, allocations: 332.3 kB / 0.7281 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2216, allocations: 0 / 0.7281 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004266/0.2221, allocations: 75.91 kB / 0.7281 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/0.2221, allocations: 11.92 kB / 0.7282 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-05/0.2221, allocations: 8 kB / 0.7282 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.2221, allocations: 4 kB / 0.7282 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2221, allocations: 0 / 0.7282 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.2233, allocations: 0.5861 MB / 0.7287 GB, free: 5.914 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.2233, allocations: 27.8 kB / 0.7288 GB, free: 5.887 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.526e-05/0.2234, allocations: 19.92 kB / 0.7288 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.2236, allocations: 23.97 kB / 0.7288 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.2238, allocations: 59.91 kB / 0.7289 GB, free: 5.785 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.172e-05/0.2238, allocations: 15.98 kB / 0.7289 GB, free: 5.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001159/0.2239, allocations: 129.2 kB / 0.729 GB, free: 5.645 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2239, allocations: 0 / 0.729 GB, free: 5.645 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003346/0.2243, allocations: 76 kB / 0.7291 GB, free: 5.57 MB / 0.545 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.0001862/0.2245, allocations: 120 kB / 0.7292 GB, free: 5.445 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008006/0.2253, allocations: 368.2 kB / 0.7295 GB, free: 5.086 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.2253, allocations: 0 / 0.7295 GB, free: 5.086 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003995/0.2257, allocations: 176.7 kB / 0.7297 GB, free: 4.914 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.226, allocations: 52.73 kB / 0.7298 GB, free: 4.863 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.2272, allocations: 0.6187 MB / 0.7304 GB, free: 4.211 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.2276, allocations: 0.7648 MB / 0.7311 GB, free: 3.422 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001614/0.2278, allocations: 43.19 kB / 0.7312 GB, free: 3.379 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.2279, allocations: 35.44 kB / 0.7312 GB, free: 3.344 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.2279, allocations: 0 / 0.7312 GB, free: 3.344 MB / 0.545 GB Notification: Performance of Templates: time 0.00908/0.237, allocations: 4.141 MB / 0.7352 GB, free: 15.23 MB / 0.5606 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: 6.101693319156766] Failed to read output from testmodel.py, exit status != 0: 0.24654810596257448 0.26379845500000004 0.050452500000000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f76640297b0>