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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.001153/0.001153, allocations: 178.3 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5202/0.5202, allocations: 90.91 MB / 99.35 MB, free: 2.223 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 221.5 MB / 343.2 MB, free: 1.551 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009268/0.0009267, allocations: 84.02 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.879e-05/1.892e-05, allocations: 4 kB / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1461, allocations: 72.31 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4959/0.6421, allocations: 101.4 MB / 0.6525 GB, free: 8.879 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.6423, allocations: 71.89 kB / 0.6526 GB, free: 8.84 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003258/0.6456, allocations: 1.219 MB / 0.6538 GB, free: 7.793 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.6456, allocations: 0 / 0.6538 GB, free: 7.793 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.453e-06/0.6456, allocations: 0 / 0.6538 GB, free: 7.793 MB / 458.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.0004864/0.6461, allocations: 380.1 kB / 0.6541 GB, free: 7.379 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.6462, allocations: 12.03 kB / 0.6541 GB, free: 7.367 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.6462, allocations: 11.86 kB / 0.6541 GB, free: 7.355 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.6464, allocations: 171 kB / 0.6543 GB, free: 7.148 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.6464, allocations: 4 kB / 0.6543 GB, free: 7.145 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.6464, allocations: 0 / 0.6543 GB, free: 7.145 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.136e-05/0.6465, allocations: 11.69 kB / 0.6543 GB, free: 7.137 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.634e-05/0.6466, allocations: 49.48 kB / 0.6544 GB, free: 7.09 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.6466, allocations: 3.984 kB / 0.6544 GB, free: 7.086 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.6467, allocations: 2.625 kB / 0.6544 GB, free: 7.086 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.6467, allocations: 7.953 kB / 0.6544 GB, free: 7.078 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.6471, allocations: 244.3 kB / 0.6546 GB, free: 6.812 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.585e-05/0.6472, allocations: 37.95 kB / 0.6546 GB, free: 6.773 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.484e-05/0.6472, allocations: 19.98 kB / 0.6547 GB, free: 6.758 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.6472, allocations: 0 / 0.6547 GB, free: 6.758 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/0.6474, allocations: 92.41 kB / 0.6548 GB, free: 6.656 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.6474, allocations: 4 kB / 0.6548 GB, free: 6.652 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.000213/0.6476, allocations: 95.48 kB / 0.6548 GB, free: 6.566 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.6477, allocations: 77.11 kB / 0.6549 GB, free: 6.473 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.023e-05/0.6478, allocations: 108.7 kB / 0.655 GB, free: 6.363 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.6478, allocations: 33.08 kB / 0.6551 GB, free: 6.328 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.6478, allocations: 80.89 kB / 0.6551 GB, free: 6.246 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.6479, allocations: 19.36 kB / 0.6552 GB, free: 6.23 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.6479, allocations: 0 / 0.6552 GB, free: 6.23 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.648, allocations: 322.6 kB / 0.6555 GB, free: 5.91 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.352e-05/0.648, allocations: 7.625 kB / 0.6555 GB, free: 5.906 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.625e-05/0.6481, allocations: 37.69 kB / 0.6555 GB, free: 5.867 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.281e-05/0.6481, allocations: 19.25 kB / 0.6555 GB, free: 5.855 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6481, allocations: 96 / 0.6555 GB, free: 5.855 MB / 458.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001268/0.6483, allocations: 84.53 kB / 0.6556 GB, free: 5.777 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/0.6483, allocations: 46.94 kB / 0.6556 GB, free: 5.727 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.6483, allocations: 0 / 0.6556 GB, free: 5.727 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.6484, allocations: 7.938 kB / 0.6557 GB, free: 5.719 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.186e-05/0.6484, allocations: 2.375 kB / 0.6557 GB, free: 5.719 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.6484, allocations: 7.953 kB / 0.6557 GB, free: 5.711 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.116e-05/0.6485, allocations: 7.938 kB / 0.6557 GB, free: 5.703 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.6485, allocations: 4 kB / 0.6557 GB, free: 5.699 MB / 458.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 () * 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.906e-05/0.6486, allocations: 142.8 kB / 0.6558 GB, free: 5.551 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.837e-05/0.6486, allocations: 11.91 kB / 0.6558 GB, free: 5.539 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.699e-05/0.6487, allocations: 8.625 kB / 0.6558 GB, free: 5.531 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.6487, allocations: 0 / 0.6558 GB, free: 5.531 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.6487, allocations: 0 / 0.6558 GB, free: 5.531 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.6487, allocations: 3.953 kB / 0.6558 GB, free: 5.527 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.649, allocations: 337.6 kB / 0.6562 GB, free: 5.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.649, allocations: 0 / 0.6562 GB, free: 5.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.578e-06/0.649, allocations: 4 kB / 0.6562 GB, free: 5.176 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.6491, allocations: 0 / 0.6562 GB, free: 5.176 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.6491, allocations: 0 / 0.6562 GB, free: 5.176 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.6491, allocations: 7.938 kB / 0.6562 GB, free: 5.168 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.6491, allocations: 11.94 kB / 0.6562 GB, free: 5.156 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.6493, allocations: 183.9 kB / 0.6564 GB, free: 4.977 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.464e-05/0.6493, allocations: 81.09 kB / 0.6564 GB, free: 4.879 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.6494, allocations: 4 kB / 0.6564 GB, free: 4.875 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.916e-05/0.6495, allocations: 11.69 kB / 0.6564 GB, free: 4.867 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.6495, allocations: 15.94 kB / 0.6565 GB, free: 4.852 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.6495, allocations: 4 kB / 0.6565 GB, free: 4.848 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.322e-05/0.6496, allocations: 90.19 kB / 0.6566 GB, free: 4.762 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.334e-06/0.6496, allocations: 0 / 0.6566 GB, free: 4.762 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002265/0.6498, allocations: 15.94 kB / 0.6566 GB, free: 4.746 MB / 458.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) * 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.0001249/0.65, allocations: 102.4 kB / 0.6567 GB, free: 4.641 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.6502, allocations: 107.6 kB / 0.6568 GB, free: 4.539 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.6502, allocations: 4.062 kB / 0.6568 GB, free: 4.535 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.905e-05/0.6502, allocations: 93.33 kB / 0.6569 GB, free: 4.445 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.6505, allocations: 8 kB / 0.6569 GB, free: 4.438 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002474/0.6507, allocations: 97.16 kB / 0.657 GB, free: 4.328 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.651, allocations: 0.6846 MB / 0.6576 GB, free: 3.617 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.096e-05/0.6511, allocations: 11.77 kB / 0.6576 GB, free: 3.605 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.6511, allocations: 11.44 kB / 0.6576 GB, free: 3.594 MB / 458.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6511, allocations: 4 kB / 0.6577 GB, free: 3.59 MB / 458.7 MB Notification: Performance of Templates: time 0.002564/0.6537, allocations: 0.7093 MB / 0.6583 GB, free: 2.898 MB / 458.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)