Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.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.001458/0.001458, allocations: 104.4 kB / 19.7 MB, free: 2.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.001734/0.001734, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8531/0.8531, allocations: 134 MB / 447.2 MB, free: 9.953 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay") [Timeout 660] "Notification: IDEAS 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.00202/0.00202, allocations: 62.81 kB / 0.6197 GB, free: 6.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1729, allocations: 85.91 MB / 0.7036 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002919/0.1758, allocations: 1.438 MB / 0.705 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008402/0.1766, allocations: 450.9 kB / 0.7054 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.654e-05/0.1767, allocations: 0 / 0.7054 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.54e-05/0.1767, allocations: 3.938 kB / 0.7054 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.805e-05/0.1768, allocations: 11.86 kB / 0.7054 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.1769, allocations: 15.98 kB / 0.7054 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.177, allocations: 47.86 kB / 0.7055 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.904e-05/0.1771, allocations: 15.97 kB / 0.7055 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.575e-05/0.1772, allocations: 19.88 kB / 0.7055 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.634e-05/0.1773, allocations: 27.84 kB / 0.7055 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.1773, allocations: 0 / 0.7055 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.092e-05/0.1773, allocations: 4 kB / 0.7055 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.1773, allocations: 8 kB / 0.7055 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.1774, allocations: 15.92 kB / 0.7056 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.1775, allocations: 55.69 kB / 0.7056 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1775, allocations: 0 / 0.7056 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.482e-06/0.1775, allocations: 0 / 0.7056 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.1775, allocations: 4 kB / 0.7056 GB, free: 14.49 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.0005915/0.1781, allocations: 319.9 kB / 0.7059 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.1781, allocations: 11.97 kB / 0.7059 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.1781, allocations: 8.891 kB / 0.7059 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.1783, allocations: 106.5 kB / 0.706 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.1783, allocations: 4.375 kB / 0.7061 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.1783, allocations: 4.375 kB / 0.7061 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.1784, allocations: 91.66 kB / 0.7061 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1784, allocations: 4 kB / 0.7061 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1784, allocations: 0 / 0.7061 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1785, allocations: 0 / 0.7061 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.913e-05/0.1785, allocations: 45.69 kB / 0.7062 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.1789, allocations: 216.5 kB / 0.7064 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.179, allocations: 68.2 kB / 0.7065 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.247e-05/0.1791, allocations: 46.67 kB / 0.7065 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.1791, allocations: 4 kB / 0.7065 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.1793, allocations: 126.7 kB / 0.7066 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 3.797e-06/0.1793, allocations: 8 kB / 0.7066 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0003165/0.1796, allocations: 198.7 kB / 0.7068 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.917e-05/0.1797, allocations: 81.11 kB / 0.7069 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.452e-05/0.1798, allocations: 113.8 kB / 0.707 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.1798, allocations: 25.7 kB / 0.707 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.1799, allocations: 88.14 kB / 0.7071 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.1799, allocations: 23.89 kB / 0.7071 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.1799, allocations: 25.72 kB / 0.7072 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1801, allocations: 318.8 kB / 0.7075 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.258e-05/0.1801, allocations: 45.7 kB / 0.7075 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.824e-05/0.1802, allocations: 64.55 kB / 0.7076 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.1803, allocations: 121.8 kB / 0.7077 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.371e-06/0.1803, allocations: 4.031 kB / 0.7077 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000181/0.1805, allocations: 156.9 kB / 0.7078 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.1805, allocations: 37.69 kB / 0.7079 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1805, allocations: 0 / 0.7079 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1805, allocations: 0 / 0.7079 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.88e-05/0.1806, allocations: 4 kB / 0.7079 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.1806, allocations: 0 / 0.7079 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.33e-05/0.1806, allocations: 16.05 kB / 0.7079 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.1806, allocations: 4 kB / 0.7079 GB, free: 11.84 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$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): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.0001243/0.1808, allocations: 151.4 kB / 0.7081 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/0.1808, allocations: 7.953 kB / 0.7081 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.761e-05/0.1808, allocations: 12.38 kB / 0.7081 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1808, allocations: 3.984 kB / 0.7081 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1808, allocations: 0 / 0.7081 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1808, allocations: 0 / 0.7081 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000416/0.1812, allocations: 373.6 kB / 0.7084 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1812, allocations: 0 / 0.7084 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.675e-06/0.1813, allocations: 4 kB / 0.7084 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1813, allocations: 0 / 0.7084 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.1813, allocations: 7.984 kB / 0.7084 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1813, allocations: 0 / 0.7084 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1813, allocations: 0 / 0.7084 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.1815, allocations: 266.8 kB / 0.7087 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.237e-05/0.1815, allocations: 3.953 kB / 0.7087 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.1815, allocations: 4 kB / 0.7087 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.1816, allocations: 11.98 kB / 0.7087 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.1817, allocations: 7.984 kB / 0.7087 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.1817, allocations: 8 kB / 0.7087 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.261e-05/0.1818, allocations: 87.27 kB / 0.7088 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1818, allocations: 0 / 0.7088 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002288/0.182, allocations: 16 kB / 0.7088 GB, free: 10.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 9.402e-05/0.1821, allocations: 107.1 kB / 0.7089 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002191/0.1823, allocations: 174.6 kB / 0.7091 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1823, allocations: 0 / 0.7091 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.1824, allocations: 113.8 kB / 0.7092 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.1827, allocations: 33.33 kB / 0.7092 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.1831, allocations: 205 kB / 0.7094 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.779e-05/0.1831, allocations: 71.2 kB / 0.7095 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.073e-05/0.1832, allocations: 11.44 kB / 0.7095 GB, free: 10 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.1832, allocations: 0 / 0.7095 GB, free: 10 MB / 0.5294 GB Notification: Performance of Templates: time 0.00252/0.1857, allocations: 0.9115 MB / 0.7104 GB, free: 9.086 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.756267283111811] Failed to read output from testmodel.py, exit status != 0: 0.19317953195422888 0.20841540799999994 0.027922321000000003 Calling exit ...