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.001118/0.001118, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7012/0.7012, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 63.16 kB / 0.5018 GB, free: 3.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4195/0.4207, allocations: 80.21 MB / 0.5801 GB, free: 4.523 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002449/0.4232, allocations: 1.413 MB / 0.5815 GB, free: 3.535 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006256/0.4238, allocations: 442.8 kB / 0.5819 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.4238, allocations: 1.031 kB / 0.5819 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.661e-05/0.4239, allocations: 4.641 kB / 0.5819 GB, free: 3.227 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.034e-05/0.424, allocations: 7.062 kB / 0.5819 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001307/0.4241, allocations: 28.34 kB / 0.5819 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.4242, allocations: 53.52 kB / 0.582 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.68e-05/0.4243, allocations: 4.938 kB / 0.582 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.298e-05/0.4244, allocations: 23.41 kB / 0.582 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.103e-05/0.4244, allocations: 22.06 kB / 0.582 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.4245, allocations: 3.469 kB / 0.582 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.315e-05/0.4245, allocations: 4 kB / 0.582 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.414e-05/0.4245, allocations: 7.656 kB / 0.582 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.493e-05/0.4245, allocations: 33.31 kB / 0.5821 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.143e-05/0.4246, allocations: 34.08 kB / 0.5821 GB, free: 3.113 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4247, allocations: 0 / 0.5821 GB, free: 3.113 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4247, allocations: 0.5156 kB / 0.5821 GB, free: 3.113 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.4247, allocations: 1 kB / 0.5821 GB, free: 3.113 MB / 430.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.0004861/0.4252, allocations: 402.5 kB / 0.5825 GB, free: 2.707 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.4252, allocations: 8.781 kB / 0.5825 GB, free: 2.707 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.4252, allocations: 4.375 kB / 0.5825 GB, free: 2.707 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.529e-05/0.4253, allocations: 169.2 kB / 0.5827 GB, free: 2.508 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.4253, allocations: 1.75 kB / 0.5827 GB, free: 2.508 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.4254, allocations: 3.781 kB / 0.5827 GB, free: 2.508 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.4255, allocations: 54.92 kB / 0.5827 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.4255, allocations: 9.219 kB / 0.5827 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.4255, allocations: 0.7031 kB / 0.5827 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4255, allocations: 1.531 kB / 0.5827 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.234e-05/0.4256, allocations: 20.48 kB / 0.5828 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.4259, allocations: 272.5 kB / 0.583 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.833e-05/0.426, allocations: 40.94 kB / 0.5831 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.308e-05/0.426, allocations: 22.62 kB / 0.5831 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.426, allocations: 9.469 kB / 0.5831 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/0.4262, allocations: 112.5 kB / 0.5832 GB, free: 2.008 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.4262, allocations: 0 / 0.5832 GB, free: 2.008 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.000235/0.4264, allocations: 136.3 kB / 0.5833 GB, free: 1.922 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.4265, allocations: 80.39 kB / 0.5834 GB, free: 1.828 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.013e-05/0.4266, allocations: 112.4 kB / 0.5835 GB, free: 1.723 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.898e-06/0.4266, allocations: 28.08 kB / 0.5835 GB, free: 1.691 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.702e-05/0.4266, allocations: 98.3 kB / 0.5836 GB, free: 1.594 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.4266, allocations: 15.98 kB / 0.5836 GB, free: 1.582 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.4267, allocations: 24.75 kB / 0.5837 GB, free: 1.562 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.431e-05/0.4267, allocations: 322.2 kB / 0.584 GB, free: 1.242 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.219e-05/0.4267, allocations: 15.03 kB / 0.584 GB, free: 1.238 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.085e-05/0.4268, allocations: 36.77 kB / 0.584 GB, free: 1.207 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.842e-05/0.4269, allocations: 120.1 kB / 0.5841 GB, free: 1.094 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4269, allocations: 0 / 0.5841 GB, free: 1.094 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001288/0.427, allocations: 119.1 kB / 0.5842 GB, free: 1.012 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.4271, allocations: 33.7 kB / 0.5843 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.4271, allocations: 0 / 0.5843 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.4271, allocations: 1 kB / 0.5843 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.928e-05/0.4271, allocations: 4.891 kB / 0.5843 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4271, allocations: 4.75 kB / 0.5843 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.265e-05/0.4272, allocations: 19.58 kB / 0.5843 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.4272, allocations: 3.297 kB / 0.5843 GB, free: 0.9648 MB / 430.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 6.907e-05/0.4273, allocations: 148.9 kB / 0.5845 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.4273, allocations: 4.438 kB / 0.5845 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.4273, allocations: 9.812 kB / 0.5845 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4273, allocations: 1.984 kB / 0.5845 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4274, allocations: 0 / 0.5845 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.4274, allocations: 1.812 kB / 0.5845 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003072/0.4277, allocations: 416 kB / 0.5849 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4277, allocations: 0 / 0.5849 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.425e-06/0.4277, allocations: 1.641 kB / 0.5849 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.4277, allocations: 0.9375 kB / 0.5849 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.4277, allocations: 6.469 kB / 0.5849 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.4277, allocations: 1.953 kB / 0.5849 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4277, allocations: 480 / 0.5849 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.4279, allocations: 236.1 kB / 0.5851 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.183e-05/0.4279, allocations: 87.97 kB / 0.5852 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.428, allocations: 2.969 kB / 0.5852 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.981e-05/0.4281, allocations: 7.672 kB / 0.5852 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.4281, allocations: 18.41 kB / 0.5852 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.4281, allocations: 4.406 kB / 0.5852 GB, free: 104 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.871e-05/0.4282, allocations: 91.59 kB / 0.5853 GB, free: 20 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4282, allocations: 0 / 0.5853 GB, free: 20 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002198/0.4284, allocations: 13.28 kB / 0.5853 GB, free: 20 kB / 430.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 0.0001076/0.4285, allocations: 106.1 kB / 0.5854 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.4287, allocations: 118.2 kB / 0.5855 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4287, allocations: 0 / 0.5855 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.593e-05/0.4288, allocations: 88.48 kB / 0.5856 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.4291, allocations: 11 kB / 0.5856 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/0.4294, allocations: 143.5 kB / 0.5858 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.4296, allocations: 0.685 MB / 0.5864 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.567e-05/0.4297, allocations: 4.984 kB / 0.5864 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.4297, allocations: 15.59 kB / 0.5865 GB, free: 14.94 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4297, allocations: 0 / 0.5865 GB, free: 14.94 MB / 446.1 MB Notification: Performance of Templates: time 0.003096/0.4328, allocations: 0.8643 MB / 0.5873 GB, free: 14.85 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)