Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.745/1.745, allocations: 285.4 MB / 298 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 184.8 kB / 366.4 MB, free: 2.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.1 MB / 0.6248 GB, free: 7.746 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008193/0.0008192, allocations: 90.19 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.085e-05/3.095e-05, allocations: 4 kB / 0.8584 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7281/0.7282, allocations: 115.3 MB / 0.971 GB, free: 77.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2041/0.9323, allocations: 138.5 MB / 1.106 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.9326, allocations: 67.97 kB / 1.106 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003599/0.9362, allocations: 1.198 MB / 1.108 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9362, allocations: 0 / 1.108 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.9363, allocations: 0.6875 kB / 1.108 GB, free: 12.02 MB / 0.7136 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.0004896/0.9368, allocations: 386.9 kB / 1.108 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.9368, allocations: 12.03 kB / 1.108 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.404e-05/0.9369, allocations: 30.56 kB / 1.108 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/0.9369, allocations: 6.406 kB / 1.108 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.9371, allocations: 180.7 kB / 1.108 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.9371, allocations: 0 / 1.108 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.9371, allocations: 7.938 kB / 1.108 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.9373, allocations: 52.41 kB / 1.108 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.9373, allocations: 1.188 kB / 1.108 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.9373, allocations: 0 / 1.108 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.9373, allocations: 0 / 1.108 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.058e-05/0.9374, allocations: 16 kB / 1.108 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.9378, allocations: 270.4 kB / 1.108 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.965e-05/0.9379, allocations: 53.66 kB / 1.108 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.032e-05/0.938, allocations: 16.98 kB / 1.108 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.938, allocations: 0 / 1.108 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.9382, allocations: 97.09 kB / 1.109 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.804e-06/0.9382, allocations: 0.8125 kB / 1.109 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002711/0.9385, allocations: 123.2 kB / 1.109 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/0.9386, allocations: 81.64 kB / 1.109 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.078e-05/0.9387, allocations: 103.8 kB / 1.109 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.9387, allocations: 29.7 kB / 1.109 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/0.9388, allocations: 84.14 kB / 1.109 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.9388, allocations: 23.86 kB / 1.109 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.9388, allocations: 0 / 1.109 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.939, allocations: 318.8 kB / 1.109 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.596e-05/0.939, allocations: 16.97 kB / 1.109 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.162e-05/0.9391, allocations: 44.48 kB / 1.109 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.927e-05/0.9391, allocations: 46.11 kB / 1.109 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.9392, allocations: 4 kB / 1.109 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002261/0.9394, allocations: 119.2 kB / 1.11 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/0.9394, allocations: 37.69 kB / 1.11 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.9395, allocations: 3.438 kB / 1.11 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.9395, allocations: 0 / 1.11 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.987e-05/0.9395, allocations: 4 kB / 1.11 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.9395, allocations: 2 kB / 1.11 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.492e-05/0.9396, allocations: 15.98 kB / 1.11 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.9396, allocations: 4 kB / 1.11 GB, free: 9.637 MB / 0.7136 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 () * 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.0001093/0.9398, allocations: 145.7 kB / 1.11 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.9398, allocations: 4 kB / 1.11 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.177e-05/0.9398, allocations: 12.56 kB / 1.11 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.9398, allocations: 3.984 kB / 1.11 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.9398, allocations: 0 / 1.11 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.9399, allocations: 3.984 kB / 1.11 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/0.9403, allocations: 405.5 kB / 1.11 GB, free: 9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.9403, allocations: 4.062 kB / 1.11 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.829e-06/0.9403, allocations: 4 kB / 1.11 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.9403, allocations: 0 / 1.11 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.9403, allocations: 0 / 1.11 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.9403, allocations: 0 / 1.11 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.9403, allocations: 0 / 1.11 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.9406, allocations: 236 kB / 1.11 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.046e-05/0.9407, allocations: 86.44 kB / 1.11 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.9407, allocations: 4 kB / 1.11 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.9408, allocations: 12 kB / 1.11 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.9409, allocations: 3.984 kB / 1.11 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.9409, allocations: 8 kB / 1.11 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.397e-05/0.9409, allocations: 98.47 kB / 1.111 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.5e-07/0.941, allocations: 0 / 1.111 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002329/0.9412, allocations: 19.95 kB / 1.111 GB, free: 8.5 MB / 0.7136 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) * 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.0004898/0.9417, allocations: 0.7609 MB / 1.111 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001728/0.9419, allocations: 115.3 kB / 1.111 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9419, allocations: 0 / 1.111 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.216e-05/0.942, allocations: 87.39 kB / 1.112 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.9422, allocations: 10.84 kB / 1.112 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004277/0.9427, allocations: 133.1 kB / 1.112 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.9429, allocations: 0.6887 MB / 1.112 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.757e-05/0.943, allocations: 7.984 kB / 1.112 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.943, allocations: 15.44 kB / 1.112 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of SimCode: time 7.81e-07/0.943, allocations: 1.875 kB / 1.112 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0126/0.9556, allocations: 1.615 MB / 1.114 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.9559, allocations: 159.7 kB / 1.114 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/2.521, allocations: 0 / 1.114 GB, free: 4.945 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Discrete_Examples_BooleanDelay.fmu > Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)