Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.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.00144/0.00144, allocations: 99.77 kB / 20.49 MB, free: 1.324 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.001349/0.001349, allocations: 217 kB / 23.79 MB, free: 4.465 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.424/1.424, allocations: 230.6 MB / 257.6 MB, free: 7.746 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 0.929/0.929, allocations: 150 MB / 464 MB, free: 10.66 MB / 366.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_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [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.001943/0.001943, allocations: 62.56 kB / 0.6425 GB, free: 9.391 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1682, allocations: 89.18 MB / 0.7296 GB, free: 284 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003012/0.1712, allocations: 1.897 MB / 0.7315 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.1724, allocations: 0.6934 MB / 0.7322 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.396e-05/0.1724, allocations: 4 kB / 0.7322 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.461e-05/0.1725, allocations: 27.67 kB / 0.7322 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.1726, allocations: 39.58 kB / 0.7322 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.1731, allocations: 173.4 kB / 0.7324 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003554/0.1734, allocations: 327.1 kB / 0.7327 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.1736, allocations: 36.92 kB / 0.7328 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002201/0.1738, allocations: 139.6 kB / 0.7329 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.174, allocations: 139.3 kB / 0.733 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.427e-05/0.174, allocations: 32 kB / 0.733 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.163e-05/0.1741, allocations: 39.98 kB / 0.7331 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.314e-05/0.1742, allocations: 71.75 kB / 0.7332 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.1743, allocations: 119.5 kB / 0.7333 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.1747, allocations: 318.7 kB / 0.7336 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1747, allocations: 0 / 0.7336 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1747, allocations: 3.938 kB / 0.7336 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.1747, allocations: 0 / 0.7336 GB, free: 12.22 MB / 0.5606 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.00121/0.1759, allocations: 0.5599 MB / 0.7341 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.1759, allocations: 11.97 kB / 0.7341 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003369/0.1763, allocations: 60.72 kB / 0.7342 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.1766, allocations: 195.3 kB / 0.7344 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000345/0.1769, allocations: 495.6 kB / 0.7349 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.502e-05/0.177, allocations: 36.31 kB / 0.7349 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005119/0.1775, allocations: 269.8 kB / 0.7351 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.1775, allocations: 0 / 0.7351 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.1776, allocations: 8 kB / 0.7352 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.1776, allocations: 4 kB / 0.7352 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004341/0.178, allocations: 187.2 kB / 0.7353 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.179, allocations: 0.6526 MB / 0.736 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005049/0.1795, allocations: 187.7 kB / 0.7361 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002687/0.1798, allocations: 138.5 kB / 0.7363 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.1798, allocations: 4 kB / 0.7363 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00052/0.1803, allocations: 319.8 kB / 0.7366 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 1.974e-06/0.1803, allocations: 0 / 0.7366 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.001084/0.1814, allocations: 488.5 kB / 0.7371 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/0.1815, allocations: 122.8 kB / 0.7372 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.1817, allocations: 182.2 kB / 0.7373 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.1817, allocations: 37.7 kB / 0.7374 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.571e-05/0.1818, allocations: 125.3 kB / 0.7375 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.1819, allocations: 154.8 kB / 0.7376 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.1821, allocations: 102.3 kB / 0.7377 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1823, allocations: 342.8 kB / 0.7381 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003158/0.1826, allocations: 145.2 kB / 0.7382 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003912/0.183, allocations: 260.6 kB / 0.7385 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006738/0.1836, allocations: 394.1 kB / 0.7388 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1836, allocations: 0 / 0.7388 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008804/0.1845, allocations: 0.4898 MB / 0.7393 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.1845, allocations: 7.938 kB / 0.7393 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1845, allocations: 4 kB / 0.7393 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.1846, allocations: 4 kB / 0.7393 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/0.185, allocations: 103.8 kB / 0.7394 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.185, allocations: 4 kB / 0.7394 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.1852, allocations: 59.73 kB / 0.7395 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/0.1853, allocations: 27.94 kB / 0.7395 GB, free: 5.727 MB / 0.5606 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.0001667/0.1854, allocations: 151.5 kB / 0.7397 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-05/0.1855, allocations: 35.75 kB / 0.7397 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.782e-05/0.1856, allocations: 37.95 kB / 0.7397 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.1856, allocations: 8 kB / 0.7397 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1856, allocations: 0 / 0.7397 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-06/0.1856, allocations: 4.047 kB / 0.7397 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003077/0.1859, allocations: 245 kB / 0.74 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1859, allocations: 0 / 0.74 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004164/0.1863, allocations: 75.89 kB / 0.74 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.1863, allocations: 4 kB / 0.7401 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.202e-05/0.1864, allocations: 11.94 kB / 0.7401 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.1864, allocations: 4 kB / 0.7401 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1864, allocations: 7.938 kB / 0.7401 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.1875, allocations: 0.5861 MB / 0.7406 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.505e-05/0.1875, allocations: 27.78 kB / 0.7407 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.057e-05/0.1875, allocations: 15.94 kB / 0.7407 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.1878, allocations: 27.97 kB / 0.7407 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.1879, allocations: 59.91 kB / 0.7408 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.1879, allocations: 19.98 kB / 0.7408 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001077/0.188, allocations: 132.3 kB / 0.7409 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.188, allocations: 0 / 0.7409 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003182/0.1884, allocations: 83.94 kB / 0.741 GB, free: 4.137 MB / 0.5606 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.0001395/0.1885, allocations: 114.5 kB / 0.7411 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007354/0.1892, allocations: 366.6 kB / 0.7415 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1892, allocations: 0 / 0.7415 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003846/0.1896, allocations: 184.5 kB / 0.7416 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.1899, allocations: 41.84 kB / 0.7417 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.1912, allocations: 0.6266 MB / 0.7423 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.1913, allocations: 160.2 kB / 0.7424 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001404/0.1915, allocations: 51.09 kB / 0.7425 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.1916, allocations: 35.44 kB / 0.7425 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.1916, allocations: 0 / 0.7425 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of Templates: time 0.008892/0.2005, allocations: 4.228 MB / 0.7466 GB, free: 14.37 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.615345604950562] Failed to read output from testmodel.py, exit status != 0: 0.20869934698566794 0.222267776 0.044731402 Calling exit ...