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/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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/Annex60 1.0.0/package.mo): time 0.2861/0.2861, allocations: 54.34 MB / 66.9 MB, free: 6.086 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00111/0.00111, allocations: 179.9 kB / 80.71 MB, free: 15.39 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.781/1.781, allocations: 194.2 MB / 288.6 MB, free: 15 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001724/0.001725, allocations: 116.2 kB / 346.9 MB, free: 4.727 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.597e-05/4.599e-05, allocations: 4 kB / 412.4 MB, free: 21.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1612, allocations: 57.65 MB / 470 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5324/0.6937, allocations: 86.08 MB / 0.5431 GB, free: 4.355 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.694, allocations: 71.95 kB / 0.5431 GB, free: 4.285 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003508/0.6975, allocations: 1.164 MB / 0.5443 GB, free: 3.133 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.308e-06/0.6976, allocations: 0 / 0.5443 GB, free: 3.133 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.717e-05/0.6976, allocations: 0 / 0.5443 GB, free: 3.133 MB / 378.7 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.0006747/0.6983, allocations: 384.6 kB / 0.5446 GB, free: 2.707 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.01e-05/0.6984, allocations: 12.03 kB / 0.5446 GB, free: 2.695 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.824e-05/0.6984, allocations: 3.906 kB / 0.5447 GB, free: 2.691 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.6987, allocations: 167.1 kB / 0.5448 GB, free: 2.488 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.6988, allocations: 4 kB / 0.5448 GB, free: 2.484 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.6988, allocations: 4 kB / 0.5448 GB, free: 2.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.699, allocations: 53.64 kB / 0.5449 GB, free: 2.422 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.699, allocations: 4 kB / 0.5449 GB, free: 2.418 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.699, allocations: 0 / 0.5449 GB, free: 2.418 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.6991, allocations: 0 / 0.5449 GB, free: 2.418 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.79e-05/0.6991, allocations: 23.98 kB / 0.5449 GB, free: 2.395 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005515/0.6997, allocations: 264.8 kB / 0.5451 GB, free: 2.086 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.6998, allocations: 53.98 kB / 0.5452 GB, free: 2.027 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.196e-05/0.6999, allocations: 20.98 kB / 0.5452 GB, free: 2.004 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.6999, allocations: 0 / 0.5452 GB, free: 2.004 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.7001, allocations: 101 kB / 0.5453 GB, free: 1.887 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.7001, allocations: 0 / 0.5453 GB, free: 1.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002719/0.7004, allocations: 119.4 kB / 0.5454 GB, free: 1.758 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.976e-05/0.7005, allocations: 85.09 kB / 0.5455 GB, free: 1.656 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.707e-05/0.7006, allocations: 109 kB / 0.5456 GB, free: 1.543 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.7006, allocations: 27.67 kB / 0.5456 GB, free: 1.512 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.7007, allocations: 84.14 kB / 0.5457 GB, free: 1.426 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.7007, allocations: 15.81 kB / 0.5457 GB, free: 1.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-06/0.7007, allocations: 3.938 kB / 0.5457 GB, free: 1.406 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.7009, allocations: 322.8 kB / 0.546 GB, free: 1.082 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.222e-05/0.7009, allocations: 12 kB / 0.5461 GB, free: 1.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.389e-05/0.701, allocations: 38.58 kB / 0.5461 GB, free: 1.023 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.98e-05/0.7011, allocations: 45.78 kB / 0.5461 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7011, allocations: 3.938 kB / 0.5461 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001821/0.7013, allocations: 131.2 kB / 0.5463 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/0.7013, allocations: 29.7 kB / 0.5463 GB, free: 0.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.7013, allocations: 4 kB / 0.5463 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.7013, allocations: 0 / 0.5463 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.403e-05/0.7014, allocations: 7.984 kB / 0.5463 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.7014, allocations: 8 kB / 0.5463 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.228e-05/0.7015, allocations: 11.94 kB / 0.5463 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.7015, allocations: 0 / 0.5463 GB, free: 0.7617 MB / 378.7 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.pulsStart,booleanPulse.pulsStart) * Number of discrete 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 0.0001327/0.7016, allocations: 150.5 kB / 0.5465 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.7017, allocations: 11.86 kB / 0.5465 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/0.7017, allocations: 8.625 kB / 0.5465 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.7017, allocations: 4 kB / 0.5465 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.7017, allocations: 4.062 kB / 0.5465 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.7017, allocations: 4 kB / 0.5465 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004429/0.7022, allocations: 392.2 kB / 0.5469 GB, free: 124 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7022, allocations: 0 / 0.5469 GB, free: 124 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.808e-06/0.7022, allocations: 3.984 kB / 0.5469 GB, free: 120 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.7022, allocations: 0 / 0.5469 GB, free: 120 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.7023, allocations: 8 kB / 0.5469 GB, free: 112 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.7023, allocations: 0 / 0.5469 GB, free: 112 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.7023, allocations: 0 / 0.5469 GB, free: 112 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.7025, allocations: 237 kB / 0.5471 GB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.7027, allocations: 81.11 kB / 0.5472 GB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.7027, allocations: 4 kB / 0.5472 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.7028, allocations: 11.98 kB / 0.5472 GB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.677e-05/0.7029, allocations: 7.984 kB / 0.5472 GB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.7029, allocations: 4 kB / 0.5472 GB, free: 15.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.062e-05/0.703, allocations: 91.81 kB / 0.5473 GB, free: 15.64 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.703, allocations: 4 kB / 0.5473 GB, free: 15.64 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002252/0.7032, allocations: 19.94 kB / 0.5473 GB, free: 15.62 MB / 394.7 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.pulsStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * 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 0.0001312/0.7034, allocations: 97.12 kB / 0.5474 GB, free: 15.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.7036, allocations: 115.3 kB / 0.5475 GB, free: 15.39 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7036, allocations: 0 / 0.5475 GB, free: 15.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.846e-05/0.7037, allocations: 87.34 kB / 0.5476 GB, free: 15.29 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.7039, allocations: 20.05 kB / 0.5476 GB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.7042, allocations: 104.8 kB / 0.5477 GB, free: 15.15 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.7046, allocations: 0.6887 MB / 0.5484 GB, free: 14.43 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.222e-05/0.7046, allocations: 11.64 kB / 0.5484 GB, free: 14.42 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.985e-05/0.7047, allocations: 7.438 kB / 0.5484 GB, free: 14.41 MB / 394.7 MB Notification: Performance of SimCode: time 3.9e-07/0.7047, allocations: 0 / 0.5484 GB, free: 14.41 MB / 394.7 MB Notification: Performance of Templates: time 0.003115/0.7078, allocations: 0.7422 MB / 0.5491 GB, free: 13.68 MB / 394.7 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)