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.3055/0.3055, allocations: 55.01 MB / 69.96 MB, free: 8.668 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.001095/0.001095, allocations: 198.9 kB / 83.98 MB, free: 10.84 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.833/1.833, allocations: 194.4 MB / 292.3 MB, free: 3.582 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001673/0.001673, allocations: 108.2 kB / 350.7 MB, free: 9.09 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003641, allocations: 12 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1291, allocations: 57.64 MB / 476.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4446/0.5737, allocations: 86.17 MB / 0.5495 GB, free: 3.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.574, allocations: 73.14 kB / 0.5496 GB, free: 3.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003138/0.5772, allocations: 1.172 MB / 0.5507 GB, free: 2.211 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.5772, allocations: 0 / 0.5507 GB, free: 2.211 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.5772, allocations: 8 kB / 0.5507 GB, free: 2.203 MB / 362.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.0004526/0.5777, allocations: 392 kB / 0.5511 GB, free: 1.773 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.5777, allocations: 11.97 kB / 0.5511 GB, free: 1.762 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.5778, allocations: 4 kB / 0.5511 GB, free: 1.758 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.952e-05/0.5779, allocations: 167 kB / 0.5513 GB, free: 1.555 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.5779, allocations: 8 kB / 0.5513 GB, free: 1.547 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.5779, allocations: 0 / 0.5513 GB, free: 1.547 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.5781, allocations: 52.89 kB / 0.5513 GB, free: 1.496 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.5781, allocations: 0 / 0.5513 GB, free: 1.496 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.5781, allocations: 0 / 0.5513 GB, free: 1.496 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.5781, allocations: 4 kB / 0.5513 GB, free: 1.492 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.633e-05/0.5782, allocations: 22.17 kB / 0.5513 GB, free: 1.477 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.5785, allocations: 266.8 kB / 0.5516 GB, free: 1.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.059e-05/0.5786, allocations: 53.44 kB / 0.5516 GB, free: 1.125 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.5787, allocations: 0 / 0.5516 GB, free: 1.125 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.5788, allocations: 99.59 kB / 0.5517 GB, free: 1.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.5788, allocations: 0 / 0.5517 GB, free: 1.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002711/0.5791, allocations: 222.9 kB / 0.552 GB, free: 0.793 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.5792, allocations: 81.05 kB / 0.552 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.363e-05/0.5792, allocations: 104.9 kB / 0.5521 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.5792, allocations: 33.14 kB / 0.5522 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.689e-05/0.5793, allocations: 84.02 kB / 0.5522 GB, free: 484 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.5793, allocations: 15.88 kB / 0.5523 GB, free: 468 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.5793, allocations: 3.375 kB / 0.5523 GB, free: 468 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.305e-05/0.5794, allocations: 318.8 kB / 0.5526 GB, free: 140 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.891e-05/0.5794, allocations: 14.44 kB / 0.5526 GB, free: 132 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.837e-05/0.5795, allocations: 41.95 kB / 0.5526 GB, free: 92 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.995e-05/0.5795, allocations: 44.77 kB / 0.5527 GB, free: 48 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5795, allocations: 0 / 0.5527 GB, free: 48 kB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001818/0.5797, allocations: 132.6 kB / 0.5528 GB, free: 15.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.658e-05/0.5797, allocations: 30.08 kB / 0.5528 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5797, allocations: 0 / 0.5528 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.5798, allocations: 4 kB / 0.5528 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.687e-05/0.5798, allocations: 7.938 kB / 0.5528 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.5798, allocations: 4.391 kB / 0.5528 GB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.833e-05/0.5799, allocations: 17.55 kB / 0.5529 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.5799, allocations: 4 kB / 0.5529 GB, free: 15.86 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 () * 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 0.0001156/0.5801, allocations: 153 kB / 0.553 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.5801, allocations: 11.94 kB / 0.553 GB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.5801, allocations: 7.75 kB / 0.553 GB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.5801, allocations: 4 kB / 0.553 GB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5801, allocations: 0 / 0.553 GB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.5801, allocations: 4 kB / 0.553 GB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004085/0.5806, allocations: 406.9 kB / 0.5534 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.5806, allocations: 0 / 0.5534 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.504e-06/0.5806, allocations: 0 / 0.5534 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.5806, allocations: 0 / 0.5534 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.5806, allocations: 7.984 kB / 0.5534 GB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5806, allocations: 0 / 0.5534 GB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5806, allocations: 80 / 0.5534 GB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.5809, allocations: 232.7 kB / 0.5536 GB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.335e-05/0.5809, allocations: 84.97 kB / 0.5537 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.581, allocations: 7.812 kB / 0.5537 GB, free: 14.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.5811, allocations: 12.05 kB / 0.5537 GB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/0.5812, allocations: 11.98 kB / 0.5538 GB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.5812, allocations: 0 / 0.5538 GB, free: 14.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.79e-05/0.5812, allocations: 91.14 kB / 0.5538 GB, free: 14.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5812, allocations: 0 / 0.5538 GB, free: 14.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002264/0.5815, allocations: 19.06 kB / 0.5539 GB, free: 14.78 MB / 378.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) * 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 0.0001032/0.5816, allocations: 104 kB / 0.554 GB, free: 14.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001826/0.5818, allocations: 116.3 kB / 0.5541 GB, free: 14.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5818, allocations: 0 / 0.5541 GB, free: 14.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.081e-05/0.5819, allocations: 91.08 kB / 0.5542 GB, free: 14.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.5821, allocations: 11.92 kB / 0.5542 GB, free: 14.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003476/0.5825, allocations: 160.7 kB / 0.5543 GB, free: 14.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.5827, allocations: 0.6887 MB / 0.555 GB, free: 13.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.354e-05/0.5828, allocations: 15.62 kB / 0.555 GB, free: 13.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.5828, allocations: 11.44 kB / 0.555 GB, free: 13.54 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.5828, allocations: 0 / 0.555 GB, free: 13.54 MB / 378.7 MB Notification: Performance of Templates: time 0.002835/0.5857, allocations: 0.7386 MB / 0.5557 GB, free: 12.82 MB / 378.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)