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.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 90] 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.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(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007968/0.007968, allocations: 97.41 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002013/0.002013, allocations: 200 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8428/0.8428, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 60.42 kB / 0.5813 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1905, allocations: 80.21 MB / 0.6596 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002644/0.1932, allocations: 1.424 MB / 0.661 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008156/0.194, allocations: 442.9 kB / 0.6615 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.658e-05/0.1941, allocations: 0 / 0.6615 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.112e-05/0.1941, allocations: 11.94 kB / 0.6615 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.574e-05/0.1942, allocations: 11.86 kB / 0.6615 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.1944, allocations: 23.92 kB / 0.6615 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.1945, allocations: 43.91 kB / 0.6615 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.848e-05/0.1946, allocations: 8 kB / 0.6616 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.17e-05/0.1947, allocations: 23.86 kB / 0.6616 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.421e-05/0.1948, allocations: 15.92 kB / 0.6616 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.1948, allocations: 4 kB / 0.6616 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.655e-05/0.1948, allocations: 8 kB / 0.6616 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.335e-05/0.1949, allocations: 15.92 kB / 0.6616 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.725e-05/0.1949, allocations: 15.94 kB / 0.6616 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.1951, allocations: 47.75 kB / 0.6617 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1951, allocations: 3.938 kB / 0.6617 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1951, allocations: 0 / 0.6617 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.1951, allocations: 0 / 0.6617 GB, free: 11.45 MB / 0.4981 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.0006037/0.1957, allocations: 397 kB / 0.6621 GB, free: 11 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1958, allocations: 12.03 kB / 0.6621 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.1958, allocations: 4.938 kB / 0.6621 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.196, allocations: 172.3 kB / 0.6622 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.196, allocations: 384 / 0.6622 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.196, allocations: 4.375 kB / 0.6622 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.1962, allocations: 57.98 kB / 0.6623 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1962, allocations: 0 / 0.6623 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1962, allocations: 0 / 0.6623 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.1962, allocations: 0 / 0.6623 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.147e-05/0.1963, allocations: 23.92 kB / 0.6623 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.1967, allocations: 276.8 kB / 0.6626 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.909e-05/0.1968, allocations: 38.58 kB / 0.6626 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.855e-05/0.1969, allocations: 20.97 kB / 0.6626 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.1969, allocations: 0 / 0.6626 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002218/0.1971, allocations: 105 kB / 0.6627 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.1971, allocations: 0 / 0.6627 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0003071/0.1974, allocations: 147.2 kB / 0.6629 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/0.1975, allocations: 81.09 kB / 0.663 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.1976, allocations: 113.8 kB / 0.6631 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.1977, allocations: 25.7 kB / 0.6631 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.1977, allocations: 92.09 kB / 0.6632 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.1978, allocations: 15.91 kB / 0.6632 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.095e-05/0.1978, allocations: 33.7 kB / 0.6632 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.198, allocations: 322.8 kB / 0.6635 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.357e-05/0.198, allocations: 15.98 kB / 0.6636 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.334e-05/0.1981, allocations: 34.56 kB / 0.6636 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.1982, allocations: 113.9 kB / 0.6637 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1982, allocations: 0 / 0.6637 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001758/0.1984, allocations: 127.3 kB / 0.6638 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.618e-05/0.1985, allocations: 37.64 kB / 0.6639 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1985, allocations: 0 / 0.6639 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1985, allocations: 4.062 kB / 0.6639 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.599e-05/0.1985, allocations: 4 kB / 0.6639 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.1985, allocations: 4 kB / 0.6639 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.531e-05/0.1986, allocations: 11.98 kB / 0.6639 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.577e-06/0.1986, allocations: 4 kB / 0.6639 GB, free: 8.902 MB / 0.4981 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.0001385/0.1988, allocations: 156.4 kB / 0.664 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.1988, allocations: 7.953 kB / 0.664 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.155e-05/0.1988, allocations: 12.36 kB / 0.664 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.1988, allocations: 0 / 0.664 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1989, allocations: 0 / 0.664 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.1989, allocations: 3.984 kB / 0.6641 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004482/0.1993, allocations: 400.1 kB / 0.6644 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1993, allocations: 0 / 0.6644 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.434e-06/0.1993, allocations: 0 / 0.6644 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1993, allocations: 8 kB / 0.6644 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.1994, allocations: 384 / 0.6644 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1994, allocations: 0 / 0.6644 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.1994, allocations: 3.984 kB / 0.6644 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.1996, allocations: 237.5 kB / 0.6647 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.231e-05/0.1997, allocations: 85.11 kB / 0.6648 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.1997, allocations: 0 / 0.6648 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.1998, allocations: 11.98 kB / 0.6648 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.1999, allocations: 7.938 kB / 0.6648 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.1999, allocations: 8 kB / 0.6648 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.05e-05/0.2, allocations: 91.33 kB / 0.6649 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2, allocations: 0 / 0.6649 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002298/0.2002, allocations: 19.95 kB / 0.6649 GB, free: 7.75 MB / 0.4981 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 0.0001203/0.2003, allocations: 96.81 kB / 0.665 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001965/0.2005, allocations: 123.3 kB / 0.6651 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2005, allocations: 8.125 kB / 0.6651 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.2007, allocations: 87.33 kB / 0.6652 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.2009, allocations: 19.92 kB / 0.6652 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003245/0.2013, allocations: 145.4 kB / 0.6653 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.2016, allocations: 0.6885 MB / 0.666 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.022e-05/0.2017, allocations: 7.781 kB / 0.666 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.043e-05/0.2017, allocations: 15.44 kB / 0.666 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.2017, allocations: 0 / 0.666 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of Templates: time 0.003288/0.205, allocations: 0.871 MB / 0.6669 GB, free: 5.625 MB / 0.4981 GB 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]