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.401/2.401, allocations: 248.7 MB / 256.2 MB, free: 7.074 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.001474/0.001474, allocations: 187.1 kB / 315.4 MB, free: 3.992 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.118/2.118, allocations: 205.3 MB / 0.5662 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 88 kB / 0.6704 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.95e-05/2.963e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2188, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9227/1.142, allocations: 131.5 MB / 1.012 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/1.142, allocations: 72.27 kB / 1.013 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003566/1.145, allocations: 0.9047 MB / 1.013 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.793e-06/1.146, allocations: 0 / 1.013 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.905e-06/1.146, allocations: 0 / 1.013 GB, free: 6.426 MB / 0.6355 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.0005872/1.146, allocations: 356.8 kB / 1.014 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/1.146, allocations: 12.03 kB / 1.014 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/1.146, allocations: 7.906 kB / 1.014 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/1.146, allocations: 182.4 kB / 1.014 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/1.146, allocations: 4 kB / 1.014 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/1.146, allocations: 0 / 1.014 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001171/1.147, allocations: 23.8 kB / 1.014 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/1.147, allocations: 45.44 kB / 1.014 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.619e-06/1.147, allocations: 0 / 1.014 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/1.147, allocations: 0 / 1.014 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/1.147, allocations: 1.062 kB / 1.014 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004901/1.147, allocations: 264.2 kB / 1.014 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/1.147, allocations: 42.14 kB / 1.014 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.02e-05/1.148, allocations: 19.3 kB / 1.014 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/1.148, allocations: 0 / 1.014 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/1.148, allocations: 75.11 kB / 1.014 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.934e-06/1.148, allocations: 0 / 1.014 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002434/1.148, allocations: 69.5 kB / 1.014 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/1.148, allocations: 55.41 kB / 1.015 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/1.148, allocations: 108.4 kB / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/1.148, allocations: 29.7 kB / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.865e-05/1.148, allocations: 84.08 kB / 1.015 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/1.148, allocations: 7.906 kB / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/1.148, allocations: 0 / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001704/1.149, allocations: 326.7 kB / 1.015 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.408e-05/1.149, allocations: 11.81 kB / 1.015 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.742e-05/1.149, allocations: 34.33 kB / 1.015 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.073e-05/1.149, allocations: 8.406 kB / 1.015 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.149, allocations: 0 / 1.015 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001746/1.149, allocations: 77.33 kB / 1.015 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/1.149, allocations: 8.062 kB / 1.015 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/1.149, allocations: 480 / 1.015 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/1.149, allocations: 8.172 kB / 1.015 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.024e-05/1.149, allocations: 11.94 kB / 1.015 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/1.149, allocations: 3.938 kB / 1.015 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/1.149, allocations: 15.98 kB / 1.015 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/1.149, allocations: 0 / 1.015 GB, free: 4.469 MB / 0.6355 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 () * 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.0001062/1.149, allocations: 116.9 kB / 1.015 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001613/1.15, allocations: 76.52 kB / 1.015 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/1.15, allocations: 3.906 kB / 1.015 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.845e-05/1.15, allocations: 16.42 kB / 1.015 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/1.15, allocations: 0 / 1.015 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.15, allocations: 3.938 kB / 1.015 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/1.15, allocations: 7.938 kB / 1.015 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/1.15, allocations: 145.9 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.15, allocations: 0 / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.426e-05/1.15, allocations: 4 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/1.15, allocations: 0 / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/1.15, allocations: 4 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/1.15, allocations: 3.984 kB / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.15, allocations: 0 / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/1.15, allocations: 92.88 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.755e-05/1.15, allocations: 88.7 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/1.15, allocations: 0 / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/1.15, allocations: 15.98 kB / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.601e-05/1.151, allocations: 15.97 kB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/1.151, allocations: 0 / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.486e-05/1.151, allocations: 90.59 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.735e-06/1.151, allocations: 0 / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002744/1.151, allocations: 11.94 kB / 1.016 GB, free: 3.734 MB / 0.6355 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 () * 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.0005201/1.152, allocations: 0.6341 MB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001621/1.152, allocations: 42.61 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.152, allocations: 0 / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.777e-05/1.152, allocations: 19.88 kB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/1.152, allocations: 15.73 kB / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004816/1.153, allocations: 129.1 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/1.153, allocations: 0.6885 MB / 1.017 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.995e-05/1.153, allocations: 7.859 kB / 1.017 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.188e-05/1.153, allocations: 22.86 kB / 1.017 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of SimCode: time 7.01e-07/1.153, allocations: 0 / 1.017 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03676/1.19, allocations: 1.295 MB / 1.019 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003488/1.19, allocations: 144.4 kB / 1.019 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.264/3.455, allocations: 0 / 1.019 GB, free: 0.6602 MB / 0.6355 GB