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.001316/0.001316, allocations: 105 kB / 20.45 MB, free: 1.5 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.001411/0.001411, allocations: 219.1 kB / 23.76 MB, free: 4.711 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.518/1.518, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.9762/0.9762, allocations: 150 MB / 463.9 MB, free: 10.47 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.002058/0.002058, allocations: 68.2 kB / 0.6425 GB, free: 9.895 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1896, allocations: 89.17 MB / 0.7296 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001994/0.1916, allocations: 0.66 MB / 0.7302 GB, free: 128 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1931, allocations: 1.112 MB / 0.7313 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.472e-05/0.1931, allocations: 0 / 0.7313 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.187e-05/0.1932, allocations: 3.938 kB / 0.7313 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.707e-05/0.1932, allocations: 7.938 kB / 0.7313 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.1935, allocations: 47.77 kB / 0.7313 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.1936, allocations: 43.91 kB / 0.7314 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.1937, allocations: 8 kB / 0.7314 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.1938, allocations: 19.92 kB / 0.7314 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.437e-05/0.1939, allocations: 19.92 kB / 0.7314 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.1939, allocations: 4 kB / 0.7314 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.541e-05/0.194, allocations: 31.97 kB / 0.7315 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.001e-05/0.194, allocations: 7.984 kB / 0.7315 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.194, allocations: 19.88 kB / 0.7315 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.1942, allocations: 67.7 kB / 0.7316 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1942, allocations: 0 / 0.7316 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1942, allocations: 0 / 0.7316 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1942, allocations: 7.938 kB / 0.7316 GB, free: 14.71 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.0005985/0.1948, allocations: 286.2 kB / 0.7318 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1948, allocations: 8.031 kB / 0.7318 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.876e-05/0.1949, allocations: 8.938 kB / 0.7319 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.1951, allocations: 118.4 kB / 0.732 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.1951, allocations: 384 / 0.732 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.1951, allocations: 8.375 kB / 0.732 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.1953, allocations: 58.23 kB / 0.732 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1953, allocations: 192 / 0.732 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.1953, allocations: 11.88 kB / 0.732 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1953, allocations: 3.938 kB / 0.732 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.1955, allocations: 43.95 kB / 0.7321 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005324/0.196, allocations: 252 kB / 0.7323 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.1962, allocations: 50.48 kB / 0.7324 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.996e-05/0.1963, allocations: 32.95 kB / 0.7324 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.1963, allocations: 4 kB / 0.7324 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.1965, allocations: 83.31 kB / 0.7325 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1965, allocations: 0 / 0.7325 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0003965/0.1969, allocations: 113.6 kB / 0.7326 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.1969, allocations: 55.41 kB / 0.7327 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.197, allocations: 105.8 kB / 0.7328 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.1971, allocations: 33.7 kB / 0.7328 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.073e-05/0.1971, allocations: 84.12 kB / 0.7329 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.1971, allocations: 23.78 kB / 0.7329 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/0.1972, allocations: 21.7 kB / 0.7329 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1973, allocations: 318.8 kB / 0.7332 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.1974, allocations: 27.97 kB / 0.7332 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.1976, allocations: 56.28 kB / 0.7333 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.1978, allocations: 92.12 kB / 0.7334 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1978, allocations: 0 / 0.7334 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002697/0.1981, allocations: 117.5 kB / 0.7335 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1981, allocations: 4 kB / 0.7335 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1981, allocations: 4.156 kB / 0.7335 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.1981, allocations: 7.984 kB / 0.7335 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.1982, allocations: 19.92 kB / 0.7335 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.1982, allocations: 0 / 0.7335 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.738e-05/0.1983, allocations: 7.984 kB / 0.7335 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.1983, allocations: 4 kB / 0.7335 GB, free: 12.47 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.000105/0.1984, allocations: 121.7 kB / 0.7337 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.1984, allocations: 7.953 kB / 0.7337 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.1987, allocations: 102 kB / 0.7338 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.1987, allocations: 4 kB / 0.7338 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1987, allocations: 0 / 0.7338 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1987, allocations: 0 / 0.7338 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005471/0.1992, allocations: 325.6 kB / 0.7341 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1992, allocations: 192 / 0.7341 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.125e-05/0.1993, allocations: 15.98 kB / 0.7341 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1993, allocations: 3.938 kB / 0.7341 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1993, allocations: 384 / 0.7341 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1993, allocations: 0 / 0.7341 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1993, allocations: 0 / 0.7341 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.1996, allocations: 207.3 kB / 0.7343 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.321e-05/0.1996, allocations: 7.891 kB / 0.7343 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.1996, allocations: 4 kB / 0.7343 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.154e-05/0.1997, allocations: 11.98 kB / 0.7343 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.1997, allocations: 4 kB / 0.7343 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.1998, allocations: 3.938 kB / 0.7343 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.43e-05/0.1998, allocations: 91.27 kB / 0.7344 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1998, allocations: 0 / 0.7344 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002322/0.2001, allocations: 8 kB / 0.7344 GB, free: 11.49 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.0001424/0.2002, allocations: 111.2 kB / 0.7345 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002601/0.2005, allocations: 63.89 kB / 0.7346 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.2005, allocations: 0 / 0.7346 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.2006, allocations: 27.92 kB / 0.7346 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.2008, allocations: 14.22 kB / 0.7346 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.2012, allocations: 168.2 kB / 0.7348 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.2015, allocations: 0.6845 MB / 0.7355 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.2016, allocations: 11.44 kB / 0.7355 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.2016, allocations: 0 / 0.7355 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of Templates: time 0.00263/0.2042, allocations: 0.8911 MB / 0.7363 GB, free: 9.469 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: 7.936998242046684] Failed to read output from testmodel.py, exit status != 0: 0.2131675030104816 0.22808509600000001 0.030648606000000002 Calling exit ...