Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.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.Xor,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",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.156/2.156, 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.001559/0.001559, allocations: 178.2 kB / 325.5 MB, free: 2.91 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.421/2.421, allocations: 205.4 MB / 0.5764 GB, free: 20.78 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.001142/0.001142, allocations: 95.05 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006366/0.0006366, allocations: 19.36 kB / 0.7951 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2147, allocations: 106.3 MB / 0.8988 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2191/0.4338, allocations: 131.3 MB / 1.027 GB, free: 14 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003532/0.4342, allocations: 67.97 kB / 1.027 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003706/0.438, allocations: 0.9151 MB / 1.028 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.345e-06/0.438, allocations: 0 / 1.028 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.438, allocations: 0 / 1.028 GB, free: 13.01 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006718/0.4387, allocations: 371.1 kB / 1.028 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/0.4388, allocations: 16.03 kB / 1.028 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.151e-05/0.4388, allocations: 34.55 kB / 1.028 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.4389, allocations: 4 kB / 1.028 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.4391, allocations: 170.9 kB / 1.029 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.4391, allocations: 7.938 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.4391, allocations: 4 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.4393, allocations: 49.67 kB / 1.029 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.4393, allocations: 0 / 1.029 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.4393, allocations: 4 kB / 1.029 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.4393, allocations: 0 / 1.029 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.924e-05/0.4395, allocations: 27.98 kB / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000539/0.44, allocations: 284.8 kB / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.4402, allocations: 42.52 kB / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.4402, allocations: 7.984 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.4404, allocations: 67.52 kB / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.535e-06/0.4404, allocations: 0 / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0003135/0.4408, allocations: 89.53 kB / 1.029 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.123e-05/0.4408, allocations: 63.34 kB / 1.029 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.441, allocations: 109 kB / 1.029 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.441, allocations: 29.7 kB / 1.029 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.802e-05/0.4411, allocations: 84.14 kB / 1.029 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.4411, allocations: 11.81 kB / 1.029 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-06/0.4412, allocations: 8 kB / 1.029 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.4413, allocations: 314.8 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.463e-05/0.4414, allocations: 16 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.942e-05/0.4415, allocations: 38.5 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.68e-05/0.4416, allocations: 16 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.4416, allocations: 0 / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002112/0.4418, allocations: 85.47 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.4418, allocations: 4 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.4418, allocations: 4 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.4419, allocations: 0 / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-05/0.442, allocations: 7.938 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.442, allocations: 0.7031 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.4422, allocations: 19.94 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.4422, allocations: 7.984 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,xor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001348/0.4423, allocations: 121.8 kB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.4424, allocations: 0 / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.506e-05/0.4424, allocations: 12.38 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.4424, allocations: 0 / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4425, allocations: 0 / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4425, allocations: 0 / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.4427, allocations: 185.6 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.4427, allocations: 3.938 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.352e-05/0.4428, allocations: 0 / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.4428, allocations: 12 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.4428, allocations: 0 / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.4428, allocations: 3.984 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4428, allocations: 0 / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.4431, allocations: 105 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.4431, allocations: 89.02 kB / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.4432, allocations: 0 / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.4433, allocations: 15.98 kB / 1.03 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.45e-05/0.4434, allocations: 15.97 kB / 1.03 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.4434, allocations: 4 kB / 1.03 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.599e-05/0.4435, allocations: 91.27 kB / 1.031 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.348e-06/0.4435, allocations: 0 / 1.031 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002561/0.4438, allocations: 15.94 kB / 1.031 GB, free: 10.06 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: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,xor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005789/0.4444, allocations: 0.6367 MB / 1.031 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001881/0.4446, allocations: 47.92 kB / 1.031 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4446, allocations: 0 / 1.031 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.436e-05/0.4447, allocations: 20 kB / 1.031 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.445, allocations: 20.11 kB / 1.031 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.4462, allocations: 0.799 MB / 1.032 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.4466, allocations: 0.6887 MB / 1.033 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.224e-05/0.4467, allocations: 4 kB / 1.033 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.298e-05/0.4468, allocations: 11.44 kB / 1.033 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of SimCode: time 1.133e-06/0.4468, allocations: 4 kB / 1.033 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01961/0.4664, allocations: 1.6 MB / 1.034 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003016/0.4667, allocations: 188.2 kB / 1.034 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.268/2.735, allocations: 0 / 1.034 GB, free: 5.996 MB / 0.6823 GB