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.001712/0.001712, allocations: 103.8 kB / 20.49 MB, free: 1.316 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.002189/0.002189, allocations: 213.2 kB / 23.79 MB, free: 4.453 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.416/1.416, allocations: 230.6 MB / 257.6 MB, free: 7.793 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.9445/0.9445, allocations: 150 MB / 464 MB, free: 10.21 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.002017/0.002017, allocations: 70.89 kB / 0.6425 GB, free: 9.336 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1804, allocations: 89.18 MB / 0.7296 GB, free: 236 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.002078/0.1824, allocations: 0.6368 MB / 0.7302 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.184, allocations: 1.093 MB / 0.7313 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.122e-05/0.184, allocations: 3.938 kB / 0.7313 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.207e-05/0.184, allocations: 0 / 0.7313 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.901e-05/0.1841, allocations: 7.875 kB / 0.7313 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.1844, allocations: 43.89 kB / 0.7313 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.1845, allocations: 47.8 kB / 0.7314 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.728e-05/0.1846, allocations: 11.98 kB / 0.7314 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.443e-05/0.1847, allocations: 23.91 kB / 0.7314 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.62e-05/0.1847, allocations: 15.92 kB / 0.7314 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.1847, allocations: 8 kB / 0.7314 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.639e-05/0.1848, allocations: 19.98 kB / 0.7314 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/0.1848, allocations: 11.94 kB / 0.7315 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/0.1848, allocations: 19.92 kB / 0.7315 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.185, allocations: 59.78 kB / 0.7315 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.185, allocations: 0 / 0.7315 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.185, allocations: 0 / 0.7315 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.185, allocations: 0 / 0.7315 GB, free: 14.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005191/0.1855, allocations: 294 kB / 0.7318 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.1856, allocations: 8.031 kB / 0.7318 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.107e-05/0.1856, allocations: 12.94 kB / 0.7318 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.1857, allocations: 118.4 kB / 0.7319 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.1857, allocations: 384 / 0.7319 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.1858, allocations: 4.375 kB / 0.7319 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.186, allocations: 62.22 kB / 0.732 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.186, allocations: 4.172 kB / 0.732 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.186, allocations: 7.938 kB / 0.732 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.186, allocations: 0 / 0.732 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.1862, allocations: 47.95 kB / 0.7321 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.1866, allocations: 216.5 kB / 0.7323 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.1868, allocations: 50.55 kB / 0.7323 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.1869, allocations: 32.89 kB / 0.7323 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.1869, allocations: 0 / 0.7323 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.1871, allocations: 75.33 kB / 0.7324 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1871, allocations: 4 kB / 0.7324 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0003992/0.1875, allocations: 121.6 kB / 0.7325 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.1875, allocations: 51.41 kB / 0.7326 GB, free: 13 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.813e-05/0.1876, allocations: 105.8 kB / 0.7327 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.1876, allocations: 29.7 kB / 0.7327 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.483e-05/0.1877, allocations: 84.14 kB / 0.7328 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.1877, allocations: 27.89 kB / 0.7328 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.1878, allocations: 21.72 kB / 0.7328 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1879, allocations: 322.8 kB / 0.7332 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.943e-05/0.188, allocations: 23.98 kB / 0.7332 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.1881, allocations: 60.14 kB / 0.7332 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/0.1883, allocations: 96.19 kB / 0.7333 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1883, allocations: 0 / 0.7333 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002784/0.1886, allocations: 113.4 kB / 0.7334 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1886, allocations: 8 kB / 0.7334 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1886, allocations: 256 / 0.7334 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1887, allocations: 4 kB / 0.7334 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.1888, allocations: 19.98 kB / 0.7335 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1888, allocations: 8.156 kB / 0.7335 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.518e-05/0.1888, allocations: 4 kB / 0.7335 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.1889, allocations: 11.92 kB / 0.7335 GB, free: 12.01 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 9.357e-05/0.1889, allocations: 121.7 kB / 0.7336 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.189, allocations: 7.953 kB / 0.7336 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.1892, allocations: 98.02 kB / 0.7337 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1892, allocations: 0 / 0.7337 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1892, allocations: 4 kB / 0.7337 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1892, allocations: 4 kB / 0.7337 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004077/0.1897, allocations: 294.1 kB / 0.734 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1897, allocations: 0 / 0.734 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.657e-05/0.1897, allocations: 7.984 kB / 0.734 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1897, allocations: 4 kB / 0.734 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.1897, allocations: 0 / 0.734 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1897, allocations: 0 / 0.734 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1897, allocations: 3.984 kB / 0.734 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.19, allocations: 203.3 kB / 0.7342 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.19, allocations: 7.891 kB / 0.7342 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.1901, allocations: 0 / 0.7342 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.398e-05/0.1901, allocations: 7.984 kB / 0.7342 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.1902, allocations: 7.984 kB / 0.7342 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.1902, allocations: 0 / 0.7342 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.099e-05/0.1902, allocations: 87.59 kB / 0.7343 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1902, allocations: 0 / 0.7343 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002437/0.1905, allocations: 12 kB / 0.7343 GB, free: 11.09 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (unitDelay1.sampleTrigger,$whenCondition1,unitDelay1.y,unitDelay1.u_internal) * Number of discrete states: 1 (unitDelay1.u_internal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001308/0.1906, allocations: 103.2 kB / 0.7344 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002644/0.1909, allocations: 72.02 kB / 0.7345 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1909, allocations: 0 / 0.7345 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.191, allocations: 32.16 kB / 0.7345 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.1912, allocations: 8.172 kB / 0.7345 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003152/0.1915, allocations: 150.4 kB / 0.7347 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.359e-05/0.1916, allocations: 67.34 kB / 0.7347 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.705e-05/0.1916, allocations: 3.984 kB / 0.7347 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.1917, allocations: 15.42 kB / 0.7347 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.1917, allocations: 0 / 0.7347 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of Templates: time 0.003446/0.1951, allocations: 0.8395 MB / 0.7356 GB, free: 9.762 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.405029844958335] Failed to read output from testmodel.py, exit status != 0: 0.20335952285677195 0.217143256 0.029271511000000004 Calling exit ...