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.904/1.904, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001226/0.001226, allocations: 184.9 kB / 361.4 MB, free: 6.785 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.351/2.351, allocations: 205.2 MB / 0.62 GB, free: 11.61 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.001251/0.001251, allocations: 98.86 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.571e-05/3.546e-05, allocations: 4 kB / 0.8518 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157/1.157, allocations: 115.3 MB / 0.9644 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2995/1.456, allocations: 137.9 MB / 1.099 GB, free: 1.844 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003529/1.457, allocations: 75.5 kB / 1.099 GB, free: 1.773 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004996/1.462, allocations: 1.179 MB / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.677e-06/1.462, allocations: 0 / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.228e-05/1.462, allocations: 7.5 kB / 1.1 GB, free: 0.6172 MB / 0.698 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.0007244/1.462, allocations: 389.2 kB / 1.101 GB, free: 192 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.535e-05/1.463, allocations: 9.406 kB / 1.101 GB, free: 184 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.035e-05/1.463, allocations: 5.031 kB / 1.101 GB, free: 180 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/1.463, allocations: 170.9 kB / 1.101 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/1.463, allocations: 4 kB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/1.463, allocations: 0.8438 kB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001154/1.463, allocations: 17.62 kB / 1.101 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/1.463, allocations: 46.19 kB / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/1.463, allocations: 1.766 kB / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/1.463, allocations: 9.391 kB / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/1.463, allocations: 0.625 kB / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005941/1.464, allocations: 250.8 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/1.464, allocations: 35.8 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.771e-05/1.464, allocations: 16.98 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-05/1.464, allocations: 0.625 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002746/1.465, allocations: 94.56 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 8.756e-06/1.465, allocations: 1.5 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003598/1.465, allocations: 91.47 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.464e-05/1.465, allocations: 85.11 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/1.465, allocations: 105.6 kB / 1.102 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/1.465, allocations: 26.36 kB / 1.102 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.047e-05/1.465, allocations: 84.95 kB / 1.102 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/1.465, allocations: 15.8 kB / 1.102 GB, free: 15 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-06/1.466, allocations: 0 / 1.102 GB, free: 15 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002136/1.466, allocations: 323.5 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.498e-05/1.466, allocations: 13.16 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.782e-05/1.466, allocations: 42.02 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.835e-05/1.466, allocations: 18.58 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/1.466, allocations: 0 / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002301/1.466, allocations: 91.41 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.006e-05/1.466, allocations: 29.7 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/1.466, allocations: 3.984 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/1.466, allocations: 11.06 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.675e-05/1.466, allocations: 4 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/1.466, allocations: 0 / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.961e-05/1.467, allocations: 4 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/1.467, allocations: 11 kB / 1.102 GB, free: 14.45 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.0001911/1.467, allocations: 146.6 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002226/1.467, allocations: 93.61 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/1.467, allocations: 11.91 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.717e-05/1.467, allocations: 12.67 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/1.467, allocations: 4 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/1.467, allocations: 0 / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/1.467, allocations: 0 / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005389/1.468, allocations: 332 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/1.468, allocations: 3.984 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.059e-05/1.468, allocations: 0 / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/1.468, allocations: 0 / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/1.468, allocations: 8 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/1.468, allocations: 0 / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.468, allocations: 4 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/1.468, allocations: 205.1 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.929e-05/1.468, allocations: 81.02 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.462e-05/1.468, allocations: 4 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/1.468, allocations: 7.984 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/1.469, allocations: 7.984 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/1.469, allocations: 12.83 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.189e-05/1.469, allocations: 87.28 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.2e-07/1.469, allocations: 0 / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004322/1.469, allocations: 12 kB / 1.103 GB, free: 13.34 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.000697/1.47, allocations: 0.7301 MB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002823/1.47, allocations: 111.3 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.47, allocations: 0 / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/1.47, allocations: 89.44 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/1.471, allocations: 7.984 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006829/1.471, allocations: 123.9 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/1.472, allocations: 0.6902 MB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.192e-05/1.472, allocations: 12.11 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.025e-05/1.472, allocations: 15.44 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of SimCode: time 5.11e-07/1.472, allocations: 0 / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03129/1.503, allocations: 1.289 MB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002621/1.504, allocations: 155.5 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/3.467, allocations: 0 / 1.106 GB, free: 10.05 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)