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.001546/0.001546, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.777/0.777, allocations: 130.7 MB / 138.8 MB, free: 3.488 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 221.5 MB / 391.8 MB, free: 14.17 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.0008342/0.0008341, allocations: 99.89 kB / 473.9 MB, free: 4.461 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.395e-05/1.399e-05, allocations: 0 / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4171, allocations: 81.57 MB / 0.6282 GB, free: 42.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1491/0.5662, allocations: 110.9 MB / 0.7364 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.5665, allocations: 75.94 kB / 0.7365 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003454/0.57, allocations: 1.223 MB / 0.7377 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.163e-06/0.57, allocations: 0 / 0.7377 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.57, allocations: 5.875 kB / 0.7377 GB, free: 14.56 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.000453/0.5705, allocations: 380.1 kB / 0.7381 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.5705, allocations: 8.031 kB / 0.7381 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.5705, allocations: 4 kB / 0.7381 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.5707, allocations: 178.9 kB / 0.7383 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.5707, allocations: 4 kB / 0.7383 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.5708, allocations: 4 kB / 0.7383 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.569e-05/0.5708, allocations: 15.98 kB / 0.7383 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.28e-05/0.5709, allocations: 45.69 kB / 0.7383 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.571, allocations: 0 / 0.7383 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.571, allocations: 0 / 0.7383 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.571, allocations: 0 / 0.7383 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.5714, allocations: 249.4 kB / 0.7386 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.108e-05/0.5715, allocations: 38.52 kB / 0.7386 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.571e-05/0.5715, allocations: 16.98 kB / 0.7386 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.5716, allocations: 8 kB / 0.7386 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.5717, allocations: 101.1 kB / 0.7387 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.5717, allocations: 0.9375 kB / 0.7387 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0002274/0.572, allocations: 85.61 kB / 0.7388 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.572, allocations: 89.08 kB / 0.7389 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.704e-05/0.5721, allocations: 97.55 kB / 0.739 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.5721, allocations: 25.7 kB / 0.739 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.811e-05/0.5722, allocations: 92.08 kB / 0.7391 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.5722, allocations: 19.8 kB / 0.7391 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-06/0.5722, allocations: 0 / 0.7391 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.5724, allocations: 322.8 kB / 0.7394 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.142e-05/0.5724, allocations: 12 kB / 0.7394 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.66e-05/0.5725, allocations: 38.5 kB / 0.7395 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.209e-05/0.5725, allocations: 20.38 kB / 0.7395 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.5725, allocations: 0 / 0.7395 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000128/0.5727, allocations: 89.56 kB / 0.7396 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/0.5727, allocations: 37.69 kB / 0.7396 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.5727, allocations: 0 / 0.7396 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.5728, allocations: 3.938 kB / 0.7396 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.792e-05/0.5728, allocations: 7.938 kB / 0.7396 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.5728, allocations: 0 / 0.7396 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.574e-05/0.5729, allocations: 11.94 kB / 0.7396 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.5729, allocations: 7.984 kB / 0.7396 GB, free: 12.36 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 () * 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.641e-05/0.573, allocations: 142.7 kB / 0.7398 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.573, allocations: 11.91 kB / 0.7398 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.5731, allocations: 4.625 kB / 0.7398 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.5731, allocations: 4 kB / 0.7398 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.5731, allocations: 0 / 0.7398 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.5731, allocations: 3.984 kB / 0.7398 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/0.5734, allocations: 335 kB / 0.7401 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.5734, allocations: 0 / 0.7401 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.815e-06/0.5735, allocations: 0 / 0.7401 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5735, allocations: 0 / 0.7401 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.5735, allocations: 12 kB / 0.7401 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.5735, allocations: 3.984 kB / 0.7401 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5735, allocations: 0 / 0.7401 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.5737, allocations: 195.5 kB / 0.7403 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.5738, allocations: 88.94 kB / 0.7404 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.5738, allocations: 4 kB / 0.7404 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.5739, allocations: 12 kB / 0.7404 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.574, allocations: 7.969 kB / 0.7404 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.574, allocations: 4 kB / 0.7404 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.181e-05/0.574, allocations: 91.27 kB / 0.7405 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/0.574, allocations: 0 / 0.7405 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002196/0.5743, allocations: 12 kB / 0.7405 GB, free: 11.36 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) * 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.000108/0.5744, allocations: 104.8 kB / 0.7406 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001674/0.5746, allocations: 99.41 kB / 0.7407 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.5746, allocations: 4.125 kB / 0.7407 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.354e-05/0.5746, allocations: 91.33 kB / 0.7408 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.5749, allocations: 11.95 kB / 0.7408 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002907/0.5752, allocations: 95.86 kB / 0.7409 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.5755, allocations: 0.6885 MB / 0.7416 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.807e-05/0.5755, allocations: 4 kB / 0.7416 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.5755, allocations: 15.44 kB / 0.7416 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of SimCode: time 2.61e-07/0.5755, allocations: 0 / 0.7416 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of Templates: time 0.002748/0.5783, allocations: 0.7029 MB / 0.7423 GB, free: 9.473 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)