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.001745/0.001745, allocations: 114.5 kB / 17.13 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.001467/0.001467, allocations: 207.2 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.492/1.492, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9871/0.9871, allocations: 150 MB / 459.5 MB, free: 5.387 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.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.001986/0.001986, allocations: 81.72 kB / 0.6366 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1873, allocations: 89.12 MB / 0.7236 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.002102/0.1894, allocations: 0.6658 MB / 0.7242 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001557/0.1909, allocations: 1.095 MB / 0.7253 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.523e-05/0.191, allocations: 3.938 kB / 0.7253 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/0.191, allocations: 7.984 kB / 0.7253 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.07e-05/0.1911, allocations: 15.86 kB / 0.7253 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.1914, allocations: 35.91 kB / 0.7254 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.1915, allocations: 47.86 kB / 0.7254 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1916, allocations: 11.97 kB / 0.7254 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.75e-05/0.1917, allocations: 23.92 kB / 0.7255 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.44e-05/0.1918, allocations: 15.92 kB / 0.7255 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.1918, allocations: 8 kB / 0.7255 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.669e-05/0.1918, allocations: 19.98 kB / 0.7255 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.558e-05/0.1919, allocations: 15.92 kB / 0.7255 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.602e-05/0.1919, allocations: 15.92 kB / 0.7255 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.1921, allocations: 67.72 kB / 0.7256 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1921, allocations: 0 / 0.7256 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1921, allocations: 4 kB / 0.7256 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.1921, allocations: 3.938 kB / 0.7256 GB, free: 1.566 MB / 0.5294 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.0006363/0.1927, allocations: 363.3 kB / 0.7259 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.1927, allocations: 8.031 kB / 0.726 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.004e-05/0.1928, allocations: 4.938 kB / 0.726 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.193, allocations: 180.2 kB / 0.7261 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.193, allocations: 384 / 0.7261 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.193, allocations: 12.38 kB / 0.7261 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.1932, allocations: 58.23 kB / 0.7262 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1932, allocations: 192 / 0.7262 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.1933, allocations: 7.922 kB / 0.7262 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.1933, allocations: 4 kB / 0.7262 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/0.1935, allocations: 35.91 kB / 0.7262 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005404/0.194, allocations: 288.9 kB / 0.7265 GB, free: 488 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.1942, allocations: 50.48 kB / 0.7266 GB, free: 428 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.1943, allocations: 28.97 kB / 0.7266 GB, free: 396 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.1943, allocations: 8 kB / 0.7266 GB, free: 388 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002345/0.1945, allocations: 79.3 kB / 0.7267 GB, free: 296 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1945, allocations: 0 / 0.7267 GB, free: 296 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0004327/0.195, allocations: 125.6 kB / 0.7268 GB, free: 164 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.195, allocations: 51.41 kB / 0.7268 GB, free: 100 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.1951, allocations: 105.8 kB / 0.7269 GB, free: 15.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.1952, allocations: 25.7 kB / 0.727 GB, free: 15.95 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.44e-05/0.1952, allocations: 92.14 kB / 0.7271 GB, free: 15.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.1952, allocations: 15.84 kB / 0.7271 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.677e-05/0.1953, allocations: 29.64 kB / 0.7271 GB, free: 15.81 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1955, allocations: 322.8 kB / 0.7274 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.1956, allocations: 23.97 kB / 0.7274 GB, free: 15.46 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.1957, allocations: 64.2 kB / 0.7275 GB, free: 15.38 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.1959, allocations: 88.14 kB / 0.7276 GB, free: 15.28 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1959, allocations: 4 kB / 0.7276 GB, free: 15.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002896/0.1962, allocations: 113.5 kB / 0.7277 GB, free: 15.16 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1962, allocations: 8 kB / 0.7277 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1962, allocations: 256 / 0.7277 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.1963, allocations: 4 kB / 0.7277 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.1964, allocations: 15.98 kB / 0.7277 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1964, allocations: 8.156 kB / 0.7277 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.028e-05/0.1965, allocations: 7.984 kB / 0.7277 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.1965, allocations: 4 kB / 0.7277 GB, free: 15.11 MB / 0.545 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.0001112/0.1966, allocations: 123.4 kB / 0.7279 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.1966, allocations: 7.953 kB / 0.7279 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003045/0.1969, allocations: 98.02 kB / 0.728 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1969, allocations: 0 / 0.728 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.1969, allocations: 7.984 kB / 0.728 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1969, allocations: 0 / 0.728 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004906/0.1974, allocations: 350.5 kB / 0.7283 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1974, allocations: 0 / 0.7283 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.887e-05/0.1975, allocations: 7.984 kB / 0.7283 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.1975, allocations: 4 kB / 0.7283 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.1975, allocations: 0 / 0.7283 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1975, allocations: 0 / 0.7283 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1975, allocations: 4 kB / 0.7283 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.1978, allocations: 199.5 kB / 0.7285 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.278e-05/0.1979, allocations: 89 kB / 0.7286 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.1979, allocations: 3.938 kB / 0.7286 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.505e-05/0.198, allocations: 11.98 kB / 0.7286 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.198, allocations: 7.984 kB / 0.7286 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.198, allocations: 8.125 kB / 0.7286 GB, free: 14.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.136e-05/0.1981, allocations: 83.28 kB / 0.7287 GB, free: 14.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1981, allocations: 0 / 0.7287 GB, free: 14.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000255/0.1983, allocations: 12 kB / 0.7287 GB, free: 14 MB / 0.545 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.0001766/0.1985, allocations: 103.2 kB / 0.7288 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002945/0.1988, allocations: 75.95 kB / 0.7289 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1988, allocations: 0 / 0.7289 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.1989, allocations: 27.97 kB / 0.7289 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.1992, allocations: 8 kB / 0.7289 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003622/0.1995, allocations: 145.9 kB / 0.7291 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.1999, allocations: 0.6809 MB / 0.7297 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.849e-05/0.1999, allocations: 8 kB / 0.7297 GB, free: 12.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.1999, allocations: 15.42 kB / 0.7297 GB, free: 12.89 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.1999, allocations: 0 / 0.7297 GB, free: 12.89 MB / 0.545 GB Notification: Performance of Templates: time 0.003558/0.2035, allocations: 0.8085 MB / 0.7305 GB, free: 12.09 MB / 0.545 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.850225477013737] Failed to read output from testmodel.py, exit status != 0: 0.212088983040303 0.23303926900000002 0.036786448 Calling exit ...