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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 4.305/4.305, allocations: 433.2 MB / 440.7 MB, free: 4.594 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.267e-05/2.282e-05, allocations: 3.469 kB / 0.5325 GB, free: 12.72 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2172, allocations: 98.73 MB / 0.6289 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.234/0.4513, allocations: 123.6 MB / 0.7496 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.4516, allocations: 71.95 kB / 0.7496 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002423/0.4541, allocations: 0.6689 MB / 0.7503 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4541, allocations: 0 / 0.7503 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.4542, allocations: 3.938 kB / 0.7503 GB, free: 12.66 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.0004422/0.4546, allocations: 330.5 kB / 0.7506 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.4547, allocations: 12.03 kB / 0.7506 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.4547, allocations: 7.953 kB / 0.7506 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.4549, allocations: 174.9 kB / 0.7508 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.455, allocations: 7.984 kB / 0.7508 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.455, allocations: 4 kB / 0.7508 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.802e-05/0.4551, allocations: 15.94 kB / 0.7508 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.639e-05/0.4552, allocations: 41.69 kB / 0.7509 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.4552, allocations: 0 / 0.7509 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.4552, allocations: 0 / 0.7509 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.4553, allocations: 4 kB / 0.7509 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004964/0.4558, allocations: 261.5 kB / 0.7511 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.085e-05/0.4559, allocations: 22.52 kB / 0.7511 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.093e-05/0.4559, allocations: 12.92 kB / 0.7512 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.774e-06/0.4559, allocations: 0 / 0.7512 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.4561, allocations: 59.39 kB / 0.7512 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 4.408e-06/0.4561, allocations: 0 / 0.7512 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000166/0.4562, allocations: 49.59 kB / 0.7513 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.4563, allocations: 59.39 kB / 0.7513 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.534e-05/0.4564, allocations: 96.91 kB / 0.7514 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.4564, allocations: 25.7 kB / 0.7514 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.825e-05/0.4565, allocations: 84.14 kB / 0.7515 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.4565, allocations: 11.91 kB / 0.7515 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.4565, allocations: 3.938 kB / 0.7515 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4567, allocations: 314.8 kB / 0.7518 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.368e-05/0.4568, allocations: 8 kB / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.614e-05/0.4568, allocations: 21.75 kB / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.722e-05/0.4569, allocations: 4 kB / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4569, allocations: 4 kB / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001129/0.457, allocations: 49.69 kB / 0.7519 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.457, allocations: 4 kB / 0.7519 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.457, allocations: 0 / 0.7519 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.4571, allocations: 4 kB / 0.7519 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.18e-05/0.4571, allocations: 7.922 kB / 0.7519 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.4572, allocations: 3.953 kB / 0.7519 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.156e-05/0.4573, allocations: 8 kB / 0.7519 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.4573, allocations: 0 / 0.7519 GB, free: 10.77 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 0.0001017/0.4574, allocations: 113.6 kB / 0.752 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000104/0.4575, allocations: 49.59 kB / 0.7521 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.4575, allocations: 0 / 0.7521 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.562e-05/0.4576, allocations: 8.125 kB / 0.7521 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.4576, allocations: 7.938 kB / 0.7521 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.4576, allocations: 0 / 0.7521 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.4576, allocations: 0 / 0.7521 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.4578, allocations: 134.2 kB / 0.7522 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4578, allocations: 4 kB / 0.7522 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.116e-05/0.4578, allocations: 3.938 kB / 0.7522 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.4578, allocations: 0 / 0.7522 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.4578, allocations: 4.25 kB / 0.7522 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.4579, allocations: 4 kB / 0.7522 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/0.4579, allocations: 3.984 kB / 0.7523 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.458, allocations: 81.02 kB / 0.7523 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/0.4581, allocations: 81.02 kB / 0.7524 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.4581, allocations: 0 / 0.7524 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.793e-05/0.4582, allocations: 7.984 kB / 0.7524 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.4582, allocations: 8 kB / 0.7524 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.4583, allocations: 0 / 0.7524 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.384e-05/0.4583, allocations: 87.23 kB / 0.7525 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.4e-07/0.4583, allocations: 0 / 0.7525 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002501/0.4586, allocations: 8 kB / 0.7525 GB, free: 10.09 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.0004426/0.459, allocations: 0.6124 MB / 0.7531 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001009/0.4592, allocations: 16 kB / 0.7531 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4592, allocations: 0 / 0.7531 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.444e-05/0.4592, allocations: 8.375 kB / 0.7531 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.4595, allocations: 12.86 kB / 0.7531 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004137/0.4599, allocations: 97.59 kB / 0.7532 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.4602, allocations: 0.6885 MB / 0.7539 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.32e-05/0.4603, allocations: 4 kB / 0.7539 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.4603, allocations: 15.42 kB / 0.7539 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of SimCode: time 1.112e-06/0.4603, allocations: 0 / 0.7539 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03569/0.496, allocations: 0.8837 MB / 0.7548 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/0.4963, allocations: 159.2 kB / 0.7549 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.295/2.791, allocations: 3.938 kB / 0.7549 GB, free: 7.484 MB / 0.6355 GB