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.001206/0.001206, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001145/0.001145, allocations: 177.3 kB / 15.94 MB, free: 228 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.525/1.525, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3938/0.3938, allocations: 54.98 MB / 325.4 MB, free: 0.7188 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.0008058/0.0008059, allocations: 12 kB / 396.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.323, allocations: 60.71 MB / 457.3 MB, free: 38.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Discrete.Examples.BooleanDelay): time 0.001395/0.3244, allocations: 1.118 MB / 458.4 MB, free: 38.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006141/0.325, allocations: 452.5 kB / 458.9 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.506e-05/0.3251, allocations: 2.719 kB / 458.9 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.387e-05/0.3251, allocations: 3.188 kB / 458.9 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.607e-05/0.3252, allocations: 10.72 kB / 458.9 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/0.3254, allocations: 15.48 kB / 458.9 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.261e-05/0.3254, allocations: 38.19 kB / 458.9 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.054e-05/0.3255, allocations: 2.625 kB / 458.9 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.884e-05/0.3256, allocations: 22.19 kB / 459 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.648e-05/0.3257, allocations: 19.58 kB / 459 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.3257, allocations: 4.062 kB / 459 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.3257, allocations: 0 / 459 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.3257, allocations: 2.844 kB / 459 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.3258, allocations: 40.08 kB / 459 MB, free: 37.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.985e-05/0.3259, allocations: 22.95 kB / 459 MB, free: 37.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3259, allocations: 4.531 kB / 459 MB, free: 37.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3259, allocations: 1.094 kB / 459 MB, free: 37.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.3259, allocations: 0 / 459 MB, free: 37.93 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.0005548/0.3265, allocations: 391.7 kB / 459.4 MB, free: 37.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.3265, allocations: 8.25 kB / 459.4 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.3265, allocations: 3.719 kB / 459.4 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.3267, allocations: 172.8 kB / 459.6 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.3267, allocations: 3.094 kB / 459.6 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.3267, allocations: 6.812 kB / 459.6 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.3269, allocations: 55.66 kB / 459.7 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.3269, allocations: 0.9688 kB / 459.7 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.3269, allocations: 2.75 kB / 459.7 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3269, allocations: 0 / 459.7 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.876e-05/0.327, allocations: 20.44 kB / 459.7 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.3274, allocations: 278 kB / 460 MB, free: 37.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.729e-05/0.3275, allocations: 43.78 kB / 460 MB, free: 37.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.3275, allocations: 0 / 460 MB, free: 37.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.3277, allocations: 112.4 kB / 460.1 MB, free: 36.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.3277, allocations: 0 / 460.1 MB, free: 36.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000335/0.328, allocations: 216.6 kB / 460.3 MB, free: 36.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.3281, allocations: 84.62 kB / 460.4 MB, free: 36.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.503e-05/0.3282, allocations: 112.8 kB / 460.5 MB, free: 36.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.3282, allocations: 25.7 kB / 460.5 MB, free: 36.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.413e-05/0.3282, allocations: 88.8 kB / 460.6 MB, free: 36.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.3283, allocations: 14.22 kB / 460.6 MB, free: 36.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.3283, allocations: 3.719 kB / 460.7 MB, free: 36.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.734e-05/0.3284, allocations: 317.9 kB / 461 MB, free: 36.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.863e-05/0.3284, allocations: 15.53 kB / 461 MB, free: 36.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.838e-05/0.3284, allocations: 37.17 kB / 461 MB, free: 36.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.306e-05/0.3285, allocations: 50.17 kB / 461.1 MB, free: 36.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3285, allocations: 0 / 461.1 MB, free: 36.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001321/0.3286, allocations: 134.3 kB / 461.2 MB, free: 36.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.3287, allocations: 39.56 kB / 461.2 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3287, allocations: 0 / 461.2 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3287, allocations: 4.594 kB / 461.2 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.17e-05/0.3287, allocations: 0 / 461.2 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3288, allocations: 6.469 kB / 461.2 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.552e-05/0.3288, allocations: 6.219 kB / 461.2 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.3288, allocations: 4.672 kB / 461.3 MB, free: 35.99 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 8.753e-05/0.3289, allocations: 152 kB / 461.4 MB, free: 35.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.329, allocations: 11.78 kB / 461.4 MB, free: 35.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/0.329, allocations: 8.328 kB / 461.4 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.329, allocations: 0 / 461.4 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.329, allocations: 2.75 kB / 461.4 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.329, allocations: 3.188 kB / 461.4 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.3293, allocations: 397.7 kB / 461.8 MB, free: 35.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.3294, allocations: 5.328 kB / 461.8 MB, free: 35.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.498e-06/0.3294, allocations: 7.859 kB / 461.8 MB, free: 35.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3294, allocations: 0 / 461.8 MB, free: 35.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.3294, allocations: 6.109 kB / 461.8 MB, free: 35.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3294, allocations: 1 kB / 461.8 MB, free: 35.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3294, allocations: 0 / 461.8 MB, free: 35.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.3296, allocations: 231.5 kB / 462.1 MB, free: 35.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.3296, allocations: 88.12 kB / 462.1 MB, free: 35.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.3296, allocations: 2.844 kB / 462.2 MB, free: 35.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.3298, allocations: 19.06 kB / 462.2 MB, free: 35.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.3298, allocations: 10.3 kB / 462.2 MB, free: 35.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.3298, allocations: 3.75 kB / 462.2 MB, free: 35.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.169e-05/0.3299, allocations: 87.59 kB / 462.3 MB, free: 35.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3299, allocations: 0.6875 kB / 462.3 MB, free: 35.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002238/0.3301, allocations: 16.19 kB / 462.3 MB, free: 35.15 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 9.111e-05/0.3302, allocations: 99.03 kB / 462.4 MB, free: 35.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001568/0.3304, allocations: 111.9 kB / 462.5 MB, free: 35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.3304, allocations: 8.094 kB / 462.5 MB, free: 35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.853e-05/0.3305, allocations: 93.47 kB / 462.6 MB, free: 34.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.3307, allocations: 9.141 kB / 462.6 MB, free: 34.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003114/0.331, allocations: 167.2 kB / 462.8 MB, free: 34.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.3312, allocations: 0.6938 MB / 463.5 MB, free: 34.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.743e-05/0.3312, allocations: 2.844 kB / 463.5 MB, free: 34.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.3312, allocations: 10.12 kB / 463.5 MB, free: 34.11 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3312, allocations: 0 / 463.5 MB, free: 34.11 MB / 382.1 MB Notification: Performance of Templates: time 0.003248/0.3345, allocations: 0.7291 MB / 464.2 MB, free: 34.08 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: