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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005554/0.005554, allocations: 98.17 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 193.3 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7434/0.7434, allocations: 132.2 MB / 422.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 57.66 kB / 0.5813 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1469, allocations: 80.21 MB / 0.6596 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.00239/0.1493, allocations: 1.413 MB / 0.661 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007356/0.1501, allocations: 442.9 kB / 0.6614 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.643e-05/0.1501, allocations: 0 / 0.6614 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.203e-05/0.1502, allocations: 3.938 kB / 0.6614 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.413e-05/0.1503, allocations: 15.91 kB / 0.6615 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.1504, allocations: 27.86 kB / 0.6615 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.1506, allocations: 47.86 kB / 0.6615 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1507, allocations: 7.984 kB / 0.6615 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5e-05/0.1507, allocations: 15.94 kB / 0.6615 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.282e-05/0.1508, allocations: 27.91 kB / 0.6616 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.1509, allocations: 7.984 kB / 0.6616 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.511e-05/0.1509, allocations: 4 kB / 0.6616 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.646e-05/0.1509, allocations: 0 / 0.6616 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.818e-05/0.151, allocations: 31.8 kB / 0.6616 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.1511, allocations: 43.83 kB / 0.6617 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1511, allocations: 3.938 kB / 0.6617 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.795e-06/0.1511, allocations: 0 / 0.6617 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.1511, allocations: 3.938 kB / 0.6617 GB, free: 8.188 MB / 0.4981 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.0005613/0.1517, allocations: 393 kB / 0.662 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.1518, allocations: 8.031 kB / 0.662 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.1518, allocations: 4.938 kB / 0.6621 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.1519, allocations: 172.3 kB / 0.6622 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.1519, allocations: 8.375 kB / 0.6622 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.152, allocations: 12.36 kB / 0.6622 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.1521, allocations: 46 kB / 0.6623 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1521, allocations: 7.938 kB / 0.6623 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1521, allocations: 0 / 0.6623 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1521, allocations: 0 / 0.6623 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.372e-05/0.1522, allocations: 19.98 kB / 0.6623 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.1525, allocations: 268.8 kB / 0.6626 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.023e-05/0.1526, allocations: 42.56 kB / 0.6626 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.429e-05/0.1527, allocations: 20.98 kB / 0.6626 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.1527, allocations: 3.984 kB / 0.6626 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.1529, allocations: 105 kB / 0.6627 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.1529, allocations: 0 / 0.6627 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002606/0.1532, allocations: 143.3 kB / 0.6629 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.1532, allocations: 85.11 kB / 0.6629 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.446e-05/0.1533, allocations: 113.9 kB / 0.6631 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.1533, allocations: 29.7 kB / 0.6631 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.014e-05/0.1534, allocations: 88.09 kB / 0.6632 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.1534, allocations: 19.84 kB / 0.6632 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.1534, allocations: 25.7 kB / 0.6632 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1536, allocations: 322.8 kB / 0.6635 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.225e-05/0.1536, allocations: 16 kB / 0.6635 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.087e-05/0.1537, allocations: 38.84 kB / 0.6636 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.691e-05/0.1538, allocations: 109.9 kB / 0.6637 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1538, allocations: 0 / 0.6637 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001429/0.1539, allocations: 131.3 kB / 0.6638 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.154, allocations: 37.64 kB / 0.6638 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.154, allocations: 4.125 kB / 0.6638 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.154, allocations: 7.938 kB / 0.6638 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.159e-05/0.154, allocations: 8 kB / 0.6639 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.154, allocations: 3.938 kB / 0.6639 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.721e-05/0.1541, allocations: 7.984 kB / 0.6639 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.1541, allocations: 4 kB / 0.6639 GB, free: 5.637 MB / 0.4981 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 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.1542, allocations: 155.4 kB / 0.664 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.1542, allocations: 7.953 kB / 0.664 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.204e-05/0.1543, allocations: 12.38 kB / 0.664 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1543, allocations: 4 kB / 0.664 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1543, allocations: 0 / 0.664 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1543, allocations: 0 / 0.664 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003489/0.1546, allocations: 396.2 kB / 0.6644 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1547, allocations: 0 / 0.6644 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.624e-06/0.1547, allocations: 0 / 0.6644 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1547, allocations: 0 / 0.6644 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.1547, allocations: 11.97 kB / 0.6644 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1547, allocations: 0 / 0.6644 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1547, allocations: 4 kB / 0.6644 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.1549, allocations: 237.1 kB / 0.6647 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/0.1549, allocations: 77.11 kB / 0.6647 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.155, allocations: 4 kB / 0.6647 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.451e-05/0.1551, allocations: 7.984 kB / 0.6647 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.1551, allocations: 15.92 kB / 0.6648 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.1551, allocations: 4 kB / 0.6648 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.805e-05/0.1552, allocations: 87.28 kB / 0.6648 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1552, allocations: 0 / 0.6648 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002153/0.1554, allocations: 19.95 kB / 0.6649 GB, free: 4.492 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.609e-05/0.1555, allocations: 103.2 kB / 0.665 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001579/0.1557, allocations: 115.3 kB / 0.6651 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1557, allocations: 0 / 0.6651 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.21e-05/0.1558, allocations: 91.33 kB / 0.6652 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.156, allocations: 16.11 kB / 0.6652 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002887/0.1563, allocations: 153.4 kB / 0.6653 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.1565, allocations: 0.6884 MB / 0.666 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.028e-05/0.1566, allocations: 3.781 kB / 0.666 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.1566, allocations: 19.42 kB / 0.666 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1566, allocations: 0 / 0.666 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of Templates: time 0.002639/0.1593, allocations: 0.8656 MB / 0.6669 GB, free: 2.371 MB / 0.4981 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)