Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.438/1.438, allocations: 249.3 MB / 261.8 MB, free: 5.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009898/0.0009898, allocations: 178.5 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.2 MB / 0.572 GB, free: 10.65 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009344/0.0009345, allocations: 86.47 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.583e-05/3.586e-05, allocations: 0 / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2229, allocations: 106.3 MB / 0.8919 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.796/1.019, allocations: 132.2 MB / 1.021 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/1.019, allocations: 73.45 kB / 1.021 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003589/1.023, allocations: 1.18 MB / 1.022 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.693e-06/1.023, allocations: 0 / 1.022 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.584e-06/1.023, allocations: 4 kB / 1.022 GB, free: 1.406 MB / 0.6355 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.000505/1.023, allocations: 383.5 kB / 1.023 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/1.023, allocations: 8.031 kB / 1.023 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.373e-05/1.024, allocations: 38.31 kB / 1.023 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/1.024, allocations: 7.891 kB / 1.023 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/1.024, allocations: 167.9 kB / 1.023 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/1.024, allocations: 4 kB / 1.023 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/1.024, allocations: 4 kB / 1.023 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/1.024, allocations: 54.41 kB / 1.023 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/1.024, allocations: 0 / 1.023 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/1.024, allocations: 7.625 kB / 1.023 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/1.024, allocations: 2.734 kB / 1.023 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.072e-05/1.024, allocations: 11.94 kB / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005474/1.025, allocations: 278.6 kB / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/1.025, allocations: 49.06 kB / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.541e-05/1.025, allocations: 22.36 kB / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/1.025, allocations: 3.938 kB / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/1.025, allocations: 95.94 kB / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/1.025, allocations: 4 kB / 1.023 GB, free: 168 kB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0003014/1.025, allocations: 121.6 kB / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.083e-05/1.025, allocations: 84.17 kB / 1.024 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.525e-05/1.026, allocations: 100.6 kB / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/1.026, allocations: 29.7 kB / 1.024 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/1.026, allocations: 91.59 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/1.026, allocations: 19.12 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-06/1.026, allocations: 0 / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001676/1.026, allocations: 318 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.377e-05/1.026, allocations: 14.94 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.441e-05/1.026, allocations: 41.38 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.75e-05/1.026, allocations: 45.02 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.026, allocations: 3.984 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001622/1.026, allocations: 120.8 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/1.026, allocations: 29.7 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/1.026, allocations: 3.938 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/1.026, allocations: 8.062 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.933e-05/1.026, allocations: 0 / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/1.026, allocations: 4.766 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.007e-05/1.026, allocations: 19.84 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/1.026, allocations: 7.875 kB / 1.024 GB, free: 15.1 MB / 0.6511 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.0001144/1.027, allocations: 139.7 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/1.027, allocations: 11.8 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.537e-05/1.027, allocations: 4.625 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/1.027, allocations: 7.938 kB / 1.025 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.027, allocations: 0 / 1.025 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/1.027, allocations: 4 kB / 1.025 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004575/1.027, allocations: 401.3 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/1.027, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.414e-06/1.027, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/1.027, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/1.027, allocations: 11.36 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/1.027, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.027, allocations: 7.953 kB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/1.027, allocations: 225 kB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.488e-05/1.028, allocations: 81.02 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/1.028, allocations: 7.375 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/1.028, allocations: 11.98 kB / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/1.028, allocations: 7.984 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/1.028, allocations: 15.83 kB / 1.025 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.36e-05/1.028, allocations: 83.81 kB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/1.028, allocations: 0 / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000217/1.028, allocations: 19.31 kB / 1.025 GB, free: 14.03 MB / 0.6511 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.0004907/1.029, allocations: 0.758 MB / 1.026 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001731/1.029, allocations: 117.1 kB / 1.026 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.029, allocations: 0 / 1.026 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.359e-05/1.029, allocations: 85.84 kB / 1.026 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/1.029, allocations: 15.11 kB / 1.026 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/1.029, allocations: 135.9 kB / 1.026 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/1.03, allocations: 0.6848 MB / 1.027 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.767e-05/1.03, allocations: 12.06 kB / 1.027 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/1.03, allocations: 15.19 kB / 1.027 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of SimCode: time 4.81e-07/1.03, allocations: 0 / 1.027 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01311/1.043, allocations: 1.606 MB / 1.029 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/1.043, allocations: 164.8 kB / 1.029 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.459/2.502, allocations: 0 / 1.029 GB, free: 10.44 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Discrete_Examples_BooleanDelay.fmu > Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)