Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.896/4.896, allocations: 0.5623 GB / 0.5775 GB, free: 3.352 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003627/0.003627, allocations: 360.5 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.35/4.35, allocations: 410.7 MB / 1.113 GB, free: 5.938 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001783/0.001783, allocations: 186.1 kB / 1.226 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004912/0.0004915, allocations: 15.98 kB / 1.349 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7125/0.713, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1988/0.9119, allocations: 138.5 MB / 1.597 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.9122, allocations: 81.34 kB / 1.597 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.004833/0.9171, allocations: 1.19 MB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.435e-06/0.9171, allocations: 0.6875 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.9172, allocations: 1 kB / 1.598 GB, free: 144.5 MB / 0.8542 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.0005454/0.9177, allocations: 395.3 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.9178, allocations: 11.62 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.9178, allocations: 7.906 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.9179, allocations: 176 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.918, allocations: 2.094 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.918, allocations: 4 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.9181, allocations: 57.67 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.9182, allocations: 0 / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.9182, allocations: 0 / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.9182, allocations: 4.469 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.566e-05/0.9183, allocations: 24.52 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.9187, allocations: 269.9 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.9188, allocations: 37.83 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.44e-05/0.9189, allocations: 20.97 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.9189, allocations: 1.578 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.9191, allocations: 105 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 2.394e-06/0.9191, allocations: 0.6875 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0003386/0.9195, allocations: 139.3 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.9195, allocations: 96.3 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.068e-05/0.9196, allocations: 112 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.9197, allocations: 33.7 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.694e-05/0.9197, allocations: 80.14 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.9197, allocations: 23.73 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.662e-06/0.9198, allocations: 0 / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.081e-05/0.9198, allocations: 320 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.544e-05/0.9199, allocations: 16 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.012e-05/0.9199, allocations: 36.09 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.439e-05/0.92, allocations: 46.55 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.92, allocations: 0 / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001903/0.9202, allocations: 124.2 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.432e-05/0.9203, allocations: 41.95 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.9203, allocations: 0 / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.9203, allocations: 4.594 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.882e-05/0.9204, allocations: 3.938 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.9204, allocations: 7.562 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.9205, allocations: 11.94 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.9206, allocations: 4 kB / 1.6 GB, free: 142.1 MB / 0.8542 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 ($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.463e-05/0.9207, allocations: 143.5 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.9207, allocations: 13.62 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.342e-05/0.9207, allocations: 8.375 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.9207, allocations: 5.25 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.9208, allocations: 0 / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.9208, allocations: 3.938 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004554/0.9212, allocations: 397.1 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.9213, allocations: 4 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.191e-05/0.9213, allocations: 2.406 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.9213, allocations: 0 / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.9213, allocations: 0 / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.9214, allocations: 7.984 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.9214, allocations: 3.953 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.9216, allocations: 230 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.754e-05/0.9217, allocations: 85.77 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.9217, allocations: 0 / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.9219, allocations: 14.84 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/0.9219, allocations: 10.84 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.922, allocations: 16 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.422e-05/0.922, allocations: 87.28 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.01e-07/0.922, allocations: 0 / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002967/0.9223, allocations: 12 kB / 1.601 GB, free: 141 MB / 0.8542 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 (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 9.923e-05/0.9225, allocations: 108.3 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002134/0.9227, allocations: 112.1 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.9227, allocations: 0.875 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.9228, allocations: 95.38 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.9232, allocations: 17.27 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003894/0.9236, allocations: 150.4 kB / 1.601 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.9238, allocations: 0.6901 MB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.921e-05/0.9238, allocations: 7.984 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.045e-05/0.9238, allocations: 11.44 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.072e-06/0.9239, allocations: 4.438 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.003722/0.9276, allocations: 0.7349 MB / 1.603 GB, free: 139.1 MB / 0.8542 GB