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.574/2.574, allocations: 248.5 MB / 261.1 MB, free: 6.09 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.001434/0.001434, allocations: 178.7 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.03/2.03, allocations: 205.2 MB / 0.571 GB, free: 11.81 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.00114/0.00114, allocations: 88.59 kB / 0.6754 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.73e-05/3.734e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2232, allocations: 106.2 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.919/1.142, allocations: 132 MB / 1.02 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/1.143, allocations: 70.58 kB / 1.02 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02141/1.164, allocations: 4.38 MB / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.874e-06/1.164, allocations: 4 kB / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.566e-05/1.164, allocations: 4 kB / 1.024 GB, free: 14.96 MB / 0.6511 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.002589/1.167, allocations: 0.7012 MB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/1.167, allocations: 12.03 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002051/1.167, allocations: 72.67 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002062/1.167, allocations: 67.81 kB / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/1.167, allocations: 210.1 kB / 1.025 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/1.168, allocations: 47.08 kB / 1.025 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/1.168, allocations: 79.14 kB / 1.025 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/1.169, allocations: 480.6 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/1.169, allocations: 7.938 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/1.169, allocations: 23.39 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/1.169, allocations: 8 kB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008379/1.17, allocations: 236 kB / 1.026 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00366/1.174, allocations: 1.133 MB / 1.027 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/1.176, allocations: 0.6527 MB / 1.028 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/1.177, allocations: 322.1 kB / 1.028 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/1.177, allocations: 11.45 kB / 1.028 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00195/1.179, allocations: 0.7413 MB / 1.029 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=100): time 4.419e-06/1.179, allocations: 0 / 1.029 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=100): time 0.003512/1.182, allocations: 1.191 MB / 1.03 GB, free: 10 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/1.183, allocations: 97.78 kB / 1.03 GB, free: 9.895 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003753/1.183, allocations: 232.5 kB / 1.03 GB, free: 9.707 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000159/1.183, allocations: 66.38 kB / 1.03 GB, free: 9.66 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/1.183, allocations: 146.1 kB / 1.03 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/1.184, allocations: 203.9 kB / 1.03 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-05/1.184, allocations: 28.31 kB / 1.031 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001744/1.184, allocations: 363.5 kB / 1.031 GB, free: 9.027 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006458/1.185, allocations: 198.7 kB / 1.031 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009463/1.185, allocations: 0.5435 MB / 1.032 GB, free: 8.273 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008032/1.186, allocations: 264.2 kB / 1.032 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/1.186, allocations: 0 / 1.032 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002174/1.189, allocations: 0.8235 MB / 1.033 GB, free: 7.402 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/1.189, allocations: 15.95 kB / 1.033 GB, free: 7.387 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/1.189, allocations: 8.875 kB / 1.033 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.467e-05/1.189, allocations: 20 kB / 1.033 GB, free: 7.359 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008068/1.189, allocations: 138.2 kB / 1.033 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.01e-05/1.19, allocations: 19.94 kB / 1.033 GB, free: 7.215 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008915/1.19, allocations: 99.8 kB / 1.033 GB, free: 7.137 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/1.191, allocations: 46.56 kB / 1.033 GB, free: 7.098 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.0004667/1.191, allocations: 236.1 kB / 1.033 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/1.191, allocations: 75.23 kB / 1.033 GB, free: 6.824 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/1.191, allocations: 49.86 kB / 1.033 GB, free: 6.805 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/1.191, allocations: 15.98 kB / 1.033 GB, free: 6.789 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/1.191, allocations: 4 kB / 1.033 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/1.191, allocations: 3.984 kB / 1.033 GB, free: 6.781 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005627/1.197, allocations: 2.249 MB / 1.036 GB, free: 4.895 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/1.197, allocations: 4 kB / 1.036 GB, free: 4.891 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/1.197, allocations: 23.48 kB / 1.036 GB, free: 4.871 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.574e-05/1.197, allocations: 4 kB / 1.036 GB, free: 4.867 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/1.197, allocations: 37.45 kB / 1.036 GB, free: 4.844 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.035e-05/1.198, allocations: 8 kB / 1.036 GB, free: 4.836 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.198, allocations: 7.891 kB / 1.036 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003254/1.201, allocations: 1.401 MB / 1.037 GB, free: 3.707 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/1.201, allocations: 116.5 kB / 1.037 GB, free: 3.574 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/1.201, allocations: 41.69 kB / 1.037 GB, free: 3.547 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008408/1.202, allocations: 81.73 kB / 1.037 GB, free: 3.477 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002933/1.202, allocations: 96.64 kB / 1.037 GB, free: 3.398 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/1.203, allocations: 74.83 kB / 1.037 GB, free: 3.344 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002458/1.203, allocations: 161.4 kB / 1.038 GB, free: 3.207 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.203, allocations: 0 / 1.038 GB, free: 3.207 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001026/1.204, allocations: 203 kB / 1.038 GB, free: 3.035 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.003758/1.208, allocations: 2.089 MB / 1.04 GB, free: 1.242 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00226/1.21, allocations: 0.7647 MB / 1.041 GB, free: 0.6602 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.21, allocations: 0 / 1.041 GB, free: 0.6602 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001501/1.211, allocations: 0.5944 MB / 1.041 GB, free: 272 kB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006904/1.212, allocations: 54.38 kB / 1.041 GB, free: 236 kB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00359/1.216, allocations: 0.9453 MB / 1.042 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/1.216, allocations: 0.8306 MB / 1.043 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003648/1.217, allocations: 72.91 kB / 1.043 GB, free: 14.51 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003673/1.217, allocations: 161.6 kB / 1.043 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of SimCode: time 1.403e-06/1.217, allocations: 4 kB / 1.043 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04796/1.265, allocations: 10.28 MB / 1.053 GB, free: 4.285 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002808/1.265, allocations: 162.7 kB / 1.053 GB, free: 4.059 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.026/4.292, allocations: 0 / 1.053 GB, free: 4.059 MB / 0.6667 GB