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.001239/0.001238, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.0009214/0.0009216, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.936/1.936, allocations: 205.4 MB / 222.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4948/0.4948, allocations: 55.01 MB / 325.4 MB, free: 0.6484 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.0005485/0.0005487, allocations: 12 kB / 396.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4912/0.4918, allocations: 60.71 MB / 457.4 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Discrete.Examples.BooleanDelay): time 0.001654/0.4935, allocations: 1.131 MB / 458.5 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007018/0.4942, allocations: 449.8 kB / 458.9 MB, free: 38.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.235e-05/0.4943, allocations: 1.906 kB / 458.9 MB, free: 38.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.509e-05/0.4943, allocations: 4.547 kB / 458.9 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.639e-05/0.4944, allocations: 9 kB / 458.9 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.4946, allocations: 15.75 kB / 459 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.377e-05/0.4947, allocations: 41.2 kB / 459 MB, free: 38.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.4948, allocations: 12.92 kB / 459 MB, free: 38.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.746e-05/0.4949, allocations: 15.59 kB / 459 MB, free: 38.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.864e-05/0.4949, allocations: 27.28 kB / 459 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.495, allocations: 0 / 459 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.495, allocations: 2.594 kB / 459 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.003e-05/0.495, allocations: 9.719 kB / 459.1 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.885e-05/0.4951, allocations: 28.39 kB / 459.1 MB, free: 38.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.684e-05/0.4951, allocations: 30.03 kB / 459.1 MB, free: 38.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4951, allocations: 0 / 459.1 MB, free: 38.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4952, allocations: 0 / 459.1 MB, free: 38.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.4952, allocations: 0 / 459.1 MB, free: 38.09 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.0005375/0.4957, allocations: 394.8 kB / 459.5 MB, free: 37.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.4958, allocations: 9.594 kB / 459.5 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.4958, allocations: 4.188 kB / 459.5 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.4959, allocations: 168.8 kB / 459.7 MB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.4959, allocations: 5.5 kB / 459.7 MB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.496, allocations: 3.219 kB / 459.7 MB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.4961, allocations: 48.42 kB / 459.7 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.4961, allocations: 0 / 459.7 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.4961, allocations: 9.156 kB / 459.7 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.4961, allocations: 1.875 kB / 459.7 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.34e-05/0.4962, allocations: 18.62 kB / 459.8 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003623/0.4966, allocations: 278.1 kB / 460 MB, free: 37.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.034e-05/0.4966, allocations: 42.12 kB / 460.1 MB, free: 37.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.211e-05/0.4967, allocations: 21.66 kB / 460.1 MB, free: 37.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.4967, allocations: 0.8125 kB / 460.1 MB, free: 37.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.4969, allocations: 111.7 kB / 460.2 MB, free: 37.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.4969, allocations: 1.312 kB / 460.2 MB, free: 37.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000263/0.4972, allocations: 133 kB / 460.3 MB, free: 37.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.4972, allocations: 90.92 kB / 460.4 MB, free: 36.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.383e-05/0.4973, allocations: 111.1 kB / 460.5 MB, free: 36.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.4973, allocations: 28.52 kB / 460.6 MB, free: 36.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.262e-05/0.4974, allocations: 87.78 kB / 460.6 MB, free: 36.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.4974, allocations: 24.39 kB / 460.7 MB, free: 36.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.4974, allocations: 0.625 kB / 460.7 MB, free: 36.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.773e-05/0.4975, allocations: 318.4 kB / 461 MB, free: 36.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.951e-05/0.4975, allocations: 15.34 kB / 461 MB, free: 36.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.117e-05/0.4975, allocations: 34.44 kB / 461 MB, free: 36.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.489e-05/0.4976, allocations: 49.39 kB / 461.1 MB, free: 36.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4976, allocations: 0 / 461.1 MB, free: 36.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001333/0.4977, allocations: 129.1 kB / 461.2 MB, free: 36.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.4978, allocations: 32.73 kB / 461.2 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4978, allocations: 0.5 kB / 461.2 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.4978, allocations: 4.719 kB / 461.2 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.574e-05/0.4979, allocations: 8 kB / 461.3 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.4979, allocations: 1.25 kB / 461.3 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.747e-05/0.498, allocations: 13.91 kB / 461.3 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.498, allocations: 4.891 kB / 461.3 MB, free: 36.23 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 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.801e-05/0.4981, allocations: 154.1 kB / 461.4 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.4981, allocations: 10.77 kB / 461.4 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.4981, allocations: 11.58 kB / 461.4 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4981, allocations: 0 / 461.4 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4981, allocations: 2.281 kB / 461.4 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4981, allocations: 0 / 461.4 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002946/0.4984, allocations: 405.7 kB / 461.8 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.4984, allocations: 3.969 kB / 461.8 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.364e-06/0.4985, allocations: 0 / 461.8 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.4985, allocations: 0 / 461.8 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.4985, allocations: 5.766 kB / 461.9 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.4985, allocations: 3.719 kB / 461.9 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.4985, allocations: 0.8125 kB / 461.9 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.4987, allocations: 235.9 kB / 462.1 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.332e-05/0.4987, allocations: 81.06 kB / 462.2 MB, free: 35.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.4987, allocations: 2.625 kB / 462.2 MB, free: 35.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.567e-05/0.4988, allocations: 21.27 kB / 462.2 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.4989, allocations: 10.28 kB / 462.2 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.4989, allocations: 4.438 kB / 462.2 MB, free: 35.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.163e-05/0.4989, allocations: 87.72 kB / 462.3 MB, free: 35.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.499, allocations: 0 / 462.3 MB, free: 35.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002212/0.4992, allocations: 14.91 kB / 462.3 MB, free: 35.39 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.592e-05/0.4993, allocations: 97.72 kB / 462.4 MB, free: 35.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001702/0.4994, allocations: 123.6 kB / 462.5 MB, free: 35.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4994, allocations: 0 / 462.5 MB, free: 35.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.599e-05/0.4995, allocations: 84.78 kB / 462.6 MB, free: 35.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.4998, allocations: 19.77 kB / 462.6 MB, free: 35.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000359/0.5002, allocations: 166.8 kB / 462.8 MB, free: 35.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.5004, allocations: 0.6828 MB / 463.5 MB, free: 34.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.89e-05/0.5004, allocations: 7.609 kB / 463.5 MB, free: 34.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.5004, allocations: 13.94 kB / 463.5 MB, free: 34.35 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5004, allocations: 0 / 463.5 MB, free: 34.35 MB / 382.1 MB Notification: Performance of Templates: time 0.003286/0.5037, allocations: 0.7313 MB / 464.2 MB, free: 34.31 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: