Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 84.86 kB / 21.62 MB, free: 2.836 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 164.5 kB / 25.05 MB, free: 9.148 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.939/0.939, allocations: 177.1 MB / 205.5 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.849/1.849, allocations: 389.6 MB / 0.6363 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.7761 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.867e-05, allocations: 2.312 kB / 0.7761 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002253/0.002272, allocations: 1.534 MB / 0.7776 GB, free: 3.793 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000683/0.002955, allocations: 465.3 kB / 0.778 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.541e-05/0.00299, allocations: 0 / 0.778 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.442e-05/0.003025, allocations: 4.578 kB / 0.778 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.898e-05/0.003104, allocations: 12.33 kB / 0.778 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001335/0.003237, allocations: 28.94 kB / 0.7781 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.003342, allocations: 50.47 kB / 0.7781 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.352e-05/0.003405, allocations: 4.938 kB / 0.7781 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.563e-05/0.003481, allocations: 30.48 kB / 0.7781 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.662e-05/0.003537, allocations: 20.81 kB / 0.7782 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.003554, allocations: 4 kB / 0.7782 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.003565, allocations: 4 kB / 0.7782 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.003583, allocations: 4.656 kB / 0.7782 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.003611, allocations: 15.92 kB / 0.7782 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.136e-05/0.003702, allocations: 37.45 kB / 0.7782 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003704, allocations: 3.938 kB / 0.7782 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.81e-07/0.003705, allocations: 0 / 0.7782 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.745e-06/0.003708, allocations: 0 / 0.7782 GB, free: 3.145 MB / 0.7292 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.0003735/0.004081, allocations: 292.3 kB / 0.7785 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.004112, allocations: 9.344 kB / 0.7785 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.004142, allocations: 10.67 kB / 0.7785 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.557e-05/0.004217, allocations: 109.8 kB / 0.7786 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.004227, allocations: 4.375 kB / 0.7786 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.004238, allocations: 4.375 kB / 0.7786 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.273e-05/0.004321, allocations: 71.94 kB / 0.7787 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.004328, allocations: 0.9062 kB / 0.7787 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-06/0.004334, allocations: 384 / 0.7787 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.00434, allocations: 8.688 kB / 0.7787 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.692e-05/0.004377, allocations: 41.62 kB / 0.7788 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002157/0.004592, allocations: 163.5 kB / 0.7789 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.07e-05/0.004653, allocations: 56.27 kB / 0.779 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.619e-05/0.004679, allocations: 38.56 kB / 0.779 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.00469, allocations: 4.125 kB / 0.779 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/0.004799, allocations: 134.7 kB / 0.7791 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.0048, allocations: 0 / 0.7791 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.00016/0.00496, allocations: 162.7 kB / 0.7793 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.005, allocations: 85.05 kB / 0.7794 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.074e-05/0.005061, allocations: 118.2 kB / 0.7795 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.005071, allocations: 25.7 kB / 0.7795 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.999e-05/0.005101, allocations: 88.12 kB / 0.7796 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.005117, allocations: 15.89 kB / 0.7796 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.005153, allocations: 25.7 kB / 0.7796 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.589e-05/0.005229, allocations: 314.8 kB / 0.7799 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.584e-05/0.005255, allocations: 41.69 kB / 0.78 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.963e-05/0.005294, allocations: 68.25 kB / 0.78 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.427e-05/0.005369, allocations: 107.8 kB / 0.7801 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.005371, allocations: 0 / 0.7801 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001042/0.005475, allocations: 137.8 kB / 0.7803 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.0055, allocations: 29.7 kB / 0.7803 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.005506, allocations: 7.938 kB / 0.7803 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.005514, allocations: 0.9062 kB / 0.7803 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.258e-05/0.005546, allocations: 4 kB / 0.7803 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.00555, allocations: 4.531 kB / 0.7803 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.334e-05/0.005593, allocations: 16.84 kB / 0.7803 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.005599, allocations: 4 kB / 0.7803 GB, free: 0.7188 MB / 0.7292 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 7.257e-05/0.005671, allocations: 151.4 kB / 0.7805 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.005686, allocations: 11.98 kB / 0.7805 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.94e-05/0.005706, allocations: 13.84 kB / 0.7805 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.005707, allocations: 0 / 0.7805 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.005709, allocations: 0 / 0.7805 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.005712, allocations: 0 / 0.7805 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.00593, allocations: 286.2 kB / 0.7808 GB, free: 228 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.005932, allocations: 1.125 kB / 0.7808 GB, free: 228 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.23e-06/0.005937, allocations: 0 / 0.7808 GB, free: 228 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.00594, allocations: 3.938 kB / 0.7808 GB, free: 224 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.005948, allocations: 5.062 kB / 0.7808 GB, free: 220 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.005948, allocations: 0 / 0.7808 GB, free: 220 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.005949, allocations: 0.5 kB / 0.7808 GB, free: 220 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.006078, allocations: 227.2 kB / 0.781 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.001e-05/0.006088, allocations: 12.48 kB / 0.781 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.006105, allocations: 9 kB / 0.781 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.582e-05/0.00617, allocations: 7.984 kB / 0.781 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.788e-05/0.006198, allocations: 4 kB / 0.781 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.00621, allocations: 8.578 kB / 0.7811 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.751e-05/0.006227, allocations: 9.422 kB / 0.7811 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.006227, allocations: 0 / 0.7811 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001766/0.006404, allocations: 16.75 kB / 0.7811 GB, free: 15.9 MB / 0.7448 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 7.251e-05/0.006477, allocations: 85.44 kB / 0.7812 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.006608, allocations: 164.5 kB / 0.7813 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.006612, allocations: 4 kB / 0.7813 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.319e-05/0.006675, allocations: 113.8 kB / 0.7814 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.006841, allocations: 19.02 kB / 0.7814 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002368/0.007077, allocations: 186 kB / 0.7816 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.572e-05/0.007113, allocations: 63.34 kB / 0.7817 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.234e-05/0.007135, allocations: 4 kB / 0.7817 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.917e-05/0.007205, allocations: 67.36 kB / 0.7818 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.007205, allocations: 0 / 0.7818 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of Templates: time 0.00263/0.009835, allocations: 0.9743 MB / 0.7827 GB, free: 14.18 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.639078523032367]