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.001/0.001, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.006582/0.006582, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.653/1.653, allocations: 205.4 MB / 222.5 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.43/0.43, allocations: 55 MB / 325.7 MB, free: 0.625 MB / 254.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.0005995/0.0005995, allocations: 23.97 kB / 397.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3398, allocations: 60.71 MB / 458 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Discrete.Examples.BooleanDelay): time 0.001401/0.3412, allocations: 1.14 MB / 459.1 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006569/0.3419, allocations: 468.9 kB / 459.6 MB, free: 38.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.748e-05/0.3419, allocations: 0 / 459.6 MB, free: 38.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.3419, allocations: 3.422 kB / 459.6 MB, free: 38.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.827e-05/0.342, allocations: 11.55 kB / 459.6 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001442/0.3422, allocations: 15.94 kB / 459.6 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.557e-05/0.3423, allocations: 42.78 kB / 459.6 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.269e-05/0.3424, allocations: 6.125 kB / 459.6 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.821e-05/0.3424, allocations: 28.17 kB / 459.7 MB, free: 38.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.534e-05/0.3425, allocations: 16.64 kB / 459.7 MB, free: 38.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.3425, allocations: 2.844 kB / 459.7 MB, free: 38.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.112e-05/0.3425, allocations: 0 / 459.7 MB, free: 38.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.523e-05/0.3426, allocations: 14.89 kB / 459.7 MB, free: 38.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.152e-05/0.3426, allocations: 41.05 kB / 459.7 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.241e-05/0.3427, allocations: 41.03 kB / 459.8 MB, free: 38.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3427, allocations: 1.406 kB / 459.8 MB, free: 38.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.3428, allocations: 2.859 kB / 459.8 MB, free: 38.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.3428, allocations: 0 / 459.8 MB, free: 38.52 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.0005782/0.3434, allocations: 391 kB / 460.2 MB, free: 38.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3434, allocations: 11.56 kB / 460.2 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.3435, allocations: 5.828 kB / 460.2 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.3436, allocations: 172.1 kB / 460.3 MB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.3436, allocations: 8.25 kB / 460.4 MB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.3436, allocations: 4.344 kB / 460.4 MB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.3438, allocations: 56.66 kB / 460.4 MB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3438, allocations: 0 / 460.4 MB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.3438, allocations: 7.781 kB / 460.4 MB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.3438, allocations: 0 / 460.4 MB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.826e-05/0.3439, allocations: 16 kB / 460.4 MB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.3442, allocations: 279.3 kB / 460.7 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.225e-05/0.3443, allocations: 44.75 kB / 460.8 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.136e-05/0.3443, allocations: 17.48 kB / 460.8 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.3444, allocations: 0.625 kB / 460.8 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.3445, allocations: 103.2 kB / 460.9 MB, free: 37.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.3445, allocations: 1.344 kB / 460.9 MB, free: 37.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002305/0.3448, allocations: 148.8 kB / 461 MB, free: 37.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.3448, allocations: 80.83 kB / 461.1 MB, free: 37.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.797e-05/0.3449, allocations: 113.5 kB / 461.2 MB, free: 37.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.3449, allocations: 28.89 kB / 461.2 MB, free: 37.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.784e-05/0.3449, allocations: 84.02 kB / 461.3 MB, free: 37.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.3449, allocations: 17.72 kB / 461.3 MB, free: 37.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.303e-05/0.345, allocations: 15.72 kB / 461.4 MB, free: 37.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.78e-05/0.345, allocations: 323.4 kB / 461.7 MB, free: 36.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.818e-05/0.3451, allocations: 15.94 kB / 461.7 MB, free: 36.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.734e-05/0.3451, allocations: 41.69 kB / 461.7 MB, free: 36.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.456e-05/0.3452, allocations: 113.6 kB / 461.8 MB, free: 36.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3452, allocations: 3.938 kB / 461.8 MB, free: 36.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001289/0.3453, allocations: 127.7 kB / 462 MB, free: 36.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.3454, allocations: 32.42 kB / 462 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3454, allocations: 0 / 462 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.3454, allocations: 2.719 kB / 462 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.125e-05/0.3454, allocations: 14.78 kB / 462 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.3454, allocations: 0 / 462 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.329e-05/0.3455, allocations: 9.969 kB / 462 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.3455, allocations: 4.172 kB / 462 MB, free: 36.57 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 7.786e-05/0.3456, allocations: 152.8 kB / 462.2 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.3456, allocations: 6.719 kB / 462.2 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.568e-05/0.3457, allocations: 10.38 kB / 462.2 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3457, allocations: 2.688 kB / 462.2 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3457, allocations: 5.828 kB / 462.2 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3457, allocations: 0 / 462.2 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003101/0.346, allocations: 407.9 kB / 462.6 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.346, allocations: 0 / 462.6 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.944e-06/0.346, allocations: 1.531 kB / 462.6 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.346, allocations: 3.438 kB / 462.6 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.3461, allocations: 0 / 462.6 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3461, allocations: 5.062 kB / 462.6 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3461, allocations: 0.5312 kB / 462.6 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.3462, allocations: 234 kB / 462.8 MB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.972e-05/0.3463, allocations: 84.61 kB / 462.9 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.3463, allocations: 3.938 kB / 462.9 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.986e-05/0.3464, allocations: 15 kB / 462.9 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.3464, allocations: 16.06 kB / 463 MB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.3464, allocations: 4.719 kB / 463 MB, free: 35.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.889e-05/0.3465, allocations: 90.44 kB / 463 MB, free: 35.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3465, allocations: 0 / 463 MB, free: 35.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00022/0.3467, allocations: 16.84 kB / 463.1 MB, free: 35.73 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 7.723e-05/0.3468, allocations: 102.9 kB / 463.2 MB, free: 35.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.347, allocations: 112.9 kB / 463.3 MB, free: 35.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.347, allocations: 0 / 463.3 MB, free: 35.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.276e-05/0.3471, allocations: 89.98 kB / 463.4 MB, free: 35.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.3473, allocations: 17.19 kB / 463.4 MB, free: 35.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002803/0.3476, allocations: 170.8 kB / 463.5 MB, free: 35.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.3477, allocations: 0.6862 MB / 464.2 MB, free: 34.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.433e-05/0.3478, allocations: 2.594 kB / 464.2 MB, free: 34.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.242e-05/0.3478, allocations: 10.59 kB / 464.2 MB, free: 34.69 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3478, allocations: 0 / 464.2 MB, free: 34.69 MB / 382.1 MB Notification: Performance of Templates: time 0.002576/0.3504, allocations: 0.7648 MB / 465 MB, free: 34.65 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: