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.18/2.18, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001511/0.00151, allocations: 186.2 kB / 325.5 MB, free: 2.898 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.439/2.439, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.001166/0.001166, allocations: 98.53 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005/0.0005001, allocations: 14.59 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2047, allocations: 106.3 MB / 0.8988 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2245/0.4293, allocations: 132.1 MB / 1.028 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.4296, allocations: 79.94 kB / 1.028 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02124/0.4509, allocations: 4.373 MB / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.134e-06/0.451, allocations: 0 / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.764e-05/0.451, allocations: 8 kB / 1.032 GB, free: 8.758 MB / 0.6823 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.002583/0.4536, allocations: 0.7311 MB / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.4536, allocations: 12.03 kB / 1.033 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001589/0.4538, allocations: 78.42 kB / 1.033 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.454, allocations: 63.91 kB / 1.033 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.4543, allocations: 206.6 kB / 1.033 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.551e-05/0.4544, allocations: 52.52 kB / 1.033 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/0.4546, allocations: 79.95 kB / 1.033 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.4561, allocations: 495 kB / 1.034 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.4562, allocations: 0 / 1.034 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.4563, allocations: 23.95 kB / 1.034 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.4563, allocations: 8 kB / 1.034 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.4573, allocations: 253.2 kB / 1.034 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003431/0.4608, allocations: 1.134 MB / 1.035 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/0.463, allocations: 0.6742 MB / 1.036 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.463, allocations: 4 kB / 1.036 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002072/0.4651, allocations: 0.7646 MB / 1.037 GB, free: 4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=100): time 4.158e-06/0.4651, allocations: 0 / 1.037 GB, free: 4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100): time 0.005144/0.4703, allocations: 1.574 MB / 1.038 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.085e-05/0.4704, allocations: 89.98 kB / 1.038 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003872/0.4708, allocations: 241.4 kB / 1.038 GB, free: 2.074 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001598/0.471, allocations: 69.69 kB / 1.039 GB, free: 2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.4711, allocations: 150.1 kB / 1.039 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002531/0.4714, allocations: 197.6 kB / 1.039 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.697e-05/0.4715, allocations: 24 kB / 1.039 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002003/0.4717, allocations: 370.8 kB / 1.039 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008453/0.4726, allocations: 206.5 kB / 1.039 GB, free: 1.059 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.4738, allocations: 0.5624 MB / 1.04 GB, free: 340 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009607/0.4747, allocations: 262.5 kB / 1.04 GB, free: 80 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/0.4748, allocations: 4 kB / 1.04 GB, free: 76 kB / 0.6823 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002592/0.4774, allocations: 0.8454 MB / 1.041 GB, free: 15.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/0.4774, allocations: 16.17 kB / 1.041 GB, free: 15.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/0.4775, allocations: 16 kB / 1.041 GB, free: 15.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.322e-05/0.4775, allocations: 20 kB / 1.041 GB, free: 15.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008105/0.4783, allocations: 131.6 kB / 1.041 GB, free: 15.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.044e-05/0.4784, allocations: 27.91 kB / 1.041 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008392/0.4792, allocations: 99.59 kB / 1.041 GB, free: 14.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.4794, allocations: 48 kB / 1.041 GB, free: 14.87 MB / 0.698 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 () * Number of clocked 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.0005572/0.4799, allocations: 259.6 kB / 1.042 GB, free: 14.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.4801, allocations: 75.33 kB / 1.042 GB, free: 14.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.4803, allocations: 55.56 kB / 1.042 GB, free: 14.47 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.4803, allocations: 12 kB / 1.042 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.4803, allocations: 0 / 1.042 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.4803, allocations: 3.984 kB / 1.042 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005966/0.4863, allocations: 2.28 MB / 1.044 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.4864, allocations: 3.938 kB / 1.044 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.4865, allocations: 27.92 kB / 1.044 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-05/0.4865, allocations: 4 kB / 1.044 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.4866, allocations: 35.95 kB / 1.044 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.197e-05/0.4867, allocations: 4 kB / 1.044 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/0.4867, allocations: 3.953 kB / 1.044 GB, free: 12.01 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003759/0.4905, allocations: 1.442 MB / 1.045 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.4906, allocations: 120.5 kB / 1.046 GB, free: 10.42 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.4908, allocations: 39.95 kB / 1.046 GB, free: 10.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008056/0.4917, allocations: 75.86 kB / 1.046 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002777/0.4919, allocations: 96.7 kB / 1.046 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/0.4921, allocations: 83.94 kB / 1.046 GB, free: 10.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002381/0.4924, allocations: 166 kB / 1.046 GB, free: 9.965 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4924, allocations: 3.938 kB / 1.046 GB, free: 9.961 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001066/0.4935, allocations: 200 kB / 1.046 GB, free: 9.766 MB / 0.698 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) * Number of clocked states: 0 () * 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.004452/0.4979, allocations: 2.126 MB / 1.048 GB, free: 7.602 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002694/0.5007, allocations: 0.7835 MB / 1.049 GB, free: 6.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.5007, allocations: 1.812 kB / 1.049 GB, free: 6.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001712/0.5024, allocations: 0.6179 MB / 1.05 GB, free: 6.203 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006043/0.5031, allocations: 52.5 kB / 1.05 GB, free: 6.152 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5777/1.081, allocations: 9.395 MB / 1.059 GB, free: 149.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/1.081, allocations: 0.84 MB / 1.06 GB, free: 148.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004178/1.082, allocations: 69.89 kB / 1.06 GB, free: 148.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003919/1.082, allocations: 163.2 kB / 1.06 GB, free: 148.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.232e-06/1.082, allocations: 0 / 1.06 GB, free: 148.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05397/1.136, allocations: 9.959 MB / 1.07 GB, free: 148.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002409/1.136, allocations: 191.2 kB / 1.07 GB, free: 148 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.875/4.011, allocations: 0.8125 kB / 1.07 GB, free: 148 MB / 0.698 GB