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) 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/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00162/0.00162, allocations: 103.4 kB / 16.27 MB, free: 5.984 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.001647/0.001648, allocations: 189 kB / 17.2 MB, free: 5.609 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.57/1.57, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.861/0.861, allocations: 132.2 MB / 423.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.00164, allocations: 67.84 kB / 0.5024 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4559/0.4575, allocations: 80.18 MB / 0.5807 GB, free: 27.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002594/0.4602, allocations: 1.415 MB / 0.5821 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006836/0.4609, allocations: 439.9 kB / 0.5825 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.507e-05/0.4609, allocations: 1.094 kB / 0.5825 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.926e-05/0.461, allocations: 5 kB / 0.5825 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.85e-05/0.4611, allocations: 13.47 kB / 0.5825 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.4612, allocations: 24.52 kB / 0.5826 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.4613, allocations: 49.11 kB / 0.5826 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.4615, allocations: 13.23 kB / 0.5826 GB, free: 25.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.247e-05/0.4616, allocations: 19.31 kB / 0.5826 GB, free: 25.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.399e-05/0.4616, allocations: 26.25 kB / 0.5827 GB, free: 25.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.4616, allocations: 5.875 kB / 0.5827 GB, free: 25.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.308e-05/0.4617, allocations: 4.125 kB / 0.5827 GB, free: 25.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.428e-05/0.4617, allocations: 9.578 kB / 0.5827 GB, free: 25.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.786e-05/0.4618, allocations: 17.47 kB / 0.5827 GB, free: 25.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.4619, allocations: 35.89 kB / 0.5827 GB, free: 25.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4619, allocations: 0 / 0.5827 GB, free: 25.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4619, allocations: 1.438 kB / 0.5827 GB, free: 25.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.269e-06/0.4619, allocations: 0 / 0.5827 GB, free: 25.66 MB / 446.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.0005595/0.4625, allocations: 403.4 kB / 0.5831 GB, free: 25.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.4625, allocations: 10 kB / 0.5831 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.4626, allocations: 7.531 kB / 0.5831 GB, free: 25.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.801e-05/0.4627, allocations: 173 kB / 0.5833 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.4627, allocations: 5.469 kB / 0.5833 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.4627, allocations: 3.5 kB / 0.5833 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.4629, allocations: 58.39 kB / 0.5834 GB, free: 24.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.4629, allocations: 0.625 kB / 0.5834 GB, free: 24.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.4629, allocations: 2.125 kB / 0.5834 GB, free: 24.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.463, allocations: 0 / 0.5834 GB, free: 24.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.414e-05/0.463, allocations: 18.02 kB / 0.5834 GB, free: 24.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.4633, allocations: 271.2 kB / 0.5836 GB, free: 24.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.048e-05/0.4634, allocations: 45.98 kB / 0.5837 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.627e-05/0.4635, allocations: 30.16 kB / 0.5837 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.4635, allocations: 0 / 0.5837 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.4637, allocations: 106.9 kB / 0.5838 GB, free: 24.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.4637, allocations: 0 / 0.5838 GB, free: 24.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003087/0.464, allocations: 145.4 kB / 0.584 GB, free: 24.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.464, allocations: 83.47 kB / 0.584 GB, free: 24.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.821e-05/0.4641, allocations: 111.5 kB / 0.5841 GB, free: 24.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.4641, allocations: 31.08 kB / 0.5842 GB, free: 24.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/0.4642, allocations: 81.52 kB / 0.5843 GB, free: 24.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.4642, allocations: 17.47 kB / 0.5843 GB, free: 24.08 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.4643, allocations: 25.55 kB / 0.5843 GB, free: 24.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.081e-05/0.4643, allocations: 321.7 kB / 0.5846 GB, free: 23.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.276e-05/0.4643, allocations: 20.48 kB / 0.5846 GB, free: 23.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.989e-05/0.4644, allocations: 44.44 kB / 0.5847 GB, free: 23.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.289e-05/0.4645, allocations: 104.7 kB / 0.5848 GB, free: 23.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4645, allocations: 1.969 kB / 0.5848 GB, free: 23.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001421/0.4646, allocations: 137.5 kB / 0.5849 GB, free: 23.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.4647, allocations: 33.3 kB / 0.5849 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4647, allocations: 1.031 kB / 0.5849 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.4647, allocations: 1.312 kB / 0.5849 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.52e-05/0.4648, allocations: 11.36 kB / 0.5849 GB, free: 23.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.4648, allocations: 2.344 kB / 0.5849 GB, free: 23.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.287e-05/0.4649, allocations: 8.641 kB / 0.585 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.4649, allocations: 3.406 kB / 0.585 GB, free: 23.43 MB / 446.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 8.02e-05/0.465, allocations: 156.3 kB / 0.5851 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.465, allocations: 3.531 kB / 0.5851 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.701e-05/0.465, allocations: 9.703 kB / 0.5851 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.465, allocations: 2.469 kB / 0.5851 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.4651, allocations: 0 / 0.5851 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.4651, allocations: 1.094 kB / 0.5851 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/0.4654, allocations: 408 kB / 0.5855 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4654, allocations: 0 / 0.5855 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.097e-06/0.4654, allocations: 2.438 kB / 0.5855 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4654, allocations: 7.875 kB / 0.5855 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.4655, allocations: 7.281 kB / 0.5855 GB, free: 22.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4655, allocations: 4.609 kB / 0.5855 GB, free: 22.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4655, allocations: 0 / 0.5855 GB, free: 22.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.4656, allocations: 226.9 kB / 0.5857 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.108e-05/0.4657, allocations: 83.39 kB / 0.5858 GB, free: 22.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.4657, allocations: 3.125 kB / 0.5858 GB, free: 22.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.4658, allocations: 17.08 kB / 0.5858 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.4659, allocations: 15.53 kB / 0.5859 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.4659, allocations: 3.984 kB / 0.5859 GB, free: 22.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.642e-05/0.4659, allocations: 88.88 kB / 0.586 GB, free: 22.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.4659, allocations: 0 / 0.586 GB, free: 22.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.4662, allocations: 16.09 kB / 0.586 GB, free: 22.45 MB / 446.1 MB 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 7.515e-05/0.4663, allocations: 99.44 kB / 0.5861 GB, free: 22.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001564/0.4664, allocations: 121.4 kB / 0.5862 GB, free: 22.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.4665, allocations: 0 / 0.5862 GB, free: 22.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.991e-05/0.4665, allocations: 85.64 kB / 0.5863 GB, free: 22.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.4669, allocations: 16.89 kB / 0.5863 GB, free: 22.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.4672, allocations: 179.7 kB / 0.5864 GB, free: 22.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.4673, allocations: 0.6868 MB / 0.5871 GB, free: 21.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.4674, allocations: 9.844 kB / 0.5871 GB, free: 21.32 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4674, allocations: 1.312 kB / 0.5871 GB, free: 21.32 MB / 446.1 MB Notification: Performance of Templates: time 0.002453/0.4698, allocations: 0.9053 MB / 0.588 GB, free: 20.89 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile (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)