Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009025/0.0009024, allocations: 173.1 kB / 16.76 MB, free: 4.938 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4433/0.4433, allocations: 86.28 MB / 103.8 MB, free: 14.56 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 223.3 MB / 348.4 MB, free: 4.961 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007684/0.0007687, allocations: 96.38 kB / 420.2 MB, free: 9.598 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.0003799, allocations: 16 kB / 0.4901 GB, free: 7.969 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3226, allocations: 71.02 MB / 0.5594 GB, free: 43.71 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1154/0.438, allocations: 100.7 MB / 0.6578 GB, free: 8.758 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.4383, allocations: 71.95 kB / 0.6578 GB, free: 8.688 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003384/0.4417, allocations: 1.237 MB / 0.6591 GB, free: 7.449 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4417, allocations: 0 / 0.6591 GB, free: 7.449 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.4417, allocations: 0 / 0.6591 GB, free: 7.449 MB / 474.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.000451/0.4422, allocations: 389.2 kB / 0.6594 GB, free: 7.012 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.4422, allocations: 11.97 kB / 0.6594 GB, free: 7 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.4423, allocations: 8.844 kB / 0.6594 GB, free: 6.992 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.4424, allocations: 180.3 kB / 0.6596 GB, free: 6.777 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.4424, allocations: 384 / 0.6596 GB, free: 6.777 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.4425, allocations: 4.375 kB / 0.6596 GB, free: 6.773 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.4426, allocations: 54.23 kB / 0.6597 GB, free: 6.715 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4426, allocations: 4.125 kB / 0.6597 GB, free: 6.711 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.4426, allocations: 7.938 kB / 0.6597 GB, free: 6.703 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.4426, allocations: 0 / 0.6597 GB, free: 6.703 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.72e-05/0.4427, allocations: 19.98 kB / 0.6597 GB, free: 6.684 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.443, allocations: 264.9 kB / 0.66 GB, free: 6.375 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.78e-05/0.4431, allocations: 42.45 kB / 0.66 GB, free: 6.324 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.4432, allocations: 20.97 kB / 0.66 GB, free: 6.301 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.4432, allocations: 8 kB / 0.66 GB, free: 6.293 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/0.4434, allocations: 100.9 kB / 0.6601 GB, free: 6.176 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.4434, allocations: 0 / 0.6601 GB, free: 6.176 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002738/0.4437, allocations: 143.4 kB / 0.6603 GB, free: 6.023 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.4437, allocations: 85.09 kB / 0.6603 GB, free: 5.922 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.626e-05/0.4438, allocations: 109.8 kB / 0.6604 GB, free: 5.805 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.4438, allocations: 33.7 kB / 0.6605 GB, free: 5.766 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.861e-05/0.4439, allocations: 84.14 kB / 0.6606 GB, free: 5.68 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.4439, allocations: 15.81 kB / 0.6606 GB, free: 5.664 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.4439, allocations: 0 / 0.6606 GB, free: 5.664 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.72e-05/0.444, allocations: 322.8 kB / 0.6609 GB, free: 5.34 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.844e-05/0.444, allocations: 12 kB / 0.6609 GB, free: 5.328 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.572e-05/0.4441, allocations: 42.5 kB / 0.6609 GB, free: 5.277 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.832e-05/0.4442, allocations: 117.9 kB / 0.661 GB, free: 5.141 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4442, allocations: 3.938 kB / 0.661 GB, free: 5.137 MB / 474.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001429/0.4443, allocations: 127.2 kB / 0.6612 GB, free: 5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.4444, allocations: 31.58 kB / 0.6612 GB, free: 4.965 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.4444, allocations: 400 / 0.6612 GB, free: 4.965 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.4444, allocations: 4 kB / 0.6612 GB, free: 4.961 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.066e-05/0.4445, allocations: 3.984 kB / 0.6612 GB, free: 4.957 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.4445, allocations: 7.938 kB / 0.6612 GB, free: 4.949 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.537e-05/0.4445, allocations: 12 kB / 0.6612 GB, free: 4.938 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.4446, allocations: 4 kB / 0.6612 GB, free: 4.934 MB / 474.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.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 9.501e-05/0.4447, allocations: 160 kB / 0.6614 GB, free: 4.766 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.4447, allocations: 4 kB / 0.6614 GB, free: 4.762 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/0.4447, allocations: 4.375 kB / 0.6614 GB, free: 4.754 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.4447, allocations: 4 kB / 0.6614 GB, free: 4.75 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4447, allocations: 384 / 0.6614 GB, free: 4.75 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.4447, allocations: 0 / 0.6614 GB, free: 4.75 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003561/0.4451, allocations: 408.1 kB / 0.6618 GB, free: 4.289 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.4451, allocations: 7.984 kB / 0.6618 GB, free: 4.281 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.184e-06/0.4451, allocations: 0 / 0.6618 GB, free: 4.281 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4451, allocations: 0 / 0.6618 GB, free: 4.281 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.4451, allocations: 8.062 kB / 0.6618 GB, free: 4.273 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.4451, allocations: 4 kB / 0.6618 GB, free: 4.27 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4452, allocations: 0 / 0.6618 GB, free: 4.27 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.4453, allocations: 229 kB / 0.662 GB, free: 4.023 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.4454, allocations: 89.02 kB / 0.6621 GB, free: 3.918 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.4454, allocations: 0 / 0.6621 GB, free: 3.918 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.827e-05/0.4455, allocations: 15.98 kB / 0.6621 GB, free: 3.902 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.4456, allocations: 11.97 kB / 0.6621 GB, free: 3.891 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.4456, allocations: 4 kB / 0.6621 GB, free: 3.887 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.209e-05/0.4456, allocations: 95.2 kB / 0.6622 GB, free: 3.793 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4456, allocations: 0 / 0.6622 GB, free: 3.793 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002154/0.4459, allocations: 12 kB / 0.6622 GB, free: 3.781 MB / 474.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.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 8.741e-05/0.446, allocations: 103.2 kB / 0.6623 GB, free: 3.672 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001682/0.4461, allocations: 111.3 kB / 0.6624 GB, free: 3.551 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4461, allocations: 0 / 0.6624 GB, free: 3.551 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 7.957e-05/0.4462, allocations: 95.33 kB / 0.6625 GB, free: 3.445 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.4465, allocations: 15.98 kB / 0.6625 GB, free: 3.43 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/0.4468, allocations: 160.8 kB / 0.6627 GB, free: 3.246 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.447, allocations: 0.6837 MB / 0.6634 GB, free: 2.539 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 2.746e-05/0.4471, allocations: 4 kB / 0.6634 GB, free: 2.535 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.274e-05/0.4471, allocations: 11.44 kB / 0.6634 GB, free: 2.523 MB / 474.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4471, allocations: 0 / 0.6634 GB, free: 2.523 MB / 474.7 MB Notification: Performance of Templates: time 0.002591/0.4497, allocations: 0.7507 MB / 0.6641 GB, free: 1.781 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & ./IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)