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.001813/0.001813, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.546/0.546, allocations: 91.99 MB / 108.5 MB, free: 13.05 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.794/1.794, allocations: 223.2 MB / 354.3 MB, free: 10.41 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.001139/0.001139, allocations: 103.2 kB / 427.4 MB, free: 2.145 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004443/0.0004443, allocations: 4 kB / 0.4982 GB, free: 42.09 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1821, allocations: 72.31 MB / 0.5689 GB, free: 1.711 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5932/0.7753, allocations: 102.1 MB / 0.6685 GB, free: 2.332 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000415/0.7758, allocations: 79.95 kB / 0.6686 GB, free: 2.254 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005303/0.7811, allocations: 1.238 MB / 0.6698 GB, free: 1.031 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.407e-06/0.7812, allocations: 4 kB / 0.6698 GB, free: 1.027 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.7812, allocations: 0 / 0.6698 GB, free: 1.027 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.0008232/0.7821, allocations: 393.5 kB / 0.6702 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.409e-05/0.7822, allocations: 8.031 kB / 0.6702 GB, free: 0.582 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.853e-05/0.7822, allocations: 7.953 kB / 0.6702 GB, free: 0.5742 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.7825, allocations: 163 kB / 0.6704 GB, free: 384 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.597e-05/0.7825, allocations: 8 kB / 0.6704 GB, free: 376 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.7826, allocations: 0 / 0.6704 GB, free: 376 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.7828, allocations: 57.61 kB / 0.6704 GB, free: 312 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.7828, allocations: 0 / 0.6704 GB, free: 312 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.7828, allocations: 8 kB / 0.6704 GB, free: 304 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.7828, allocations: 0 / 0.6704 GB, free: 304 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.321e-05/0.7829, allocations: 19.94 kB / 0.6705 GB, free: 284 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005742/0.7835, allocations: 264.9 kB / 0.6707 GB, free: 15.97 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.7836, allocations: 42.58 kB / 0.6708 GB, free: 15.92 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.7837, allocations: 4.109 kB / 0.6708 GB, free: 15.91 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.7839, allocations: 106.7 kB / 0.6709 GB, free: 15.79 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 1.943e-06/0.7839, allocations: 0 / 0.6709 GB, free: 15.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.00045/0.7844, allocations: 220.4 kB / 0.6711 GB, free: 15.55 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.156e-05/0.7845, allocations: 81.09 kB / 0.6711 GB, free: 15.45 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.7846, allocations: 108.9 kB / 0.6712 GB, free: 15.34 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.7847, allocations: 29.7 kB / 0.6713 GB, free: 15.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.785e-05/0.7847, allocations: 88.12 kB / 0.6714 GB, free: 15.21 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.7848, allocations: 16.16 kB / 0.6714 GB, free: 15.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-06/0.7848, allocations: 4 kB / 0.6714 GB, free: 15.19 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.785, allocations: 314.8 kB / 0.6717 GB, free: 14.88 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.577e-05/0.785, allocations: 23.92 kB / 0.6717 GB, free: 14.85 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.04e-05/0.7851, allocations: 37.84 kB / 0.6717 GB, free: 14.81 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.366e-05/0.7852, allocations: 49.64 kB / 0.6718 GB, free: 14.75 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.7852, allocations: 3.938 kB / 0.6718 GB, free: 14.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002342/0.7855, allocations: 127.2 kB / 0.6719 GB, free: 14.61 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.108e-05/0.7855, allocations: 35.25 kB / 0.6719 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.7855, allocations: 7.938 kB / 0.672 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.7856, allocations: 3.953 kB / 0.672 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.839e-05/0.7856, allocations: 4 kB / 0.672 GB, free: 14.56 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.7856, allocations: 0 / 0.672 GB, free: 14.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.38e-05/0.7857, allocations: 16.05 kB / 0.672 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.7858, allocations: 0 / 0.672 GB, free: 14.55 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 0.0001502/0.7859, allocations: 148.2 kB / 0.6721 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.786, allocations: 4 kB / 0.6721 GB, free: 14.38 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.312e-05/0.786, allocations: 8.375 kB / 0.6721 GB, free: 14.37 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.786, allocations: 0 / 0.6721 GB, free: 14.37 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.786, allocations: 3.953 kB / 0.6721 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.7861, allocations: 3.984 kB / 0.6721 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005537/0.7866, allocations: 408.1 kB / 0.6725 GB, free: 13.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.7866, allocations: 0 / 0.6725 GB, free: 13.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.047e-06/0.7867, allocations: 3.938 kB / 0.6725 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.7867, allocations: 0 / 0.6725 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.7867, allocations: 11.95 kB / 0.6725 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.7867, allocations: 0 / 0.6725 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.7867, allocations: 0 / 0.6725 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.787, allocations: 225.2 kB / 0.6728 GB, free: 13.64 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.951e-05/0.7871, allocations: 89 kB / 0.6728 GB, free: 13.54 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.7871, allocations: 4 kB / 0.6728 GB, free: 13.53 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.7873, allocations: 16.05 kB / 0.6729 GB, free: 13.52 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.7874, allocations: 11.92 kB / 0.6729 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.7874, allocations: 0 / 0.6729 GB, free: 13.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 7.97e-05/0.7875, allocations: 91.81 kB / 0.673 GB, free: 13.41 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7875, allocations: 0 / 0.673 GB, free: 13.41 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003537/0.7879, allocations: 12 kB / 0.673 GB, free: 13.4 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 0.0001335/0.788, allocations: 103.2 kB / 0.6731 GB, free: 13.29 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002477/0.7883, allocations: 119.3 kB / 0.6732 GB, free: 13.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.7883, allocations: 4 kB / 0.6732 GB, free: 13.16 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.7884, allocations: 87.39 kB / 0.6733 GB, free: 13.06 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.7887, allocations: 12 kB / 0.6733 GB, free: 13.05 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004812/0.7892, allocations: 165.4 kB / 0.6734 GB, free: 12.86 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.7896, allocations: 0.6887 MB / 0.6741 GB, free: 12.14 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.104e-05/0.7897, allocations: 3.781 kB / 0.6741 GB, free: 12.14 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.098e-05/0.7897, allocations: 11.44 kB / 0.6741 GB, free: 12.13 MB / 474.7 MB Notification: Performance of SimCode: time 3.61e-07/0.7897, allocations: 0 / 0.6741 GB, free: 12.13 MB / 474.7 MB Notification: Performance of Templates: time 0.003872/0.7936, allocations: 0.7415 MB / 0.6748 GB, free: 11.41 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)