Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.01007/0.01007, allocations: 169.8 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8803/0.8803, allocations: 132.3 MB / 148.1 MB, free: 256 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.685/1.685, allocations: 223.2 MB / 403.2 MB, free: 6.75 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.0009598/0.0009597, allocations: 97.56 kB / 485.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003582, allocations: 12 kB / 0.5641 GB, free: 2.109 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6114/0.6118, allocations: 81.57 MB / 0.6437 GB, free: 39.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.164/0.7759, allocations: 111.6 MB / 0.7527 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/0.7763, allocations: 79.95 kB / 0.7528 GB, free: 8.234 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003977/0.7803, allocations: 1.235 MB / 0.754 GB, free: 6.996 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.275e-06/0.7803, allocations: 4 kB / 0.754 GB, free: 6.992 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.7804, allocations: 0 / 0.754 GB, free: 6.992 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.0005723/0.7809, allocations: 385 kB / 0.7544 GB, free: 6.562 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.781, allocations: 8.031 kB / 0.7544 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/0.781, allocations: 7.906 kB / 0.7544 GB, free: 6.547 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.7812, allocations: 178.9 kB / 0.7546 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.7812, allocations: 4 kB / 0.7546 GB, free: 6.328 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.7813, allocations: 3.984 kB / 0.7546 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.7814, allocations: 49.69 kB / 0.7546 GB, free: 6.27 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.7814, allocations: 0 / 0.7546 GB, free: 6.27 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.7815, allocations: 7.984 kB / 0.7546 GB, free: 6.262 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.7815, allocations: 0 / 0.7546 GB, free: 6.262 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.684e-05/0.7816, allocations: 15.98 kB / 0.7547 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005683/0.7821, allocations: 272.9 kB / 0.7549 GB, free: 5.93 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.7823, allocations: 46.5 kB / 0.755 GB, free: 5.875 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.7823, allocations: 3.938 kB / 0.755 GB, free: 5.871 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/0.7825, allocations: 101.1 kB / 0.7551 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.894e-06/0.7825, allocations: 0 / 0.7551 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0003615/0.7829, allocations: 224.5 kB / 0.7553 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.783, allocations: 85.09 kB / 0.7554 GB, free: 5.402 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.058e-05/0.7831, allocations: 109 kB / 0.7555 GB, free: 5.289 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.7831, allocations: 29.69 kB / 0.7555 GB, free: 5.254 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.728e-05/0.7831, allocations: 88.05 kB / 0.7556 GB, free: 5.164 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.7832, allocations: 15.81 kB / 0.7556 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/0.7832, allocations: 0 / 0.7556 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.7833, allocations: 322.8 kB / 0.7559 GB, free: 4.824 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.38e-05/0.7834, allocations: 15.94 kB / 0.7559 GB, free: 4.809 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.014e-05/0.7834, allocations: 42.56 kB / 0.756 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.44e-05/0.7835, allocations: 41.7 kB / 0.756 GB, free: 4.711 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.7835, allocations: 0 / 0.756 GB, free: 4.711 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001676/0.7837, allocations: 123.3 kB / 0.7561 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.035e-05/0.7837, allocations: 33.69 kB / 0.7561 GB, free: 4.539 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.7837, allocations: 4 kB / 0.7562 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.7837, allocations: 0 / 0.7562 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.206e-05/0.7838, allocations: 8.062 kB / 0.7562 GB, free: 4.527 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.7838, allocations: 0 / 0.7562 GB, free: 4.527 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.049e-05/0.7839, allocations: 23.84 kB / 0.7562 GB, free: 4.504 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.7839, allocations: 0 / 0.7562 GB, free: 4.504 MB / 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.0001288/0.784, allocations: 147.5 kB / 0.7563 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.7841, allocations: 4 kB / 0.7563 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.059e-05/0.7841, allocations: 16.36 kB / 0.7563 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.7841, allocations: 0 / 0.7563 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.7841, allocations: 4 kB / 0.7563 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.7842, allocations: 0 / 0.7563 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004149/0.7846, allocations: 400.5 kB / 0.7567 GB, free: 3.863 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.7846, allocations: 0 / 0.7567 GB, free: 3.863 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.216e-06/0.7846, allocations: 3.938 kB / 0.7567 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.7846, allocations: 0 / 0.7567 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.7846, allocations: 7.938 kB / 0.7567 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.7846, allocations: 0 / 0.7567 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.7846, allocations: 3.953 kB / 0.7567 GB, free: 3.848 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.7849, allocations: 233.1 kB / 0.757 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.7849, allocations: 89.06 kB / 0.7571 GB, free: 3.492 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.785, allocations: 8 kB / 0.7571 GB, free: 3.484 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.7851, allocations: 11.98 kB / 0.7571 GB, free: 3.473 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.7851, allocations: 4 kB / 0.7571 GB, free: 3.469 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.7852, allocations: 3.953 kB / 0.7571 GB, free: 3.465 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.221e-05/0.7852, allocations: 95.27 kB / 0.7572 GB, free: 3.371 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7852, allocations: 0 / 0.7572 GB, free: 3.371 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002277/0.7855, allocations: 16 kB / 0.7572 GB, free: 3.355 MB / 0.5261 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.0001421/0.7856, allocations: 97.12 kB / 0.7573 GB, free: 3.254 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001945/0.7858, allocations: 119.3 kB / 0.7574 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7858, allocations: 0 / 0.7574 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.7859, allocations: 95.33 kB / 0.7575 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.7862, allocations: 12.17 kB / 0.7575 GB, free: 3.008 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000407/0.7866, allocations: 160.7 kB / 0.7576 GB, free: 2.824 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.7869, allocations: 0.6887 MB / 0.7583 GB, free: 2.109 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.691e-05/0.7869, allocations: 0 / 0.7583 GB, free: 2.109 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/0.787, allocations: 11.44 kB / 0.7583 GB, free: 2.098 MB / 0.5261 GB Notification: Performance of SimCode: time 7.61e-07/0.787, allocations: 4 kB / 0.7583 GB, free: 2.094 MB / 0.5261 GB Notification: Performance of Templates: time 0.00335/0.7903, allocations: 0.7355 MB / 0.7591 GB, free: 1.371 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)