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.352/2.352, allocations: 248.5 MB / 261.1 MB, free: 6.059 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.001413/0.001413, allocations: 182.6 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.945/1.945, allocations: 205.2 MB / 0.571 GB, free: 11.73 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: 104 kB / 0.6754 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.062e-05/4.073e-05, allocations: 7.984 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2311, allocations: 106.2 MB / 0.8907 GB, free: 7.426 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8916/1.123, allocations: 131.2 MB / 1.019 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/1.123, allocations: 74.25 kB / 1.019 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003535/1.127, allocations: 0.9061 MB / 1.02 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.024e-06/1.127, allocations: 4 kB / 1.02 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.895e-06/1.127, allocations: 0 / 1.02 GB, free: 2.793 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.0006223/1.127, allocations: 354.8 kB / 1.02 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/1.127, allocations: 8.031 kB / 1.02 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.263e-05/1.128, allocations: 34.56 kB / 1.02 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/1.128, allocations: 3.906 kB / 1.02 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/1.128, allocations: 186.5 kB / 1.02 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/1.128, allocations: 0 / 1.02 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/1.128, allocations: 7.984 kB / 1.02 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/1.128, allocations: 56.23 kB / 1.02 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/1.128, allocations: 0 / 1.02 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/1.128, allocations: 3.938 kB / 1.02 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/1.128, allocations: 0 / 1.02 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.878e-05/1.128, allocations: 22.56 kB / 1.02 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005517/1.129, allocations: 282.7 kB / 1.021 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/1.129, allocations: 43.83 kB / 1.021 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.73e-05/1.129, allocations: 19.34 kB / 1.021 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/1.129, allocations: 10.44 kB / 1.021 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/1.129, allocations: 71.84 kB / 1.021 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.475e-06/1.129, allocations: 4 kB / 1.021 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002502/1.129, allocations: 74.95 kB / 1.021 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/1.13, allocations: 51.41 kB / 1.021 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/1.13, allocations: 110.6 kB / 1.021 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/1.13, allocations: 25.7 kB / 1.021 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.924e-05/1.13, allocations: 91.06 kB / 1.021 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/1.13, allocations: 7.281 kB / 1.021 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-06/1.13, allocations: 3.938 kB / 1.021 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.13, allocations: 322.6 kB / 1.021 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.03e-05/1.13, allocations: 14 kB / 1.021 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.194e-05/1.13, allocations: 42 kB / 1.022 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.669e-05/1.13, allocations: 12.38 kB / 1.022 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.13, allocations: 0 / 1.022 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001817/1.13, allocations: 86.33 kB / 1.022 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.13, allocations: 8.062 kB / 1.022 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/1.13, allocations: 0 / 1.022 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/1.13, allocations: 0 / 1.022 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.411e-05/1.131, allocations: 15.92 kB / 1.022 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/1.131, allocations: 3.953 kB / 1.022 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/1.131, allocations: 12.8 kB / 1.022 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/1.131, allocations: 7.938 kB / 1.022 GB, free: 0.7266 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 9.276e-05/1.131, allocations: 112.4 kB / 1.022 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/1.131, allocations: 3.906 kB / 1.022 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.703e-05/1.131, allocations: 15.88 kB / 1.022 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/1.131, allocations: 0 / 1.022 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.131, allocations: 0 / 1.022 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/1.131, allocations: 3.953 kB / 1.022 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/1.131, allocations: 179 kB / 1.022 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/1.131, allocations: 0 / 1.022 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.422e-05/1.131, allocations: 0 / 1.022 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/1.131, allocations: 4 kB / 1.022 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/1.131, allocations: 3.984 kB / 1.022 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.131, allocations: 4 kB / 1.022 GB, free: 376 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/1.131, allocations: 0 / 1.022 GB, free: 376 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/1.132, allocations: 106.7 kB / 1.022 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.855e-05/1.132, allocations: 80.73 kB / 1.022 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/1.132, allocations: 0 / 1.022 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/1.132, allocations: 15.98 kB / 1.022 GB, free: 148 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.997e-05/1.132, allocations: 19.91 kB / 1.022 GB, free: 132 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/1.132, allocations: 4 kB / 1.022 GB, free: 128 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.289e-05/1.132, allocations: 86.47 kB / 1.022 GB, free: 44 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.6e-07/1.132, allocations: 0 / 1.022 GB, free: 44 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002422/1.132, allocations: 11.62 kB / 1.022 GB, free: 36 kB / 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.0005393/1.133, allocations: 0.6412 MB / 1.023 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001754/1.133, allocations: 45.92 kB / 1.023 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.133, allocations: 3.938 kB / 1.023 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.574e-05/1.133, allocations: 26.8 kB / 1.023 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/1.133, allocations: 12.77 kB / 1.023 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004795/1.134, allocations: 134 kB / 1.023 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/1.134, allocations: 0.6887 MB / 1.024 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.888e-05/1.134, allocations: 11.84 kB / 1.024 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.813e-05/1.134, allocations: 15.31 kB / 1.024 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of SimCode: time 6.72e-07/1.134, allocations: 0 / 1.024 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/1.158, allocations: 1.616 MB / 1.025 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003405/1.158, allocations: 152.4 kB / 1.026 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.35/3.508, allocations: 2.391 kB / 1.026 GB, free: 12.69 MB / 0.6511 GB