Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001738/0.001738, allocations: 192.5 kB / 16.14 MB, free: 6.711 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.518/1.518, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.107/1.107, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001213, allocations: 73.08 kB / 0.5047 GB, free: 5.812 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.188, allocations: 80.92 MB / 0.5837 GB, free: 5.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.003086/0.1911, allocations: 1.472 MB / 0.5851 GB, free: 3.566 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007782/0.1919, allocations: 427 kB / 0.5855 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.697e-05/0.192, allocations: 0 / 0.5855 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.869e-05/0.192, allocations: 11.81 kB / 0.5856 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.619e-05/0.1921, allocations: 11.92 kB / 0.5856 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.1923, allocations: 19.98 kB / 0.5856 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.1924, allocations: 47.84 kB / 0.5856 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1926, allocations: 8 kB / 0.5856 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.307e-05/0.1927, allocations: 23.86 kB / 0.5857 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.992e-05/0.1928, allocations: 15.92 kB / 0.5857 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.1928, allocations: 0 / 0.5857 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.597e-05/0.1928, allocations: 4 kB / 0.5857 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.657e-05/0.1929, allocations: 7.938 kB / 0.5857 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.531e-05/0.1929, allocations: 23.91 kB / 0.5857 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.1931, allocations: 31.89 kB / 0.5857 GB, free: 2.941 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.1931, allocations: 8 kB / 0.5857 GB, free: 2.934 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1931, allocations: 0 / 0.5857 GB, free: 2.934 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.1931, allocations: 0 / 0.5857 GB, free: 2.934 MB / 494.1 MB 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.0009496/0.1941, allocations: 389.3 kB / 0.5861 GB, free: 2.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.923e-05/0.1942, allocations: 12.03 kB / 0.5861 GB, free: 2.488 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.026e-05/0.1942, allocations: 0.9375 kB / 0.5861 GB, free: 2.488 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.1945, allocations: 180.2 kB / 0.5863 GB, free: 2.273 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.1945, allocations: 12.31 kB / 0.5863 GB, free: 2.262 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.1945, allocations: 4.375 kB / 0.5863 GB, free: 2.258 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.1947, allocations: 57.92 kB / 0.5864 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1947, allocations: 0 / 0.5864 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.1948, allocations: 0 / 0.5864 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.1948, allocations: 7.984 kB / 0.5864 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.037e-05/0.1949, allocations: 19.98 kB / 0.5864 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005881/0.1955, allocations: 264.8 kB / 0.5867 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.1956, allocations: 50.5 kB / 0.5867 GB, free: 1.801 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.816e-05/0.1956, allocations: 20.98 kB / 0.5867 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.1957, allocations: 0 / 0.5867 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003119/0.196, allocations: 101.1 kB / 0.5868 GB, free: 1.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.196, allocations: 0 / 0.5868 GB, free: 1.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003899/0.1964, allocations: 139.5 kB / 0.587 GB, free: 1.512 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.085e-05/0.1965, allocations: 89.17 kB / 0.587 GB, free: 1.406 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.1967, allocations: 113.8 kB / 0.5871 GB, free: 1.285 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.1967, allocations: 25.7 kB / 0.5872 GB, free: 1.254 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.595e-05/0.1968, allocations: 88.14 kB / 0.5873 GB, free: 1.164 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.1968, allocations: 23.7 kB / 0.5873 GB, free: 1.141 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/0.1969, allocations: 21.72 kB / 0.5873 GB, free: 1.113 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.1971, allocations: 322.8 kB / 0.5876 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.924e-05/0.1971, allocations: 12 kB / 0.5876 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.798e-05/0.1972, allocations: 46.5 kB / 0.5877 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.1973, allocations: 110 kB / 0.5878 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1973, allocations: 0 / 0.5878 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001727/0.1975, allocations: 119.3 kB / 0.5879 GB, free: 476 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.943e-05/0.1976, allocations: 29.7 kB / 0.5879 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1976, allocations: 4.062 kB / 0.5879 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.1976, allocations: 4 kB / 0.5879 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.948e-05/0.1977, allocations: 11.94 kB / 0.5879 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1977, allocations: 3.984 kB / 0.5879 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.56e-05/0.1977, allocations: 11.84 kB / 0.5879 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.1978, allocations: 4 kB / 0.5879 GB, free: 400 kB / 494.1 MB 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.0001289/0.1979, allocations: 159.4 kB / 0.5881 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.1979, allocations: 4 kB / 0.5881 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.618e-05/0.198, allocations: 12.38 kB / 0.5881 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.198, allocations: 0 / 0.5881 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.198, allocations: 0 / 0.5881 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.198, allocations: 64 / 0.5881 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004533/0.1984, allocations: 404.1 kB / 0.5885 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1985, allocations: 0 / 0.5885 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.088e-05/0.1985, allocations: 7.984 kB / 0.5885 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.592e-06/0.1985, allocations: 0 / 0.5885 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1985, allocations: 0 / 0.5885 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1985, allocations: 4 kB / 0.5885 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1985, allocations: 4 kB / 0.5885 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.1988, allocations: 237.1 kB / 0.5887 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.457e-05/0.1988, allocations: 85.02 kB / 0.5888 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.1988, allocations: 0 / 0.5888 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.199, allocations: 11.98 kB / 0.5888 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/0.199, allocations: 15.92 kB / 0.5888 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.199, allocations: 0 / 0.5888 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.048e-05/0.1991, allocations: 91.83 kB / 0.5889 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1991, allocations: 0 / 0.5889 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002341/0.1993, allocations: 12 kB / 0.5889 GB, free: 15.24 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.0001331/0.1995, allocations: 109.4 kB / 0.5891 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001942/0.1997, allocations: 115.3 kB / 0.5892 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1997, allocations: 0 / 0.5892 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.701e-05/0.1998, allocations: 87.39 kB / 0.5892 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.2001, allocations: 18.22 kB / 0.5893 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003897/0.2005, allocations: 163.6 kB / 0.5894 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.2008, allocations: 0.6809 MB / 0.5901 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.894e-05/0.2008, allocations: 11.97 kB / 0.5901 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.2009, allocations: 15.44 kB / 0.5901 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of SimCode: time 1.91e-07/0.2009, allocations: 0 / 0.5901 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of Templates: time 0.003165/0.2041, allocations: 0.7697 MB / 0.5909 GB, free: 13.21 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)