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.001522/0.001522, allocations: 113.4 kB / 17.12 MB, free: 6.027 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.001734/0.001734, allocations: 208.3 kB / 20.1 MB, free: 3.074 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.562/1.562, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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 1.041/1.041, allocations: 150 MB / 459.5 MB, free: 5.309 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 69.75 kB / 0.6366 GB, free: 30.11 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1738, allocations: 89.13 MB / 0.7237 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002387/0.1762, allocations: 1.101 MB / 0.7248 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00162/0.1778, allocations: 1.145 MB / 0.7259 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.581e-05/0.1779, allocations: 4 kB / 0.7259 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.844e-05/0.178, allocations: 23.67 kB / 0.7259 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.1781, allocations: 43.58 kB / 0.7259 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004949/0.1786, allocations: 150 kB / 0.7261 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003802/0.179, allocations: 331 kB / 0.7264 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.1792, allocations: 36.38 kB / 0.7264 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.1794, allocations: 139.6 kB / 0.7266 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.1797, allocations: 155.3 kB / 0.7267 GB, free: 368 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.302e-05/0.1797, allocations: 32 kB / 0.7267 GB, free: 336 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.323e-05/0.1798, allocations: 32 kB / 0.7268 GB, free: 304 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.123e-05/0.1799, allocations: 75.8 kB / 0.7268 GB, free: 228 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.18, allocations: 135.3 kB / 0.727 GB, free: 92 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003978/0.1804, allocations: 318.8 kB / 0.7273 GB, free: 15.77 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1804, allocations: 0 / 0.7273 GB, free: 15.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1804, allocations: 0 / 0.7273 GB, free: 15.77 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.096e-06/0.1804, allocations: 0 / 0.7273 GB, free: 15.77 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.001369/0.1818, allocations: 0.6351 MB / 0.7279 GB, free: 15.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1818, allocations: 12.02 kB / 0.7279 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003465/0.1822, allocations: 64.7 kB / 0.728 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.1824, allocations: 200.9 kB / 0.7282 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002477/0.1826, allocations: 260.3 kB / 0.7284 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.295e-05/0.1827, allocations: 36.31 kB / 0.7285 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005145/0.1832, allocations: 254.3 kB / 0.7287 GB, free: 14.17 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.1832, allocations: 7.938 kB / 0.7287 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.1833, allocations: 12 kB / 0.7287 GB, free: 14.15 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.1833, allocations: 8 kB / 0.7287 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004408/0.1837, allocations: 171.8 kB / 0.7289 GB, free: 13.97 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.1849, allocations: 0.7775 MB / 0.7296 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000516/0.1854, allocations: 206.1 kB / 0.7298 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/0.1856, allocations: 130.5 kB / 0.73 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.267e-05/0.1857, allocations: 8 kB / 0.73 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005932/0.1863, allocations: 315.7 kB / 0.7303 GB, free: 12.44 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 1.843e-06/0.1863, allocations: 0 / 0.7303 GB, free: 12.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.001085/0.1874, allocations: 498.2 kB / 0.7307 GB, free: 11.95 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.278e-05/0.1875, allocations: 114.8 kB / 0.7309 GB, free: 11.81 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.1876, allocations: 175.4 kB / 0.731 GB, free: 11.63 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/0.1877, allocations: 37.7 kB / 0.7311 GB, free: 11.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.747e-05/0.1878, allocations: 125.4 kB / 0.7312 GB, free: 11.46 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.1879, allocations: 154.8 kB / 0.7313 GB, free: 11.31 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.1881, allocations: 110.3 kB / 0.7314 GB, free: 11.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1882, allocations: 338.8 kB / 0.7318 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/0.1886, allocations: 145.2 kB / 0.7319 GB, free: 10.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003989/0.189, allocations: 260.7 kB / 0.7321 GB, free: 10.42 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006898/0.1897, allocations: 398.1 kB / 0.7325 GB, free: 9.996 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1897, allocations: 0 / 0.7325 GB, free: 9.996 MB / 0.545 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008836/0.1905, allocations: 485 kB / 0.733 GB, free: 9.516 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1906, allocations: 11.94 kB / 0.733 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.1906, allocations: 4 kB / 0.733 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.1906, allocations: 4 kB / 0.733 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/0.191, allocations: 103.8 kB / 0.7331 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.191, allocations: 4 kB / 0.7331 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/0.1913, allocations: 63.69 kB / 0.7332 GB, free: 9.328 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.1913, allocations: 20 kB / 0.7332 GB, free: 9.309 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.0001714/0.1915, allocations: 163.4 kB / 0.7333 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/0.1915, allocations: 31.8 kB / 0.7334 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.869e-05/0.1916, allocations: 33.86 kB / 0.7334 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.1916, allocations: 4 kB / 0.7334 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.1916, allocations: 4 kB / 0.7334 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1916, allocations: 0 / 0.7334 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003909/0.192, allocations: 357.2 kB / 0.7338 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.192, allocations: 0 / 0.7338 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004281/0.1924, allocations: 75.89 kB / 0.7338 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.1925, allocations: 3.938 kB / 0.7338 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-05/0.1925, allocations: 19.98 kB / 0.7338 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1925, allocations: 4 kB / 0.7339 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1925, allocations: 4 kB / 0.7339 GB, free: 8.559 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.1936, allocations: 0.5785 MB / 0.7344 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-05/0.1937, allocations: 109 kB / 0.7345 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.271e-05/0.1937, allocations: 19.92 kB / 0.7345 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.194, allocations: 31.95 kB / 0.7346 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.1941, allocations: 51.94 kB / 0.7346 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.494e-05/0.1941, allocations: 24.05 kB / 0.7346 GB, free: 7.707 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001009/0.1942, allocations: 120.1 kB / 0.7348 GB, free: 7.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1942, allocations: 0 / 0.7348 GB, free: 7.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003348/0.1946, allocations: 76 kB / 0.7348 GB, free: 7.516 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.0001818/0.1947, allocations: 129.2 kB / 0.735 GB, free: 7.383 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007649/0.1955, allocations: 360.5 kB / 0.7353 GB, free: 7.031 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.1955, allocations: 8 kB / 0.7353 GB, free: 7.023 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003791/0.1959, allocations: 179.7 kB / 0.7355 GB, free: 6.848 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.1962, allocations: 59.81 kB / 0.7355 GB, free: 6.793 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.1974, allocations: 0.6134 MB / 0.7361 GB, free: 6.145 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.1978, allocations: 0.7646 MB / 0.7369 GB, free: 5.355 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001382/0.1979, allocations: 38.97 kB / 0.7369 GB, free: 5.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.1981, allocations: 47.36 kB / 0.737 GB, free: 5.273 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.1981, allocations: 0 / 0.737 GB, free: 5.273 MB / 0.545 GB Notification: Performance of Templates: time 0.008327/0.2064, allocations: 3.955 MB / 0.7408 GB, free: 1.344 MB / 0.545 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.5118985248263925] Failed to read output from testmodel.py, exit status != 0: 0.21366408211179078 0.227522421 0.044409747 Calling exit ...