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.001338/0.001338, allocations: 71.77 kB / 20.51 MB, free: 1.125 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.001517/0.001517, allocations: 163.8 kB / 23.76 MB, free: 4.195 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.419/1.419, allocations: 177.2 MB / 204.1 MB, free: 8.91 MB / 190.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.9878/0.9878, allocations: 113.9 MB / 374.5 MB, free: 12.86 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.002039/0.002039, allocations: 68.67 kB / 0.555 GB, free: 2.738 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1722, allocations: 89.16 MB / 0.6421 GB, free: 9.539 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001834/0.174, allocations: 0.6271 MB / 0.6427 GB, free: 8.914 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.1754, allocations: 1.089 MB / 0.6438 GB, free: 7.812 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.788e-05/0.1755, allocations: 11.88 kB / 0.6438 GB, free: 7.801 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.2e-05/0.1755, allocations: 0 / 0.6438 GB, free: 7.801 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.66e-05/0.1756, allocations: 7.875 kB / 0.6438 GB, free: 7.793 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.1758, allocations: 39.89 kB / 0.6438 GB, free: 7.754 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.341e-05/0.1759, allocations: 47.86 kB / 0.6439 GB, free: 7.707 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.511e-05/0.176, allocations: 11.98 kB / 0.6439 GB, free: 7.695 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.983e-05/0.1761, allocations: 19.91 kB / 0.6439 GB, free: 7.676 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.835e-05/0.1761, allocations: 19.92 kB / 0.6439 GB, free: 7.656 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.1761, allocations: 4 kB / 0.6439 GB, free: 7.652 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.869e-05/0.1762, allocations: 19.98 kB / 0.6439 GB, free: 7.633 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.1762, allocations: 15.94 kB / 0.644 GB, free: 7.617 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.874e-05/0.1763, allocations: 19.91 kB / 0.644 GB, free: 7.598 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.1764, allocations: 59.73 kB / 0.644 GB, free: 7.539 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1764, allocations: 0 / 0.644 GB, free: 7.539 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1764, allocations: 0 / 0.644 GB, free: 7.539 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.1764, allocations: 0 / 0.644 GB, free: 7.539 MB / 0.545 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.0005113/0.1769, allocations: 290.2 kB / 0.6443 GB, free: 7.223 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.177, allocations: 11.97 kB / 0.6443 GB, free: 7.211 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.003e-05/0.177, allocations: 4.938 kB / 0.6443 GB, free: 7.207 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.1771, allocations: 118.4 kB / 0.6444 GB, free: 7.066 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.1772, allocations: 8.375 kB / 0.6444 GB, free: 7.059 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.1772, allocations: 4.375 kB / 0.6444 GB, free: 7.055 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.1774, allocations: 62.22 kB / 0.6445 GB, free: 6.988 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1774, allocations: 192 / 0.6445 GB, free: 6.988 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1774, allocations: 11.88 kB / 0.6445 GB, free: 6.977 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1774, allocations: 0 / 0.6445 GB, free: 6.977 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000182/0.1776, allocations: 35.95 kB / 0.6446 GB, free: 6.941 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.178, allocations: 228.5 kB / 0.6448 GB, free: 6.688 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.1782, allocations: 50.55 kB / 0.6448 GB, free: 6.629 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.1783, allocations: 32.89 kB / 0.6448 GB, free: 6.594 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.1783, allocations: 0 / 0.6448 GB, free: 6.594 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.1785, allocations: 79.33 kB / 0.6449 GB, free: 6.504 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1785, allocations: 0 / 0.6449 GB, free: 6.504 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0004276/0.1789, allocations: 121.6 kB / 0.645 GB, free: 6.379 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.179, allocations: 51.41 kB / 0.6451 GB, free: 6.316 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.386e-05/0.179, allocations: 113.8 kB / 0.6452 GB, free: 6.195 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.1791, allocations: 29.7 kB / 0.6452 GB, free: 6.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.1791, allocations: 84.14 kB / 0.6453 GB, free: 6.074 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.1791, allocations: 23.89 kB / 0.6453 GB, free: 6.051 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.1792, allocations: 21.72 kB / 0.6453 GB, free: 6.023 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1793, allocations: 318.8 kB / 0.6457 GB, free: 5.703 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.1794, allocations: 23.98 kB / 0.6457 GB, free: 5.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.1796, allocations: 64.2 kB / 0.6457 GB, free: 5.602 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.1798, allocations: 88.19 kB / 0.6458 GB, free: 5.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1798, allocations: 0 / 0.6458 GB, free: 5.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002929/0.1801, allocations: 121.4 kB / 0.6459 GB, free: 5.375 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1801, allocations: 9.719 kB / 0.6459 GB, free: 5.367 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1801, allocations: 0 / 0.6459 GB, free: 5.367 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1801, allocations: 192 / 0.6459 GB, free: 5.367 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.1803, allocations: 15.98 kB / 0.646 GB, free: 5.352 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1803, allocations: 7.938 kB / 0.646 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.096e-05/0.1803, allocations: 8.156 kB / 0.646 GB, free: 5.336 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.1803, allocations: 11.98 kB / 0.646 GB, free: 5.324 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 9.416e-05/0.1804, allocations: 125.7 kB / 0.6461 GB, free: 5.191 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.1805, allocations: 7.953 kB / 0.6461 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002848/0.1807, allocations: 98.08 kB / 0.6462 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1807, allocations: 0 / 0.6462 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.1807, allocations: 0 / 0.6462 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1807, allocations: 4 kB / 0.6462 GB, free: 5.078 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004345/0.1812, allocations: 298 kB / 0.6465 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1812, allocations: 3.938 kB / 0.6465 GB, free: 4.746 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.181e-05/0.1812, allocations: 7.984 kB / 0.6465 GB, free: 4.738 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.1812, allocations: 4 kB / 0.6465 GB, free: 4.734 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1813, allocations: 384 / 0.6465 GB, free: 4.734 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1813, allocations: 0 / 0.6465 GB, free: 4.734 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.1813, allocations: 7.984 kB / 0.6465 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.1816, allocations: 195.3 kB / 0.6467 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.234e-05/0.1816, allocations: 11.95 kB / 0.6467 GB, free: 4.508 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.1816, allocations: 4 kB / 0.6467 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.62e-05/0.1817, allocations: 7.984 kB / 0.6467 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.1817, allocations: 7.984 kB / 0.6467 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.1817, allocations: 0 / 0.6467 GB, free: 4.488 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.308e-05/0.1818, allocations: 87.28 kB / 0.6468 GB, free: 4.402 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1818, allocations: 0 / 0.6468 GB, free: 4.402 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002474/0.182, allocations: 8 kB / 0.6468 GB, free: 4.395 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.0001386/0.1822, allocations: 103.2 kB / 0.6469 GB, free: 4.285 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002939/0.1825, allocations: 71.83 kB / 0.647 GB, free: 4.215 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1825, allocations: 0 / 0.647 GB, free: 4.215 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.1826, allocations: 27.97 kB / 0.647 GB, free: 4.188 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.1828, allocations: 10.58 kB / 0.647 GB, free: 4.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003592/0.1832, allocations: 142 kB / 0.6472 GB, free: 4.012 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.417e-05/0.1833, allocations: 71.66 kB / 0.6472 GB, free: 3.922 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.066e-05/0.1833, allocations: 3.984 kB / 0.6472 GB, free: 3.918 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.1833, allocations: 12.5 kB / 0.6473 GB, free: 3.902 MB / 0.545 GB Notification: Performance of SimCode: time 4.1e-07/0.1833, allocations: 0 / 0.6473 GB, free: 3.902 MB / 0.545 GB Notification: Performance of Templates: time 0.003834/0.1872, allocations: 0.8273 MB / 0.6481 GB, free: 3.094 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.461297777947038] Failed to read output from testmodel.py, exit status != 0: 0.19564201799221337 0.21004797 0.030613157000000002 Calling exit ...