Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay") translateModel(Annex60.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001435/0.001435, allocations: 108 kB / 15.6 MB, free: 132 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.001691/0.001691, allocations: 195.2 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.1 MB / 222.4 MB, free: 4.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4048/0.4048, allocations: 54.96 MB / 324.7 MB, free: 15.96 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 59.91 kB / 395.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1383, allocations: 59.6 MB / 454.9 MB, free: 208 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Discrete.Examples.BooleanDelay): time 0.2572/0.3956, allocations: 1.411 MB / 456.3 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009411/0.3966, allocations: 477.1 kB / 456.8 MB, free: 38.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.941e-05/0.3966, allocations: 0 / 456.8 MB, free: 38.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.995e-05/0.3967, allocations: 8.781 kB / 456.8 MB, free: 38.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.746e-05/0.3968, allocations: 6 kB / 456.8 MB, free: 38.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.397, allocations: 25.53 kB / 456.8 MB, free: 38.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.3972, allocations: 50.75 kB / 456.9 MB, free: 38.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.3973, allocations: 5.156 kB / 456.9 MB, free: 38.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.957e-05/0.3974, allocations: 22.42 kB / 456.9 MB, free: 38.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.605e-05/0.3975, allocations: 21.69 kB / 456.9 MB, free: 38.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.3975, allocations: 6.469 kB / 456.9 MB, free: 38.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.3975, allocations: 4.031 kB / 456.9 MB, free: 38.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.962e-05/0.3976, allocations: 11.73 kB / 456.9 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.351e-05/0.3976, allocations: 20.73 kB / 457 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.3978, allocations: 43.84 kB / 457 MB, free: 38.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.3978, allocations: 0 / 457 MB, free: 38.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.3978, allocations: 0 / 457 MB, free: 38.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3978, allocations: 1.562 kB / 457 MB, free: 38.91 MB / 382.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.0007788/0.3986, allocations: 394.9 kB / 457.4 MB, free: 38.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.3986, allocations: 7.812 kB / 457.4 MB, free: 38.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.34e-05/0.3987, allocations: 5.812 kB / 457.4 MB, free: 38.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.3989, allocations: 174.9 kB / 457.6 MB, free: 38.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.3989, allocations: 7.688 kB / 457.6 MB, free: 38.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.3989, allocations: 2.969 kB / 457.6 MB, free: 38.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.3991, allocations: 55.02 kB / 457.6 MB, free: 38.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3991, allocations: 2.719 kB / 457.7 MB, free: 38.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.3991, allocations: 0 / 457.7 MB, free: 38.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3991, allocations: 0 / 457.7 MB, free: 38.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.195e-05/0.3992, allocations: 22.67 kB / 457.7 MB, free: 38.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.3996, allocations: 276.8 kB / 457.9 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.476e-05/0.3997, allocations: 37.83 kB / 458 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.293e-05/0.3997, allocations: 30.69 kB / 458 MB, free: 37.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.3998, allocations: 1.219 kB / 458 MB, free: 37.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002522/0.4, allocations: 103.8 kB / 458.1 MB, free: 37.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.4, allocations: 0.8438 kB / 458.1 MB, free: 37.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003055/0.4004, allocations: 141 kB / 458.3 MB, free: 37.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.4004, allocations: 80.73 kB / 458.3 MB, free: 37.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.126e-05/0.4005, allocations: 113.7 kB / 458.4 MB, free: 37.65 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.4005, allocations: 28.94 kB / 458.5 MB, free: 37.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.44e-05/0.4006, allocations: 92.86 kB / 458.6 MB, free: 37.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.4006, allocations: 16.25 kB / 458.6 MB, free: 37.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.4006, allocations: 26.05 kB / 458.6 MB, free: 37.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.233e-05/0.4007, allocations: 321.7 kB / 458.9 MB, free: 37.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.281e-05/0.4007, allocations: 12.5 kB / 458.9 MB, free: 37.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.643e-05/0.4008, allocations: 45.39 kB / 459 MB, free: 37.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.231e-05/0.4009, allocations: 115 kB / 459.1 MB, free: 37.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4009, allocations: 0 / 459.1 MB, free: 37.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000142/0.401, allocations: 122.6 kB / 459.2 MB, free: 37.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.601e-05/0.4011, allocations: 39.42 kB / 459.2 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.4011, allocations: 0 / 459.2 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.4011, allocations: 5.016 kB / 459.2 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.857e-05/0.4012, allocations: 6.25 kB / 459.3 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.4012, allocations: 0.5938 kB / 459.3 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.543e-05/0.4013, allocations: 15.58 kB / 459.3 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.4013, allocations: 2.875 kB / 459.3 MB, free: 36.98 MB / 382.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 9.122e-05/0.4014, allocations: 149.9 kB / 459.4 MB, free: 36.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.4014, allocations: 5.719 kB / 459.4 MB, free: 36.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.391e-05/0.4014, allocations: 12.41 kB / 459.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.4014, allocations: 0 / 459.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4014, allocations: 0 / 459.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4015, allocations: 2.172 kB / 459.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.4018, allocations: 410 kB / 459.8 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4018, allocations: 0.8125 kB / 459.8 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.295e-06/0.4018, allocations: 2.844 kB / 459.8 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4018, allocations: 0 / 459.8 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.4018, allocations: 2.719 kB / 459.8 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.4018, allocations: 0.9375 kB / 459.8 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4018, allocations: 1.812 kB / 459.8 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.402, allocations: 239.2 kB / 460.1 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.724e-05/0.4021, allocations: 83.86 kB / 460.2 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.4021, allocations: 2.969 kB / 460.2 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.828e-05/0.4022, allocations: 7.094 kB / 460.2 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.4023, allocations: 19.47 kB / 460.2 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.4023, allocations: 2.844 kB / 460.2 MB, free: 36.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.309e-05/0.4023, allocations: 88.09 kB / 460.3 MB, free: 36.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4023, allocations: 1.469 kB / 460.3 MB, free: 36.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002248/0.4026, allocations: 14.09 kB / 460.3 MB, free: 36.14 MB / 382.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 8.837e-05/0.4027, allocations: 102 kB / 460.4 MB, free: 36.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.4029, allocations: 120.2 kB / 460.5 MB, free: 36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4029, allocations: 1 kB / 460.5 MB, free: 36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.36e-05/0.403, allocations: 92.11 kB / 460.6 MB, free: 35.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.4033, allocations: 17.06 kB / 460.6 MB, free: 35.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.4036, allocations: 151.1 kB / 460.8 MB, free: 35.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.4038, allocations: 0.6891 MB / 461.5 MB, free: 35.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.975e-05/0.4038, allocations: 7.688 kB / 461.5 MB, free: 35.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.4038, allocations: 13.62 kB / 461.5 MB, free: 35.12 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4039, allocations: 0 / 461.5 MB, free: 35.12 MB / 382.1 MB Notification: Performance of Templates: time 0.003187/0.407, allocations: 0.8671 MB / 462.3 MB, free: 35.08 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.sim & ./Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)