Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.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.001372/0.001372, allocations: 103.7 kB / 20.5 MB, free: 1.34 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.001522/0.001522, allocations: 216.6 kB / 23.8 MB, free: 4.484 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.444/1.444, allocations: 230.6 MB / 257.6 MB, free: 7.785 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.9628/0.9628, allocations: 150 MB / 464 MB, free: 10.23 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.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [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.00209/0.00209, allocations: 70.95 kB / 0.6425 GB, free: 9.395 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1839, allocations: 89.17 MB / 0.7296 GB, free: 296 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001908/0.1858, allocations: 0.6452 MB / 0.7302 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.1871, allocations: 1.089 MB / 0.7313 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.424e-05/0.1872, allocations: 0 / 0.7313 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.574e-05/0.1872, allocations: 7.938 kB / 0.7313 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.949e-05/0.1873, allocations: 3.938 kB / 0.7313 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.1875, allocations: 47.83 kB / 0.7313 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.918e-05/0.1876, allocations: 47.86 kB / 0.7314 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.055e-05/0.1877, allocations: 7.984 kB / 0.7314 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.868e-05/0.1878, allocations: 15.98 kB / 0.7314 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.916e-05/0.1878, allocations: 27.84 kB / 0.7314 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.1879, allocations: 4 kB / 0.7314 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.838e-05/0.1879, allocations: 19.98 kB / 0.7314 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.012e-05/0.1879, allocations: 8 kB / 0.7314 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.371e-05/0.188, allocations: 19.92 kB / 0.7315 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.1881, allocations: 67.66 kB / 0.7315 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1881, allocations: 0 / 0.7315 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1881, allocations: 0 / 0.7315 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.1881, allocations: 0 / 0.7315 GB, free: 14.27 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005309/0.1887, allocations: 290.2 kB / 0.7318 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.1887, allocations: 8.031 kB / 0.7318 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.143e-05/0.1888, allocations: 4.938 kB / 0.7318 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.1889, allocations: 118.4 kB / 0.7319 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.1889, allocations: 4.375 kB / 0.7319 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.1889, allocations: 12.38 kB / 0.7319 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.1891, allocations: 58.22 kB / 0.732 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1891, allocations: 8.125 kB / 0.732 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.1891, allocations: 7.938 kB / 0.732 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1891, allocations: 7.938 kB / 0.732 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.1893, allocations: 35.95 kB / 0.7321 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.1898, allocations: 216.6 kB / 0.7323 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.1899, allocations: 58.53 kB / 0.7323 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.19, allocations: 36.89 kB / 0.7324 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.1901, allocations: 3.938 kB / 0.7324 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001882/0.1903, allocations: 67.39 kB / 0.7324 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1903, allocations: 0 / 0.7324 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0004168/0.1907, allocations: 121.6 kB / 0.7325 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.1907, allocations: 55.41 kB / 0.7326 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.56e-05/0.1908, allocations: 105.8 kB / 0.7327 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.1908, allocations: 29.7 kB / 0.7327 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/0.1909, allocations: 92.02 kB / 0.7328 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.1909, allocations: 19.91 kB / 0.7328 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.1909, allocations: 21.72 kB / 0.7329 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.1911, allocations: 322.8 kB / 0.7332 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.1912, allocations: 19.98 kB / 0.7332 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.1913, allocations: 64.27 kB / 0.7332 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.1915, allocations: 84.19 kB / 0.7333 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1915, allocations: 0 / 0.7333 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002976/0.1918, allocations: 125.4 kB / 0.7334 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1919, allocations: 4.625 kB / 0.7334 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.1919, allocations: 4 kB / 0.7334 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1919, allocations: 0 / 0.7334 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.192, allocations: 15.98 kB / 0.7335 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.192, allocations: 0 / 0.7335 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.994e-05/0.1921, allocations: 8 kB / 0.7335 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.1921, allocations: 11.98 kB / 0.7335 GB, free: 12.06 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (unitDelay1.u_internal,$PRE.unitDelay1.u_internal,unitDelay1.y,$PRE.unitDelay1.y,unitDelay1.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001004/0.1922, allocations: 121.9 kB / 0.7336 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.1922, allocations: 7.891 kB / 0.7336 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002796/0.1925, allocations: 106 kB / 0.7337 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1925, allocations: 0 / 0.7337 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1925, allocations: 0 / 0.7337 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.1925, allocations: 7.953 kB / 0.7337 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.1925, allocations: 320 / 0.7337 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.824e-05/0.1926, allocations: 7.984 kB / 0.7337 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.1926, allocations: 16.11 kB / 0.7337 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003454/0.193, allocations: 180.9 kB / 0.7339 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003292/0.1933, allocations: 262.7 kB / 0.7342 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001064/0.1934, allocations: 27.97 kB / 0.7342 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.067e-05/0.1935, allocations: 91.2 kB / 0.7343 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of Backend: time 3.51e-07/0.1935, allocations: 0 / 0.7343 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004705/0.1939, allocations: 122.3 kB / 0.7344 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0005799/0.1945, allocations: 0.5849 MB / 0.735 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of Templates: time 0.004134/0.1986, allocations: 1.047 MB / 0.736 GB, free: 9.43 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.602548801107332] Failed to read output from testmodel.py, exit status != 0: 0.2071493819821626 0.221397643 0.030223947 Calling exit ...