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.001948/0.001948, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.002137/0.002137, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8359/0.8359, allocations: 135.1 MB / 426.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 68.61 kB / 0.5862 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1931, allocations: 80.91 MB / 0.6653 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.003291/0.1964, allocations: 1.433 MB / 0.6667 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.1977, allocations: 438.9 kB / 0.6671 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.148e-05/0.1978, allocations: 0 / 0.6671 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.278e-05/0.1979, allocations: 7.922 kB / 0.6671 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001499/0.1981, allocations: 11.88 kB / 0.6671 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.1984, allocations: 15.98 kB / 0.6671 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.1986, allocations: 63.83 kB / 0.6672 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.1987, allocations: 4 kB / 0.6672 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.789e-05/0.1988, allocations: 23.86 kB / 0.6672 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.007e-05/0.1989, allocations: 15.92 kB / 0.6672 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.1989, allocations: 4 kB / 0.6672 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.54e-05/0.1989, allocations: 4 kB / 0.6672 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.101e-05/0.199, allocations: 7.938 kB / 0.6672 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.16e-05/0.199, allocations: 23.92 kB / 0.6672 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.1992, allocations: 47.75 kB / 0.6673 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1992, allocations: 4 kB / 0.6673 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.555e-06/0.1992, allocations: 0 / 0.6673 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.1992, allocations: 0 / 0.6673 GB, free: 3.723 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.000761/0.2, allocations: 385.2 kB / 0.6677 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.2001, allocations: 9.109 kB / 0.6677 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/0.2001, allocations: 8.844 kB / 0.6677 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.2003, allocations: 176.2 kB / 0.6678 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.2003, allocations: 4.375 kB / 0.6678 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.2003, allocations: 4.375 kB / 0.6679 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.2005, allocations: 54 kB / 0.6679 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.2005, allocations: 0 / 0.6679 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.2005, allocations: 0 / 0.6679 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.2005, allocations: 0 / 0.6679 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.71e-05/0.2006, allocations: 19.98 kB / 0.6679 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.2011, allocations: 280.7 kB / 0.6682 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.2012, allocations: 42.56 kB / 0.6682 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.943e-05/0.2013, allocations: 16.98 kB / 0.6682 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.2013, allocations: 7.984 kB / 0.6683 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002479/0.2016, allocations: 105 kB / 0.6684 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 4.509e-06/0.2016, allocations: 0 / 0.6684 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0003199/0.2019, allocations: 135.3 kB / 0.6685 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.218e-05/0.202, allocations: 85.11 kB / 0.6686 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.2023, allocations: 117.8 kB / 0.6687 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.2023, allocations: 29.64 kB / 0.6687 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.2023, allocations: 84.14 kB / 0.6688 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.2024, allocations: 23.8 kB / 0.6688 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.797e-05/0.2024, allocations: 25.72 kB / 0.6688 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.2026, allocations: 326.8 kB / 0.6691 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.499e-05/0.2026, allocations: 12 kB / 0.6692 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.637e-05/0.2027, allocations: 42.56 kB / 0.6692 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.2028, allocations: 117.8 kB / 0.6693 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.2028, allocations: 0 / 0.6693 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001748/0.203, allocations: 119.2 kB / 0.6694 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/0.2031, allocations: 33.7 kB / 0.6695 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2031, allocations: 4.453 kB / 0.6695 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.2031, allocations: 0 / 0.6695 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.209e-05/0.2032, allocations: 12.05 kB / 0.6695 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.2032, allocations: 0 / 0.6695 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.008e-05/0.2033, allocations: 12 kB / 0.6695 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.2033, allocations: 0 / 0.6695 GB, free: 1.188 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.0001254/0.2034, allocations: 151.5 kB / 0.6696 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.2034, allocations: 7.906 kB / 0.6696 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.505e-05/0.2035, allocations: 16.31 kB / 0.6697 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2035, allocations: 4 kB / 0.6697 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2035, allocations: 0 / 0.6697 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2035, allocations: 0 / 0.6697 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004486/0.204, allocations: 404.5 kB / 0.67 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.204, allocations: 3.984 kB / 0.67 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.995e-06/0.204, allocations: 3.938 kB / 0.67 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.204, allocations: 0 / 0.67 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.204, allocations: 4 kB / 0.6701 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.204, allocations: 0 / 0.6701 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.204, allocations: 0 / 0.6701 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.2043, allocations: 241 kB / 0.6703 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.289e-05/0.2044, allocations: 81.11 kB / 0.6704 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.2044, allocations: 0 / 0.6704 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.2045, allocations: 7.984 kB / 0.6704 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.2046, allocations: 15.92 kB / 0.6704 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.2046, allocations: 4 kB / 0.6704 GB, free: 148 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.747e-05/0.2047, allocations: 91.28 kB / 0.6705 GB, free: 56 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2047, allocations: 0 / 0.6705 GB, free: 56 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002471/0.2049, allocations: 15.98 kB / 0.6705 GB, free: 40 kB / 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.000153/0.2051, allocations: 98.5 kB / 0.6706 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002103/0.2053, allocations: 123.2 kB / 0.6707 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.2053, allocations: 4 kB / 0.6707 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.2054, allocations: 87.39 kB / 0.6708 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.2058, allocations: 16.11 kB / 0.6708 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004308/0.2062, allocations: 189.7 kB / 0.671 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.2065, allocations: 0.6807 MB / 0.6716 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/0.2066, allocations: 15.44 kB / 0.6717 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of SimCode: time 5.51e-07/0.2066, allocations: 0 / 0.6717 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of Templates: time 0.00306/0.2096, allocations: 0.9011 MB / 0.6725 GB, free: 13.85 MB / 0.5137 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)