Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.MultiAnd,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",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.103/2.103, allocations: 251 MB / 265.9 MB, free: 11.71 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.001639/0.001639, allocations: 174.8 kB / 325.5 MB, free: 2.895 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.54/2.54, 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.001686/0.001686, allocations: 110.2 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000506/0.0005061, allocations: 12 kB / 0.7951 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2132, allocations: 106.3 MB / 0.8988 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2173/0.4306, allocations: 131.6 MB / 1.027 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.4309, allocations: 67.95 kB / 1.027 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0098/0.4407, allocations: 2.161 MB / 1.029 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4408, allocations: 0 / 1.029 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.748e-05/0.4408, allocations: 4 kB / 1.029 GB, free: 11.45 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001161/0.442, allocations: 487.2 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.442, allocations: 8.031 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.071e-05/0.4421, allocations: 46.55 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.048e-05/0.4422, allocations: 19.81 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.4425, allocations: 226.6 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.4426, allocations: 16 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.885e-05/0.4426, allocations: 12 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004181/0.4431, allocations: 163.2 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.4431, allocations: 0 / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.4431, allocations: 4 kB / 1.03 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.4431, allocations: 4 kB / 1.03 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.4435, allocations: 95.94 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001588/0.4451, allocations: 0.6137 MB / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004185/0.4455, allocations: 211.6 kB / 1.031 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.4455, allocations: 4.094 kB / 1.031 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003028/0.4459, allocations: 133.1 kB / 1.031 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 3.456e-06/0.4459, allocations: 0 / 1.031 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20): time 0.0006267/0.4465, allocations: 218.7 kB / 1.032 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.4466, allocations: 55.41 kB / 1.032 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.4468, allocations: 166.9 kB / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.4468, allocations: 29.7 kB / 1.032 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.14e-05/0.4469, allocations: 120.5 kB / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.007e-05/0.447, allocations: 43.72 kB / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.809e-05/0.447, allocations: 4 kB / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.4472, allocations: 326.8 kB / 1.032 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.4473, allocations: 51.97 kB / 1.032 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.4475, allocations: 97.97 kB / 1.033 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.4477, allocations: 47.55 kB / 1.033 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.4477, allocations: 4 kB / 1.033 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004621/0.4482, allocations: 189.3 kB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.4482, allocations: 4 kB / 1.033 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.4482, allocations: 4 kB / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.4483, allocations: 0 / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.4484, allocations: 23.86 kB / 1.033 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.4484, allocations: 4 kB / 1.033 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003781/0.4488, allocations: 44.11 kB / 1.033 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.4489, allocations: 8 kB / 1.033 GB, free: 7.746 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulAnd2.u[1],mulAnd2.u[2],mulAnd2.y,mulAnd5.u[3],mulAnd5.u[4],mulAnd5.u[5],mulAnd5.y,mulAnd5.uTemp[2],mulAnd5.uTemp[3],mulAnd5.uTemp[4],$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.booPul3.pulseStart,booPul3.pulseStart,$PRE.booPul4.pulseStart,booPul4.pulseStart,$PRE.booPul5.pulseStart,booPul5.pulseStart,mulAnd0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002042/0.4491, allocations: 148 kB / 1.033 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.4491, allocations: 19.8 kB / 1.033 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.735e-05/0.4492, allocations: 17.19 kB / 1.033 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4492, allocations: 4 kB / 1.033 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.4492, allocations: 4 kB / 1.033 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.4493, allocations: 0 / 1.033 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009141/0.4502, allocations: 0.4944 MB / 1.034 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.4502, allocations: 0 / 1.034 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.67e-05/0.4503, allocations: 11.97 kB / 1.034 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.4503, allocations: 64 / 1.034 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.4503, allocations: 8 kB / 1.034 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.4503, allocations: 0 / 1.034 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4503, allocations: 0 / 1.034 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004522/0.4508, allocations: 277.9 kB / 1.034 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.232e-05/0.4509, allocations: 92.86 kB / 1.034 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.4509, allocations: 7.984 kB / 1.034 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/0.4513, allocations: 39.97 kB / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.4515, allocations: 27.95 kB / 1.034 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.4515, allocations: 7.984 kB / 1.034 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000132/0.4516, allocations: 115.3 kB / 1.034 GB, free: 6.395 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4516, allocations: 3.938 kB / 1.034 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003867/0.452, allocations: 43.94 kB / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulAnd5.uTemp[2],$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulAnd2.u[1],mulAnd2.u[2],mulAnd2.y,mulAnd5.u[3],mulAnd5.u[4],mulAnd5.u[5],mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.uTemp[4],booPul1.pulseStart,booPul2.pulseStart,booPul3.pulseStart,booPul4.pulseStart,booPul5.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0008679/0.4529, allocations: 0.802 MB / 1.035 GB, free: 5.516 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004353/0.4534, allocations: 146.9 kB / 1.035 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4534, allocations: 0 / 1.035 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.4536, allocations: 79.89 kB / 1.035 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005299/0.4542, allocations: 40.34 kB / 1.035 GB, free: 5.258 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.4567, allocations: 1.88 MB / 1.037 GB, free: 3.293 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.4571, allocations: 0.7284 MB / 1.038 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001799/0.4573, allocations: 33.52 kB / 1.038 GB, free: 2.508 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.4575, allocations: 47.42 kB / 1.038 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of SimCode: time 1.102e-06/0.4575, allocations: 0 / 1.038 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/0.4815, allocations: 3.657 MB / 1.041 GB, free: 14.96 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000338/0.4819, allocations: 179 kB / 1.042 GB, free: 14.73 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.388/2.87, allocations: 0 / 1.042 GB, free: 14.73 MB / 0.698 GB