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.001186/0.001186, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001194/0.001194, allocations: 192.4 kB / 16.13 MB, free: 6.652 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.472/1.472, allocations: 205.1 MB / 222 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4198/0.4198, allocations: 54.93 MB / 324.3 MB, free: 156 kB / 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.001581/0.001581, allocations: 67.89 kB / 394.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1314, allocations: 59.59 MB / 454.2 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Discrete.Examples.BooleanDelay): time 0.2416/0.373, allocations: 1.472 MB / 455.7 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007708/0.3738, allocations: 482 kB / 456.2 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.593e-05/0.3739, allocations: 2.312 kB / 456.2 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.684e-05/0.374, allocations: 3.656 kB / 456.2 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.582e-05/0.3741, allocations: 7.906 kB / 456.2 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.3742, allocations: 15.38 kB / 456.2 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.058e-05/0.3743, allocations: 45.67 kB / 456.2 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3744, allocations: 7.281 kB / 456.3 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.994e-05/0.3745, allocations: 22.97 kB / 456.3 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.079e-05/0.3746, allocations: 18.72 kB / 456.3 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.3746, allocations: 3 kB / 456.3 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.486e-05/0.3746, allocations: 3.375 kB / 456.3 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.387e-05/0.3747, allocations: 14.45 kB / 456.3 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.3747, allocations: 14.84 kB / 456.3 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.3748, allocations: 50.81 kB / 456.4 MB, free: 38.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3749, allocations: 0 / 456.4 MB, free: 38.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3749, allocations: 0 / 456.4 MB, free: 38.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3749, allocations: 0 / 456.4 MB, free: 38.77 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.000608/0.3755, allocations: 395.6 kB / 456.8 MB, free: 38.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.3755, allocations: 8.125 kB / 456.8 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.893e-05/0.3756, allocations: 6.531 kB / 456.8 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.3757, allocations: 167 kB / 456.9 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.3757, allocations: 3.062 kB / 456.9 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.3758, allocations: 5.375 kB / 457 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.3759, allocations: 58 kB / 457 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.3759, allocations: 0 / 457 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.3759, allocations: 0.8125 kB / 457 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3759, allocations: 0 / 457 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.183e-05/0.376, allocations: 21.92 kB / 457 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.3764, allocations: 271.2 kB / 457.3 MB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.747e-05/0.3765, allocations: 50.17 kB / 457.3 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.433e-05/0.3765, allocations: 20.25 kB / 457.4 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.3765, allocations: 3.906 kB / 457.4 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002053/0.3767, allocations: 108 kB / 457.5 MB, free: 37.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.3767, allocations: 0 / 457.5 MB, free: 37.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002448/0.377, allocations: 134.2 kB / 457.6 MB, free: 37.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.377, allocations: 84.17 kB / 457.7 MB, free: 37.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.767e-05/0.3771, allocations: 115.8 kB / 457.8 MB, free: 37.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.3771, allocations: 26.7 kB / 457.8 MB, free: 37.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.638e-05/0.3772, allocations: 90.33 kB / 457.9 MB, free: 37.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.3772, allocations: 18.86 kB / 457.9 MB, free: 37.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.3772, allocations: 26.39 kB / 458 MB, free: 37.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.986e-05/0.3773, allocations: 322 kB / 458.3 MB, free: 37.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.025e-05/0.3773, allocations: 13.16 kB / 458.3 MB, free: 37.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.205e-05/0.3774, allocations: 41.38 kB / 458.3 MB, free: 37.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.504e-05/0.3775, allocations: 117.8 kB / 458.4 MB, free: 36.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3775, allocations: 0 / 458.4 MB, free: 36.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001275/0.3776, allocations: 123.8 kB / 458.6 MB, free: 36.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.3776, allocations: 34.8 kB / 458.6 MB, free: 36.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3776, allocations: 0 / 458.6 MB, free: 36.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3777, allocations: 3.75 kB / 458.6 MB, free: 36.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.368e-05/0.3777, allocations: 5.5 kB / 458.6 MB, free: 36.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3777, allocations: 1.484 kB / 458.6 MB, free: 36.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.462e-05/0.3778, allocations: 12.8 kB / 458.6 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.3778, allocations: 5.406 kB / 458.6 MB, free: 36.84 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 8.045e-05/0.3779, allocations: 152.5 kB / 458.8 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.3779, allocations: 6.422 kB / 458.8 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.378, allocations: 11.12 kB / 458.8 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.378, allocations: 0.6094 kB / 458.8 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.378, allocations: 1.406 kB / 458.8 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.378, allocations: 0 / 458.8 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003033/0.3783, allocations: 410.7 kB / 459.2 MB, free: 36.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3783, allocations: 0 / 459.2 MB, free: 36.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.137e-06/0.3783, allocations: 6.688 kB / 459.2 MB, free: 36.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3783, allocations: 0 / 459.2 MB, free: 36.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.3783, allocations: 4.219 kB / 459.2 MB, free: 36.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3784, allocations: 0 / 459.2 MB, free: 36.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3784, allocations: 2.344 kB / 459.2 MB, free: 36.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.3785, allocations: 232.5 kB / 459.4 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.355e-05/0.3786, allocations: 84.83 kB / 459.5 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.3786, allocations: 2.812 kB / 459.5 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.962e-05/0.3787, allocations: 10.78 kB / 459.5 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.3787, allocations: 11.09 kB / 459.5 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.3788, allocations: 6.281 kB / 459.5 MB, free: 36.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.199e-05/0.3788, allocations: 92.25 kB / 459.6 MB, free: 36.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3788, allocations: 0 / 459.6 MB, free: 36.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002222/0.379, allocations: 11.53 kB / 459.6 MB, free: 36.01 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.532e-05/0.3791, allocations: 102.2 kB / 459.7 MB, free: 35.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000159/0.3793, allocations: 115.1 kB / 459.9 MB, free: 35.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.3793, allocations: 0 / 459.9 MB, free: 35.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.976e-05/0.3794, allocations: 98.84 kB / 460 MB, free: 35.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.3797, allocations: 18.89 kB / 460 MB, free: 35.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.38, allocations: 157.6 kB / 460.1 MB, free: 35.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.3801, allocations: 0.6902 MB / 460.8 MB, free: 34.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.915e-05/0.3802, allocations: 5.297 kB / 460.8 MB, free: 34.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.3802, allocations: 10.28 kB / 460.8 MB, free: 34.98 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3802, allocations: 0 / 460.8 MB, free: 34.98 MB / 382.1 MB Notification: Performance of Templates: time 0.00293/0.3831, allocations: 0.7787 MB / 461.6 MB, free: 34.95 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)