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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 114 kB / 17.08 MB, free: 6.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 186.8 kB / 20.02 MB, free: 3.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 245.7 MB, free: 4.234 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.105/1.105, allocations: 147.6 MB / 445.5 MB, free: 8.359 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 64.61 kB / 0.6113 GB, free: 37.81 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1654, allocations: 83.15 MB / 0.6925 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001928/0.1674, allocations: 0.6604 MB / 0.6932 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.1688, allocations: 1.054 MB / 0.6942 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.222e-05/0.1689, allocations: 0 / 0.6942 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.947e-05/0.1689, allocations: 5.062 kB / 0.6942 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.588e-05/0.169, allocations: 3.938 kB / 0.6942 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.1693, allocations: 47.02 kB / 0.6943 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.493e-05/0.1694, allocations: 45.78 kB / 0.6943 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.519e-05/0.1695, allocations: 9.5 kB / 0.6943 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.283e-05/0.1696, allocations: 18.8 kB / 0.6943 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.243e-05/0.1696, allocations: 21.41 kB / 0.6944 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.1696, allocations: 4.125 kB / 0.6944 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.43e-05/0.1697, allocations: 22.98 kB / 0.6944 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/0.1697, allocations: 13.3 kB / 0.6944 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.1698, allocations: 17.44 kB / 0.6944 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.1699, allocations: 72.97 kB / 0.6945 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1699, allocations: 0 / 0.6945 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1699, allocations: 1.375 kB / 0.6945 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.1699, allocations: 0 / 0.6945 GB, free: 11.68 MB / 0.5137 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.0005567/0.1705, allocations: 359.9 kB / 0.6948 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1706, allocations: 9.625 kB / 0.6948 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.1706, allocations: 7.641 kB / 0.6949 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.1707, allocations: 169.7 kB / 0.695 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1708, allocations: 3.125 kB / 0.695 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.1708, allocations: 7.125 kB / 0.695 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.171, allocations: 60.11 kB / 0.6951 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.171, allocations: 192 / 0.6951 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.171, allocations: 3.938 kB / 0.6951 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.171, allocations: 5.312 kB / 0.6951 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.1712, allocations: 41.95 kB / 0.6951 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/0.1717, allocations: 290.8 kB / 0.6954 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.1719, allocations: 53.31 kB / 0.6955 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.172, allocations: 29.23 kB / 0.6955 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.172, allocations: 4.938 kB / 0.6955 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.1722, allocations: 77 kB / 0.6956 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 3.867e-06/0.1722, allocations: 3.984 kB / 0.6956 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0004176/0.1727, allocations: 118.7 kB / 0.6957 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.1727, allocations: 56.83 kB / 0.6957 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.165e-05/0.1728, allocations: 109.9 kB / 0.6958 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.1728, allocations: 26.61 kB / 0.6959 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.658e-05/0.1729, allocations: 90.64 kB / 0.696 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.1729, allocations: 26.53 kB / 0.696 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.173, allocations: 24.14 kB / 0.696 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.1731, allocations: 316.1 kB / 0.6963 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.1732, allocations: 29.59 kB / 0.6963 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.1734, allocations: 62.67 kB / 0.6964 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.1736, allocations: 84.14 kB / 0.6965 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1736, allocations: 5.094 kB / 0.6965 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002861/0.1739, allocations: 115.9 kB / 0.6966 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1739, allocations: 5.562 kB / 0.6966 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.174, allocations: 1.094 kB / 0.6966 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.174, allocations: 2.125 kB / 0.6966 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.1741, allocations: 14.52 kB / 0.6966 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.1741, allocations: 6.344 kB / 0.6966 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.959e-05/0.1742, allocations: 8.828 kB / 0.6966 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.1742, allocations: 3.75 kB / 0.6966 GB, free: 9.598 MB / 0.5137 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.0001016/0.1743, allocations: 121.4 kB / 0.6967 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.1743, allocations: 6.234 kB / 0.6967 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.1746, allocations: 101.1 kB / 0.6968 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1746, allocations: 4 kB / 0.6968 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.1746, allocations: 0 / 0.6968 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1746, allocations: 1.562 kB / 0.6968 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004757/0.1751, allocations: 355.6 kB / 0.6972 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1751, allocations: 0 / 0.6972 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.526e-05/0.1752, allocations: 9.672 kB / 0.6972 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1752, allocations: 1.25 kB / 0.6972 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.1752, allocations: 1.375 kB / 0.6972 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1752, allocations: 4 kB / 0.6972 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1752, allocations: 384 / 0.6972 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.1756, allocations: 203.7 kB / 0.6974 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-05/0.1756, allocations: 83.52 kB / 0.6975 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.1756, allocations: 1.344 kB / 0.6975 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.67e-05/0.1757, allocations: 7.172 kB / 0.6975 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.1758, allocations: 11.34 kB / 0.6975 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.1758, allocations: 9.047 kB / 0.6975 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.188e-05/0.1759, allocations: 84.91 kB / 0.6976 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.01e-07/0.1759, allocations: 0 / 0.6976 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000245/0.1761, allocations: 9.844 kB / 0.6976 GB, free: 8.656 MB / 0.5137 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.0001608/0.1763, allocations: 105.7 kB / 0.6977 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003128/0.1766, allocations: 73.67 kB / 0.6978 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1766, allocations: 1.375 kB / 0.6978 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.1767, allocations: 33.66 kB / 0.6978 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.177, allocations: 9.578 kB / 0.6978 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/0.1773, allocations: 133.7 kB / 0.6979 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.1777, allocations: 0.6851 MB / 0.6986 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.964e-05/0.1777, allocations: 4.125 kB / 0.6986 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.1777, allocations: 10.19 kB / 0.6986 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1777, allocations: 0 / 0.6986 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of Templates: time 0.003808/0.1815, allocations: 0.8001 MB / 0.6994 GB, free: 7.188 MB / 0.5137 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.721455444116145] Failed to read output from testmodel.py, exit status != 0: 0.4782474529929459 0.20203051500000002 0.029543101000000002 Calling exit ...