Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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.174/2.174, allocations: 251 MB / 265.9 MB, free: 11.68 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.001507/0.001506, allocations: 176.9 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.363/2.363, allocations: 205.4 MB / 0.5764 GB, free: 21.18 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.001085/0.001085, allocations: 100.4 kB / 0.6809 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006323/0.0006323, allocations: 14.38 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2154, allocations: 106.3 MB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2218/0.4373, allocations: 131.3 MB / 1.027 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.4376, allocations: 67.97 kB / 1.027 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004933/0.4425, allocations: 1.165 MB / 1.028 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.525e-06/0.4426, allocations: 0 / 1.028 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.4426, allocations: 4 kB / 1.028 GB, free: 13.26 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007856/0.4434, allocations: 407 kB / 1.029 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.4435, allocations: 12.03 kB / 1.029 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.665e-05/0.4435, allocations: 38.55 kB / 1.029 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.4436, allocations: 11.86 kB / 1.029 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.4438, allocations: 174.9 kB / 1.029 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.4438, allocations: 4 kB / 1.029 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.4438, allocations: 4 kB / 1.029 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.444, allocations: 65.61 kB / 1.029 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.444, allocations: 0 / 1.029 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.4441, allocations: 4 kB / 1.029 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.4441, allocations: 0 / 1.029 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.4442, allocations: 31.97 kB / 1.029 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005803/0.4448, allocations: 312.7 kB / 1.029 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.445, allocations: 50.52 kB / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.445, allocations: 7.984 kB / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002377/0.4453, allocations: 79.41 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 3.126e-06/0.4453, allocations: 0 / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.00038/0.4457, allocations: 121.5 kB / 1.03 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.4458, allocations: 51.41 kB / 1.03 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.4459, allocations: 120.8 kB / 1.03 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.4459, allocations: 37.69 kB / 1.03 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/0.446, allocations: 88.14 kB / 1.03 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.446, allocations: 19.75 kB / 1.03 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.696e-06/0.4461, allocations: 0 / 1.03 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.4462, allocations: 322.8 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.668e-05/0.4463, allocations: 19.98 kB / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.4464, allocations: 47.42 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.037e-05/0.4465, allocations: 24 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4465, allocations: 3.938 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002376/0.4467, allocations: 93.91 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.4468, allocations: 5.875 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.4468, allocations: 0 / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.4468, allocations: 4 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.4469, allocations: 16.02 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.447, allocations: 23.91 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.4472, allocations: 23.89 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.4472, allocations: 4 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001163/0.4474, allocations: 117.8 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.4474, allocations: 11.89 kB / 1.031 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.351e-05/0.4475, allocations: 8.375 kB / 1.031 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.4475, allocations: 8 kB / 1.031 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.4475, allocations: 0 / 1.031 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.4475, allocations: 7.891 kB / 1.031 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.4477, allocations: 189.8 kB / 1.031 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.4478, allocations: 4 kB / 1.031 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.952e-05/0.4478, allocations: 4 kB / 1.031 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4478, allocations: 0 / 1.031 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.4478, allocations: 4 kB / 1.031 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4478, allocations: 0 / 1.031 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.4478, allocations: 0 / 1.031 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.4481, allocations: 126 kB / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.795e-05/0.4482, allocations: 89.08 kB / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.4482, allocations: 4 kB / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.4484, allocations: 19.98 kB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.744e-05/0.4485, allocations: 15.97 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.4485, allocations: 8 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.389e-05/0.4486, allocations: 95.27 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.41e-07/0.4487, allocations: 0 / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002755/0.449, allocations: 16 kB / 1.031 GB, free: 10.04 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y,booPul3.y,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000604/0.4496, allocations: 0.6593 MB / 1.032 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.4498, allocations: 71.8 kB / 1.032 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4499, allocations: 4 kB / 1.032 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.45, allocations: 31.98 kB / 1.032 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.4503, allocations: 15.98 kB / 1.032 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.4518, allocations: 1.04 MB / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.4521, allocations: 0.6926 MB / 1.034 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.358e-05/0.4522, allocations: 12.48 kB / 1.034 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.514e-05/0.4523, allocations: 23.44 kB / 1.034 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of SimCode: time 1.502e-06/0.4523, allocations: 0 / 1.034 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.4773, allocations: 2.018 MB / 1.036 GB, free: 5.477 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003587/0.4777, allocations: 178.8 kB / 1.036 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.549/3.026, allocations: 0 / 1.036 GB, free: 5.238 MB / 0.6823 GB