Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.879/3.879, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.337e-05/3.339e-05, allocations: 8.062 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2053, allocations: 98.73 MB / 0.6347 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2228/0.4281, allocations: 124.2 MB / 0.756 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/0.4284, allocations: 71.95 kB / 0.7561 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002359/0.4308, allocations: 0.6575 MB / 0.7567 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4309, allocations: 0 / 0.7567 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.4309, allocations: 0 / 0.7567 GB, free: 4.781 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004383/0.4313, allocations: 346.5 kB / 0.7571 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.4314, allocations: 8.031 kB / 0.7571 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.491e-05/0.4314, allocations: 34.5 kB / 0.7571 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.4315, allocations: 7.984 kB / 0.7571 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.4317, allocations: 186.8 kB / 0.7573 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.4317, allocations: 0 / 0.7573 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.4318, allocations: 4 kB / 0.7573 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.4319, allocations: 45.69 kB / 0.7574 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.4319, allocations: 0 / 0.7574 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.4319, allocations: 8 kB / 0.7574 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.432, allocations: 0 / 0.7574 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.102e-05/0.432, allocations: 15.98 kB / 0.7574 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005399/0.4326, allocations: 280.9 kB / 0.7576 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.247e-05/0.4327, allocations: 30.58 kB / 0.7577 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.502e-05/0.4327, allocations: 4.859 kB / 0.7577 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.4328, allocations: 8 kB / 0.7577 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001313/0.4329, allocations: 59.33 kB / 0.7577 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.545e-06/0.4329, allocations: 0 / 0.7577 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002034/0.4331, allocations: 45.66 kB / 0.7578 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.4332, allocations: 55.39 kB / 0.7578 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.4333, allocations: 108.9 kB / 0.7579 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.4333, allocations: 29.7 kB / 0.758 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.4334, allocations: 84.14 kB / 0.758 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.4334, allocations: 3.906 kB / 0.7581 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/0.4335, allocations: 4 kB / 0.7581 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4336, allocations: 314.8 kB / 0.7584 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.936e-05/0.4337, allocations: 4 kB / 0.7584 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.723e-05/0.4338, allocations: 25.72 kB / 0.7584 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.139e-05/0.4338, allocations: 11.94 kB / 0.7584 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4339, allocations: 0 / 0.7584 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001295/0.434, allocations: 49.69 kB / 0.7584 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.434, allocations: 5.406 kB / 0.7584 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.434, allocations: 0 / 0.7584 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.4341, allocations: 0 / 0.7584 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.269e-05/0.4341, allocations: 11.94 kB / 0.7585 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.4342, allocations: 3.938 kB / 0.7585 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.331e-05/0.4343, allocations: 12.03 kB / 0.7585 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.4343, allocations: 0 / 0.7585 GB, free: 2.781 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booRep.y[3],$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.396e-05/0.4344, allocations: 101 kB / 0.7586 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.4344, allocations: 7.906 kB / 0.7586 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.522e-05/0.4345, allocations: 15.42 kB / 0.7586 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.4345, allocations: 192 / 0.7586 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.4345, allocations: 3.953 kB / 0.7586 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.4345, allocations: 7.984 kB / 0.7586 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.4347, allocations: 161.7 kB / 0.7588 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.4347, allocations: 4 kB / 0.7588 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.756e-06/0.4347, allocations: 0 / 0.7588 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.4347, allocations: 0 / 0.7588 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.4347, allocations: 0 / 0.7588 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4348, allocations: 3.938 kB / 0.7588 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4348, allocations: 0 / 0.7588 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.4349, allocations: 81.02 kB / 0.7588 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.435, allocations: 77.11 kB / 0.7589 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.435, allocations: 8 kB / 0.7589 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.706e-05/0.4351, allocations: 7.984 kB / 0.7589 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.4352, allocations: 3.984 kB / 0.7589 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.4352, allocations: 8 kB / 0.7589 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.302e-05/0.4352, allocations: 83.53 kB / 0.759 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4352, allocations: 0 / 0.759 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00023/0.4355, allocations: 7.953 kB / 0.759 GB, free: 2.117 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: 3 ($whenCondition1,booRep.y[3],booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004432/0.4359, allocations: 0.6142 MB / 0.7596 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.4361, allocations: 27.92 kB / 0.7597 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4361, allocations: 0 / 0.7597 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.792e-05/0.4361, allocations: 8 kB / 0.7597 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.4365, allocations: 4 kB / 0.7597 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004109/0.4369, allocations: 116.6 kB / 0.7598 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.4372, allocations: 0.6809 MB / 0.7604 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.266e-05/0.4373, allocations: 7.984 kB / 0.7605 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.15e-05/0.4373, allocations: 11.44 kB / 0.7605 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of SimCode: time 1.012e-06/0.4374, allocations: 0 / 0.7605 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.4619, allocations: 1.21 MB / 0.7616 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003043/0.4623, allocations: 164.2 kB / 0.7618 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.172/2.635, allocations: 7.938 kB / 0.7618 GB, free: 15.2 MB / 0.6511 GB