Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.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.Toggle,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Toggle",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.146/2.146, 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.001584/0.001584, allocations: 176.3 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.387/2.387, allocations: 205.4 MB / 0.5764 GB, free: 21.2 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.001163/0.001163, allocations: 97.03 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006549/0.0006551, allocations: 22.31 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2333, allocations: 106.3 MB / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.287/0.5204, allocations: 131.8 MB / 1.028 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/0.5207, allocations: 71.97 kB / 1.028 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009058/0.5298, allocations: 1.974 MB / 1.03 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.247e-06/0.5299, allocations: 8 kB / 1.03 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.5299, allocations: 0 / 1.03 GB, free: 11.87 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001189/0.5311, allocations: 463 kB / 1.03 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/0.5312, allocations: 12.03 kB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.601e-05/0.5313, allocations: 42.55 kB / 1.03 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.695e-05/0.5314, allocations: 23.86 kB / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.5316, allocations: 182.9 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.325e-05/0.5317, allocations: 19.98 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.074e-05/0.5318, allocations: 27.98 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005959/0.5324, allocations: 214.1 kB / 1.031 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.5324, allocations: 0 / 1.031 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.159e-05/0.5325, allocations: 15.97 kB / 1.031 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.5325, allocations: 4 kB / 1.031 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00035/0.5328, allocations: 99.83 kB / 1.031 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.5344, allocations: 0.547 MB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.5356, allocations: 330.9 kB / 1.031 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.5357, allocations: 3.953 kB / 1.031 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001307/0.537, allocations: 0.5549 MB / 1.032 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 3.456e-06/0.537, allocations: 0 / 1.032 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.001667/0.5387, allocations: 0.5533 MB / 1.033 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.467e-05/0.5388, allocations: 67.16 kB / 1.033 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.539, allocations: 142.5 kB / 1.033 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.5391, allocations: 53.7 kB / 1.033 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.315e-05/0.5392, allocations: 105.1 kB / 1.033 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.5394, allocations: 102.9 kB / 1.033 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.917e-05/0.5394, allocations: 12 kB / 1.033 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.5396, allocations: 338.8 kB / 1.033 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004325/0.5401, allocations: 145.1 kB / 1.033 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005241/0.5406, allocations: 222.1 kB / 1.034 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.5409, allocations: 99.59 kB / 1.034 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.5409, allocations: 3.938 kB / 1.034 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001075/0.542, allocations: 398.6 kB / 1.034 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.5421, allocations: 8 kB / 1.034 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.5421, allocations: 3.938 kB / 1.034 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/0.5421, allocations: 4 kB / 1.034 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.5423, allocations: 24.17 kB / 1.034 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.576e-05/0.5423, allocations: 15.94 kB / 1.034 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/0.5426, allocations: 27.89 kB / 1.034 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.963e-05/0.5427, allocations: 16 kB / 1.034 GB, free: 6.809 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 66 ($PRE.falCle.clr,$PRE.truCle.clr,$PRE.iniFalOut.clr,$PRE.iniTruOut.clr,$PRE.swiCleInp.clr,$PRE.swiCleInp1.clr,$whenCondition26,$whenCondition25,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.falCle.u,falCle.u,falCle.clr,$PRE.falCle.y,falCle.y,$PRE.truCle.u,truCle.u,truCle.clr,$PRE.truCle.y,truCle.y,$PRE.iniFalOut.u,iniFalOut.u,iniFalOut.clr,$PRE.iniFalOut.y,iniFalOut.y,$PRE.iniTruOut.u,iniTruOut.u,iniTruOut.clr,$PRE.iniTruOut.y,iniTruOut.y,$PRE.swiCleInp.u,swiCleInp.u,swiCleInp.clr,$PRE.swiCleInp.y,swiCleInp.y,$PRE.swiCleInp1.u,swiCleInp1.u,swiCleInp1.clr,$PRE.swiCleInp1.y,swiCleInp1.y,$PRE.cleInp.pulseStart,cleInp.pulseStart,$PRE.togInp.pulseStart,togInp.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0002946/0.543, allocations: 159 kB / 1.034 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.977e-05/0.5431, allocations: 31.77 kB / 1.034 GB, free: 6.613 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.5433, allocations: 46.3 kB / 1.035 GB, free: 6.57 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.5433, allocations: 7.938 kB / 1.035 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.5433, allocations: 3.984 kB / 1.035 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.5433, allocations: 0 / 1.035 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002482/0.5458, allocations: 0.9689 MB / 1.035 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.5459, allocations: 0 / 1.035 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.788e-05/0.546, allocations: 15.92 kB / 1.035 GB, free: 5.492 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.662e-05/0.546, allocations: 4 kB / 1.035 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.65e-05/0.5461, allocations: 32.09 kB / 1.036 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.5461, allocations: 3.938 kB / 1.036 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.5461, allocations: 4 kB / 1.036 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.5474, allocations: 0.5829 MB / 1.036 GB, free: 4.812 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.519e-05/0.5475, allocations: 92.92 kB / 1.036 GB, free: 4.703 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.5476, allocations: 31.94 kB / 1.036 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.548, allocations: 23.97 kB / 1.036 GB, free: 4.648 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000324/0.5483, allocations: 107.8 kB / 1.036 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-05/0.5484, allocations: 31.97 kB / 1.036 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001261/0.5485, allocations: 108.7 kB / 1.036 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/0.5485, allocations: 0 / 1.036 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005952/0.5492, allocations: 83.98 kB / 1.037 GB, free: 4.324 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 46 (swiCleInp.clr,swiCleInp1.clr,$whenCondition26,$whenCondition25,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,falCle.u,falCle.y,truCle.u,truCle.y,iniFalOut.u,iniFalOut.y,iniTruOut.u,iniTruOut.y,swiCleInp.u,swiCleInp.y,swiCleInp1.u,swiCleInp1.y,cleInp.pulseStart,togInp.pulseStart,falCle.clr,iniFalOut.clr,iniTruOut.clr,truCle.clr) * Number of discrete states: 12 (iniTruOut.u,iniTruOut.y,iniFalOut.u,iniFalOut.y,truCle.u,truCle.y,falCle.u,falCle.y,swiCleInp1.u,swiCleInp1.y,swiCleInp.u,swiCleInp.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001872/0.551, allocations: 1.434 MB / 1.038 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001111/0.5522, allocations: 379 kB / 1.038 GB, free: 2.465 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.5522, allocations: 0 / 1.038 GB, free: 2.465 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005948/0.5528, allocations: 228.1 kB / 1.039 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.5533, allocations: 40.55 kB / 1.039 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00493/0.5583, allocations: 2.734 MB / 1.041 GB, free: 15.37 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.5587, allocations: 0.7426 MB / 1.042 GB, free: 14.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002587/0.559, allocations: 38.95 kB / 1.042 GB, free: 14.57 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003311/0.5593, allocations: 87.39 kB / 1.042 GB, free: 14.48 MB / 0.698 GB Notification: Performance of SimCode: time 1.022e-06/0.5593, allocations: 0 / 1.042 GB, free: 14.48 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03042/0.5898, allocations: 5.39 MB / 1.047 GB, free: 9.242 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002399/0.5901, allocations: 178.9 kB / 1.048 GB, free: 9.008 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.531/3.122, allocations: 0 / 1.048 GB, free: 9.008 MB / 0.698 GB