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.001251/0.001251, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001262/0.001262, allocations: 188.3 kB / 16.25 MB, free: 6.633 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.66/1.66, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4636/0.4636, allocations: 54.93 MB / 324.4 MB, free: 148 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.001322/0.001322, allocations: 64.47 kB / 394.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1492, allocations: 59.59 MB / 454.4 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Discrete.Examples.BooleanDelay): time 0.2843/0.4335, allocations: 1.473 MB / 455.9 MB, free: 39.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007208/0.4343, allocations: 478.7 kB / 456.4 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.894e-05/0.4344, allocations: 0 / 456.4 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.552e-05/0.4345, allocations: 0 / 456.4 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.905e-05/0.4346, allocations: 8.219 kB / 456.4 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.4348, allocations: 22.8 kB / 456.4 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.4349, allocations: 48.52 kB / 456.4 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.384e-05/0.435, allocations: 6.906 kB / 456.4 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.536e-05/0.435, allocations: 25.09 kB / 456.5 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.478e-05/0.4351, allocations: 14.44 kB / 456.5 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.4351, allocations: 5.25 kB / 456.5 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.4352, allocations: 2.719 kB / 456.5 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.762e-05/0.4352, allocations: 15.78 kB / 456.5 MB, free: 38.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.368e-05/0.4352, allocations: 21.64 kB / 456.5 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.4354, allocations: 43.19 kB / 456.6 MB, free: 38.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4354, allocations: 0 / 456.6 MB, free: 38.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4354, allocations: 1 kB / 456.6 MB, free: 38.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.4354, allocations: 0 / 456.6 MB, free: 38.86 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.0005676/0.436, allocations: 393.4 kB / 457 MB, free: 38.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.436, allocations: 11.69 kB / 457 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.436, allocations: 5.625 kB / 457 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.307e-05/0.4361, allocations: 175.1 kB / 457.1 MB, free: 38.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.4362, allocations: 5.562 kB / 457.2 MB, free: 38.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.4362, allocations: 3.031 kB / 457.2 MB, free: 38.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.4363, allocations: 52.14 kB / 457.2 MB, free: 38.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.4363, allocations: 3.219 kB / 457.2 MB, free: 38.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.4363, allocations: 2.844 kB / 457.2 MB, free: 38.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.4363, allocations: 3.156 kB / 457.2 MB, free: 38.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.556e-05/0.4364, allocations: 16.98 kB / 457.2 MB, free: 38.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003518/0.4368, allocations: 278.8 kB / 457.5 MB, free: 37.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.7e-05/0.4368, allocations: 45.81 kB / 457.5 MB, free: 37.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.201e-05/0.4369, allocations: 21.95 kB / 457.6 MB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.4369, allocations: 4.188 kB / 457.6 MB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.4371, allocations: 105.4 kB / 457.7 MB, free: 37.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.4371, allocations: 2.594 kB / 457.7 MB, free: 37.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000267/0.4374, allocations: 137.7 kB / 457.8 MB, free: 37.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.4374, allocations: 83.34 kB / 457.9 MB, free: 37.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.157e-05/0.4375, allocations: 109.3 kB / 458 MB, free: 37.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.4375, allocations: 28.61 kB / 458 MB, free: 37.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.173e-05/0.4376, allocations: 92.38 kB / 458.1 MB, free: 37.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.4376, allocations: 16.77 kB / 458.1 MB, free: 37.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.4376, allocations: 26 kB / 458.2 MB, free: 37.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.394e-05/0.4377, allocations: 325.6 kB / 458.5 MB, free: 37.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.193e-05/0.4378, allocations: 15.03 kB / 458.5 MB, free: 37.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.212e-05/0.4378, allocations: 43.12 kB / 458.5 MB, free: 37.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.063e-05/0.4379, allocations: 106.9 kB / 458.6 MB, free: 37.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4379, allocations: 0.6875 kB / 458.6 MB, free: 37.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001294/0.438, allocations: 127 kB / 458.8 MB, free: 36.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.4381, allocations: 33.95 kB / 458.8 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.4381, allocations: 0 / 458.8 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.4381, allocations: 0.6875 kB / 458.8 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.809e-05/0.4382, allocations: 7.438 kB / 458.8 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.4382, allocations: 5.203 kB / 458.8 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.305e-05/0.4382, allocations: 10.94 kB / 458.8 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.4383, allocations: 2.781 kB / 458.8 MB, free: 36.93 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.166e-05/0.4384, allocations: 159.5 kB / 459 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.4384, allocations: 2.469 kB / 459 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.4384, allocations: 7.672 kB / 459 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4384, allocations: 1.406 kB / 459 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.4384, allocations: 2.875 kB / 459 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.4384, allocations: 0 / 459 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.4388, allocations: 412.9 kB / 459.4 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4388, allocations: 3.969 kB / 459.4 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.835e-06/0.4388, allocations: 1.125 kB / 459.4 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.4388, allocations: 1.688 kB / 459.4 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.4388, allocations: 8.141 kB / 459.4 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4388, allocations: 0 / 459.4 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4388, allocations: 0 / 459.4 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.439, allocations: 235.7 kB / 459.6 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.747e-05/0.439, allocations: 83.64 kB / 459.7 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.4391, allocations: 3.375 kB / 459.7 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.744e-05/0.4392, allocations: 8.844 kB / 459.7 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.4392, allocations: 17.81 kB / 459.8 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.4393, allocations: 7.812 kB / 459.8 MB, free: 36.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.844e-05/0.4393, allocations: 83.52 kB / 459.8 MB, free: 36.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4393, allocations: 0 / 459.8 MB, free: 36.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002238/0.4395, allocations: 18.94 kB / 459.9 MB, free: 36.09 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.891e-05/0.4396, allocations: 97.91 kB / 460 MB, free: 36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001748/0.4398, allocations: 120.3 kB / 460.1 MB, free: 35.94 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4398, allocations: 4.938 kB / 460.1 MB, free: 35.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.874e-05/0.4399, allocations: 87.42 kB / 460.2 MB, free: 35.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.4402, allocations: 21.39 kB / 460.2 MB, free: 35.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.4405, allocations: 163.1 kB / 460.3 MB, free: 35.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.4406, allocations: 0.6898 MB / 461 MB, free: 35.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.752e-05/0.4407, allocations: 9.172 kB / 461 MB, free: 35.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/0.4407, allocations: 12.38 kB / 461.1 MB, free: 35.05 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4407, allocations: 0 / 461.1 MB, free: 35.05 MB / 382.1 MB Notification: Performance of Templates: time 0.003553/0.4443, allocations: 0.8179 MB / 461.9 MB, free: 35.02 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)