Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.conf.json 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/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009907/0.009907, allocations: 170.5 kB / 15.11 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7756/0.7756, allocations: 135.2 MB / 151.1 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 223.2 MB / 406.9 MB, free: 3.219 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009889/0.0009892, allocations: 90.58 kB / 489.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003537, allocations: 12 kB / 0.5691 GB, free: 14.23 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5311/0.5315, allocations: 82.3 MB / 0.6495 GB, free: 36.22 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1748/0.7063, allocations: 111.9 MB / 0.7587 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.7066, allocations: 71.97 kB / 0.7588 GB, free: 4.133 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003593/0.7102, allocations: 1.235 MB / 0.76 GB, free: 2.895 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7103, allocations: 0 / 0.76 GB, free: 2.895 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.166e-06/0.7103, allocations: 0 / 0.76 GB, free: 2.895 MB / 0.5261 GB 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.0005463/0.7108, allocations: 381 kB / 0.7603 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.7109, allocations: 8.031 kB / 0.7604 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.053e-05/0.7109, allocations: 11.91 kB / 0.7604 GB, free: 2.449 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.7111, allocations: 182.9 kB / 0.7605 GB, free: 2.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.7112, allocations: 4 kB / 0.7605 GB, free: 2.227 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.7112, allocations: 4 kB / 0.7605 GB, free: 2.223 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.7113, allocations: 49.67 kB / 0.7606 GB, free: 2.168 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.7113, allocations: 0 / 0.7606 GB, free: 2.168 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.7114, allocations: 7.938 kB / 0.7606 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.7114, allocations: 0 / 0.7606 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.112e-05/0.7114, allocations: 23.92 kB / 0.7606 GB, free: 2.137 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.7119, allocations: 268.9 kB / 0.7609 GB, free: 1.824 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.203e-05/0.712, allocations: 38.56 kB / 0.7609 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.7121, allocations: 4.125 kB / 0.7609 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.7123, allocations: 104.9 kB / 0.761 GB, free: 1.652 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.7123, allocations: 3.938 kB / 0.761 GB, free: 1.648 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0003568/0.7126, allocations: 224.5 kB / 0.7612 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.7127, allocations: 85.11 kB / 0.7613 GB, free: 1.297 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.425e-05/0.7128, allocations: 105 kB / 0.7614 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.7128, allocations: 25.7 kB / 0.7614 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.305e-05/0.7129, allocations: 92.05 kB / 0.7615 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.7129, allocations: 11.81 kB / 0.7615 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.7129, allocations: 4 kB / 0.7616 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.7131, allocations: 318.8 kB / 0.7619 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.203e-05/0.7131, allocations: 16 kB / 0.7619 GB, free: 0.7109 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.833e-05/0.7132, allocations: 38.56 kB / 0.7619 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.179e-05/0.7132, allocations: 45.7 kB / 0.762 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.7132, allocations: 0 / 0.762 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001555/0.7134, allocations: 127.3 kB / 0.7621 GB, free: 488 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.165e-05/0.7135, allocations: 33.7 kB / 0.7621 GB, free: 448 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.7135, allocations: 0 / 0.7621 GB, free: 448 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.7135, allocations: 4 kB / 0.7621 GB, free: 444 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.213e-05/0.7135, allocations: 8 kB / 0.7621 GB, free: 436 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.7136, allocations: 0 / 0.7621 GB, free: 436 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.485e-05/0.7136, allocations: 15.89 kB / 0.7621 GB, free: 420 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.3e-05/0.7137, allocations: 4 kB / 0.7621 GB, free: 416 kB / 0.5261 GB 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 0.0001282/0.7138, allocations: 153.2 kB / 0.7623 GB, free: 248 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.7138, allocations: 7.984 kB / 0.7623 GB, free: 240 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.7139, allocations: 4.75 kB / 0.7623 GB, free: 236 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.7139, allocations: 4 kB / 0.7623 GB, free: 232 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.7139, allocations: 0 / 0.7623 GB, free: 232 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.7139, allocations: 4 kB / 0.7623 GB, free: 228 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004219/0.7143, allocations: 400.1 kB / 0.7627 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.7144, allocations: 0 / 0.7627 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.266e-05/0.7144, allocations: 7.938 kB / 0.7627 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.7144, allocations: 0 / 0.7627 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.7144, allocations: 4 kB / 0.7627 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/0.7144, allocations: 3.984 kB / 0.7627 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7144, allocations: 7.938 kB / 0.7627 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.7146, allocations: 229.1 kB / 0.7629 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.7147, allocations: 85.02 kB / 0.763 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.7147, allocations: 4.062 kB / 0.763 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.7148, allocations: 15.98 kB / 0.763 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.311e-05/0.7149, allocations: 7.938 kB / 0.763 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.7149, allocations: 7.984 kB / 0.763 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.033e-05/0.715, allocations: 87.28 kB / 0.7631 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.11e-07/0.715, allocations: 0 / 0.7631 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002117/0.7152, allocations: 19.95 kB / 0.7631 GB, free: 15.26 MB / 0.5417 GB 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 0.0001163/0.7153, allocations: 104.5 kB / 0.7632 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001943/0.7155, allocations: 111.3 kB / 0.7633 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.7155, allocations: 0 / 0.7633 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.161e-05/0.7156, allocations: 87.39 kB / 0.7634 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.7159, allocations: 20.11 kB / 0.7634 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.7162, allocations: 149.6 kB / 0.7636 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.7165, allocations: 0.6887 MB / 0.7643 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.274e-05/0.7166, allocations: 7.984 kB / 0.7643 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.7166, allocations: 19.38 kB / 0.7643 GB, free: 14 MB / 0.5417 GB Notification: Performance of SimCode: time 3.11e-07/0.7166, allocations: 0 / 0.7643 GB, free: 14 MB / 0.5417 GB Notification: Performance of Templates: time 0.003063/0.7197, allocations: 0.7372 MB / 0.765 GB, free: 13.27 MB / 0.5417 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)