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.001456/0.001456, allocations: 119 kB / 19.69 MB, free: 2.199 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.001829/0.001829, allocations: 221.6 kB / 23.01 MB, free: 5.047 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.9677/0.9677, allocations: 150 MB / 463.1 MB, free: 10.52 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.002908/0.002908, allocations: 62.72 kB / 0.6417 GB, free: 9.945 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2181, allocations: 89.17 MB / 0.7288 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.002458/0.2206, allocations: 0.665 MB / 0.7294 GB, free: 168 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001946/0.2225, allocations: 1.104 MB / 0.7305 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.2226, allocations: 3.938 kB / 0.7305 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.545e-05/0.2226, allocations: 7.875 kB / 0.7305 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.878e-05/0.2227, allocations: 7.938 kB / 0.7305 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004173/0.2232, allocations: 43.83 kB / 0.7306 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.2233, allocations: 47.92 kB / 0.7306 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.2234, allocations: 11.98 kB / 0.7306 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.481e-05/0.2235, allocations: 19.88 kB / 0.7307 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.523e-05/0.2236, allocations: 19.91 kB / 0.7307 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.2236, allocations: 4 kB / 0.7307 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.335e-05/0.2237, allocations: 31.97 kB / 0.7307 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.2237, allocations: 4 kB / 0.7307 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.706e-05/0.2237, allocations: 23.86 kB / 0.7307 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.2239, allocations: 59.78 kB / 0.7308 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2239, allocations: 3.938 kB / 0.7308 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2239, allocations: 4 kB / 0.7308 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2239, allocations: 0 / 0.7308 GB, free: 14.76 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.0006215/0.2245, allocations: 286.2 kB / 0.7311 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.2246, allocations: 8.031 kB / 0.7311 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.279e-05/0.2247, allocations: 8.938 kB / 0.7311 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.2248, allocations: 114.4 kB / 0.7312 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.2248, allocations: 4.312 kB / 0.7312 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.2248, allocations: 8.359 kB / 0.7312 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.225, allocations: 62.23 kB / 0.7313 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.2251, allocations: 192 / 0.7313 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.2251, allocations: 7.938 kB / 0.7313 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.2251, allocations: 0 / 0.7313 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.2253, allocations: 43.95 kB / 0.7313 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000517/0.2258, allocations: 248 kB / 0.7316 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.226, allocations: 62.42 kB / 0.7316 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.778e-05/0.2261, allocations: 28.95 kB / 0.7317 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.2261, allocations: 0 / 0.7317 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002249/0.2263, allocations: 71.39 kB / 0.7317 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.2263, allocations: 4 kB / 0.7317 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0004419/0.2267, allocations: 121.5 kB / 0.7318 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.2268, allocations: 51.41 kB / 0.7319 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.2269, allocations: 109.8 kB / 0.732 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.2269, allocations: 29.7 kB / 0.732 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.227, allocations: 84.14 kB / 0.7321 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.227, allocations: 23.83 kB / 0.7321 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-05/0.2271, allocations: 21.72 kB / 0.7321 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.2273, allocations: 318.8 kB / 0.7324 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.2274, allocations: 19.98 kB / 0.7325 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.2275, allocations: 64.45 kB / 0.7325 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.2277, allocations: 104.1 kB / 0.7326 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2277, allocations: 0 / 0.7326 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003239/0.228, allocations: 113.5 kB / 0.7327 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.2281, allocations: 4 kB / 0.7327 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.2281, allocations: 3.938 kB / 0.7327 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.2281, allocations: 4 kB / 0.7327 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.2282, allocations: 19.92 kB / 0.7328 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.2282, allocations: 0 / 0.7328 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.274e-05/0.2283, allocations: 8.156 kB / 0.7328 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.2283, allocations: 11.98 kB / 0.7328 GB, free: 12.51 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.0001171/0.2284, allocations: 119.8 kB / 0.7329 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.2285, allocations: 7.953 kB / 0.7329 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002863/0.2287, allocations: 102 kB / 0.733 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.2287, allocations: 0 / 0.733 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2287, allocations: 4 kB / 0.733 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2288, allocations: 0 / 0.733 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004827/0.2292, allocations: 329.6 kB / 0.7333 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2292, allocations: 0 / 0.7333 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.493e-05/0.2293, allocations: 15.92 kB / 0.7333 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.2293, allocations: 0 / 0.7333 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.2293, allocations: 0 / 0.7333 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2293, allocations: 0 / 0.7333 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2293, allocations: 0 / 0.7333 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.2296, allocations: 195.4 kB / 0.7335 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.369e-05/0.2296, allocations: 15.88 kB / 0.7335 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.2296, allocations: 192 / 0.7335 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.449e-05/0.2297, allocations: 8 kB / 0.7335 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.2298, allocations: 7.984 kB / 0.7336 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.2298, allocations: 7.938 kB / 0.7336 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.242e-05/0.2298, allocations: 91.27 kB / 0.7337 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2298, allocations: 0 / 0.7337 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002474/0.2301, allocations: 12 kB / 0.7337 GB, free: 11.54 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.0001466/0.2302, allocations: 103.4 kB / 0.7338 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000258/0.2305, allocations: 75.81 kB / 0.7338 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2305, allocations: 320 / 0.7338 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.2306, allocations: 27.98 kB / 0.7339 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.2309, allocations: 7.984 kB / 0.7339 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003671/0.2312, allocations: 138.2 kB / 0.734 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.2316, allocations: 0.6884 MB / 0.7347 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.315e-05/0.2316, allocations: 7.938 kB / 0.7347 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.2316, allocations: 15.44 kB / 0.7347 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.2316, allocations: 0 / 0.7347 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of Templates: time 0.003651/0.2353, allocations: 0.8142 MB / 0.7355 GB, free: 9.609 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.834462337195873] Failed to read output from testmodel.py, exit status != 0: 0.24633642099797726 0.259638048 0.032569378 Calling exit ...