Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TrueDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.379/2.379, allocations: 248.7 MB / 256.2 MB, free: 7.039 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.001463/0.001463, allocations: 174 kB / 315.4 MB, free: 3.996 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.3 MB / 0.5662 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 91.8 kB / 0.6704 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.817e-05/2.82e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2191, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8812/1.1, allocations: 132.3 MB / 1.013 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/1.101, allocations: 66.28 kB / 1.013 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02122/1.122, allocations: 4.341 MB / 1.018 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.214e-06/1.122, allocations: 0 / 1.018 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.981e-05/1.122, allocations: 4 kB / 1.018 GB, free: 2.711 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002729/1.125, allocations: 0.7099 MB / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.13e-05/1.125, allocations: 12.03 kB / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003138/1.125, allocations: 67.11 kB / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/1.126, allocations: 202.7 kB / 1.019 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/1.126, allocations: 39.8 kB / 1.019 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000208/1.126, allocations: 63.95 kB / 1.019 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007573/1.127, allocations: 205.6 kB / 1.019 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/1.128, allocations: 432.6 kB / 1.019 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/1.128, allocations: 0 / 1.019 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/1.128, allocations: 23.58 kB / 1.019 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/1.128, allocations: 8 kB / 1.019 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003548/1.132, allocations: 1.067 MB / 1.02 GB, free: 160 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/1.133, allocations: 0.5874 MB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007672/1.134, allocations: 277.1 kB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/1.134, allocations: 11.98 kB / 1.021 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001766/1.136, allocations: 0.6946 MB / 1.022 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=100): time 4.418e-06/1.136, allocations: 0 / 1.022 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of matching and sorting (n=100): time 0.003203/1.139, allocations: 1.099 MB / 1.023 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.513e-05/1.139, allocations: 89.42 kB / 1.023 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003399/1.14, allocations: 224.8 kB / 1.023 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001243/1.14, allocations: 40.52 kB / 1.023 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/1.14, allocations: 139.6 kB / 1.023 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/1.14, allocations: 188.1 kB / 1.024 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.197e-05/1.14, allocations: 8 kB / 1.024 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002089/1.14, allocations: 369.3 kB / 1.024 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005504/1.141, allocations: 171.2 kB / 1.024 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000847/1.142, allocations: 0.5172 MB / 1.025 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006809/1.143, allocations: 228.7 kB / 1.025 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/1.143, allocations: 4 kB / 1.025 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001992/1.145, allocations: 0.7046 MB / 1.026 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.806e-05/1.145, allocations: 8.75 kB / 1.026 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/1.145, allocations: 12.88 kB / 1.026 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.448e-05/1.145, allocations: 23.95 kB / 1.026 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008074/1.146, allocations: 134.2 kB / 1.026 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.543e-05/1.146, allocations: 23.94 kB / 1.026 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009276/1.147, allocations: 71.55 kB / 1.026 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/1.147, allocations: 49.69 kB / 1.026 GB, free: 11.46 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 134 ($PRE.onDelay0.u,$PRE.onDelay1.u,$PRE.onDelay2.u,$PRE.onDelay4.u,$PRE.onDelay5.u,$PRE.onDelay6.u,$PRE.onDelay3.u,$PRE.onDelay7.u,$PRE.onDelay00.u,$PRE.onDelay11.u,$PRE.onDelay22.u,$PRE.onDelay44.u,$PRE.onDelay55.u,$PRE.onDelay66.u,$PRE.onDelay33.u,$PRE.onDelay77.u,$whenCondition50,$whenCondition47,$PRE.onDelay7.t_next,$whenCondition44,$PRE.onDelay3.t_next,$whenCondition41,$PRE.onDelay6.t_next,$whenCondition38,$PRE.onDelay5.t_next,$whenCondition35,$PRE.onDelay4.t_next,$whenCondition32,$PRE.onDelay2.t_next,$whenCondition29,$PRE.onDelay1.t_next,$whenCondition26,$PRE.onDelay0.t_next,onDelay7.t_next,onDelay3.t_next,onDelay6.t_next,onDelay5.t_next,onDelay4.t_next,onDelay2.t_next,onDelay1.t_next,$whenCondition48,$whenCondition49,$whenCondition45,$whenCondition46,$whenCondition42,$whenCondition43,$whenCondition39,$whenCondition40,$whenCondition36,$whenCondition37,$whenCondition33,$whenCondition34,$whenCondition30,$whenCondition31,$whenCondition27,$whenCondition28,onDelay0.u,onDelay0.y,onDelay1.u,onDelay1.y,onDelay2.u,onDelay2.y,onDelay4.u,onDelay4.y,onDelay5.u,onDelay5.y,onDelay6.u,onDelay6.y,onDelay3.u,onDelay3.y,onDelay7.u,onDelay7.y,$PRE.booPul.pulseStart,booPul.pulseStart,onDelay0.t_next,$whenCondition25,$whenCondition22,$PRE.onDelay77.t_next,$whenCondition19,$PRE.onDelay33.t_next,$whenCondition16,$PRE.onDelay66.t_next,$whenCondition13,$PRE.onDelay55.t_next,$whenCondition10,$PRE.onDelay44.t_next,$whenCondition7,$PRE.onDelay22.t_next,$whenCondition4,$PRE.onDelay11.t_next,$whenCondition1,$PRE.onDelay00.t_next,onDelay77.t_next,onDelay33.t_next,onDelay66.t_next,onDelay55.t_next,onDelay44.t_next,onDelay22.t_next,onDelay11.t_next,$whenCondition23,$whenCondition24,$whenCondition20,$whenCondition21,$whenCondition17,$whenCondition18,$whenCondition14,$whenCondition15,$whenCondition11,$whenCondition12,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,onDelay00.u,onDelay00.y,onDelay11.u,onDelay11.y,onDelay22.u,onDelay22.y,onDelay44.u,onDelay44.y,onDelay55.u,onDelay55.y,onDelay66.u,onDelay66.y,onDelay33.u,onDelay33.y,onDelay77.u,onDelay77.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,onDelay00.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * 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.0005046/1.147, allocations: 206.1 kB / 1.026 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002955/1.15, allocations: 1.082 MB / 1.027 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/1.15, allocations: 79.31 kB / 1.027 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/1.151, allocations: 41.08 kB / 1.027 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/1.151, allocations: 15.94 kB / 1.027 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/1.151, allocations: 0 / 1.027 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/1.151, allocations: 7.984 kB / 1.027 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005209/1.156, allocations: 2.078 MB / 1.029 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/1.156, allocations: 3.938 kB / 1.029 GB, free: 8.594 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/1.156, allocations: 26.53 kB / 1.029 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.629e-05/1.156, allocations: 4 kB / 1.029 GB, free: 8.566 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/1.156, allocations: 34.39 kB / 1.029 GB, free: 8.539 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/1.156, allocations: 0 / 1.029 GB, free: 8.539 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.989e-06/1.156, allocations: 7.953 kB / 1.029 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003006/1.159, allocations: 1.304 MB / 1.031 GB, free: 7.484 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/1.16, allocations: 116.5 kB / 1.031 GB, free: 7.352 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/1.16, allocations: 25.2 kB / 1.031 GB, free: 7.332 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008348/1.161, allocations: 78.59 kB / 1.031 GB, free: 7.258 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002889/1.161, allocations: 89.72 kB / 1.031 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/1.161, allocations: 79.81 kB / 1.031 GB, free: 7.125 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002024/1.161, allocations: 152.1 kB / 1.031 GB, free: 6.996 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.81e-07/1.161, allocations: 4 kB / 1.031 GB, free: 6.992 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001188/1.162, allocations: 167.4 kB / 1.031 GB, free: 6.832 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 100 (onDelay00.u,onDelay11.u,onDelay22.u,onDelay33.u,onDelay44.u,onDelay55.u,onDelay66.u,onDelay77.u,$whenCondition25,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,onDelay00.y,onDelay00.t_next,onDelay11.y,onDelay11.t_next,onDelay22.y,onDelay22.t_next,onDelay44.y,onDelay44.t_next,onDelay55.y,onDelay55.t_next,onDelay66.y,onDelay66.t_next,onDelay33.y,onDelay33.t_next,onDelay77.y,onDelay77.t_next,booPul1.pulseStart,onDelay0.u,onDelay1.u,onDelay2.u,onDelay3.u,onDelay4.u,onDelay5.u,onDelay6.u,onDelay7.u,$whenCondition50,$whenCondition47,$whenCondition48,$whenCondition49,$whenCondition44,$whenCondition45,$whenCondition46,$whenCondition41,$whenCondition42,$whenCondition43,$whenCondition38,$whenCondition39,$whenCondition40,$whenCondition35,$whenCondition36,$whenCondition37,$whenCondition32,$whenCondition33,$whenCondition34,$whenCondition29,$whenCondition30,$whenCondition31,$whenCondition26,$whenCondition27,$whenCondition28,onDelay0.y,onDelay0.t_next,onDelay1.y,onDelay1.t_next,onDelay2.y,onDelay2.t_next,onDelay4.y,onDelay4.t_next,onDelay5.y,onDelay5.t_next,onDelay6.y,onDelay6.t_next,onDelay3.y,onDelay3.t_next,onDelay7.y,onDelay7.t_next,booPul.pulseStart) * Number of discrete states: 16 (onDelay7.t_next,onDelay3.t_next,onDelay6.t_next,onDelay5.t_next,onDelay4.t_next,onDelay2.t_next,onDelay1.t_next,onDelay0.t_next,onDelay77.t_next,onDelay33.t_next,onDelay66.t_next,onDelay55.t_next,onDelay44.t_next,onDelay22.t_next,onDelay11.t_next,onDelay00.t_next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 34 * 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.003719/1.166, allocations: 1.988 MB / 1.033 GB, free: 5.121 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002121/1.168, allocations: 0.6801 MB / 1.034 GB, free: 4.621 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.168, allocations: 0 / 1.034 GB, free: 4.621 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001383/1.17, allocations: 0.5644 MB / 1.034 GB, free: 4.266 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000732/1.171, allocations: 41.95 kB / 1.034 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003442/1.174, allocations: 0.8361 MB / 1.035 GB, free: 3.508 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004826/1.175, allocations: 0.8345 MB / 1.036 GB, free: 2.645 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003647/1.175, allocations: 72.84 kB / 1.036 GB, free: 2.574 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003698/1.175, allocations: 159.4 kB / 1.036 GB, free: 2.512 MB / 0.6511 GB Notification: Performance of SimCode: time 1.032e-06/1.175, allocations: 0 / 1.036 GB, free: 2.512 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05891/1.234, allocations: 9.68 MB / 1.046 GB, free: 8.852 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003208/1.235, allocations: 149.3 kB / 1.046 GB, free: 8.656 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.981/4.216, allocations: 0 / 1.046 GB, free: 8.656 MB / 0.6667 GB