Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.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.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator",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.193/2.193, 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.001486/0.001485, allocations: 170.6 kB / 325.5 MB, free: 2.879 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.503/2.503, allocations: 205.4 MB / 0.5764 GB, free: 21.17 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.001141/0.001141, allocations: 88.81 kB / 0.6809 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006617/0.0006618, allocations: 19 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2263, allocations: 106.3 MB / 0.8988 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.223/0.4494, allocations: 131.3 MB / 1.027 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/0.4498, allocations: 71.95 kB / 1.027 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00253/0.4523, allocations: 0.6766 MB / 1.028 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4523, allocations: 0 / 1.028 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.4524, allocations: 0 / 1.028 GB, free: 13.75 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004875/0.4529, allocations: 351.1 kB / 1.028 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.4529, allocations: 8.031 kB / 1.028 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.983e-05/0.453, allocations: 38.55 kB / 1.028 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.453, allocations: 7.906 kB / 1.028 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.4532, allocations: 175 kB / 1.028 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.4533, allocations: 4 kB / 1.028 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.4533, allocations: 4 kB / 1.028 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.4534, allocations: 41.69 kB / 1.028 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.4534, allocations: 0 / 1.028 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.4535, allocations: 4 kB / 1.028 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.4535, allocations: 0 / 1.028 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.854e-05/0.4536, allocations: 15.94 kB / 1.028 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005233/0.4541, allocations: 284.9 kB / 1.029 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.804e-05/0.4542, allocations: 26.58 kB / 1.029 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.4542, allocations: 0 / 1.029 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/0.4543, allocations: 59.39 kB / 1.029 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.4544, allocations: 0 / 1.029 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0002089/0.4546, allocations: 65.53 kB / 1.029 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.4546, allocations: 51.41 kB / 1.029 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.56e-05/0.4547, allocations: 108.9 kB / 1.029 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.4548, allocations: 29.7 kB / 1.029 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/0.4548, allocations: 88.12 kB / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.4549, allocations: 3.906 kB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-06/0.4549, allocations: 0 / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.455, allocations: 318.8 kB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.991e-05/0.4551, allocations: 11.92 kB / 1.029 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.622e-05/0.4551, allocations: 17.72 kB / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.1e-05/0.4552, allocations: 12 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4552, allocations: 0 / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000112/0.4553, allocations: 49.62 kB / 1.029 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.4553, allocations: 8 kB / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4553, allocations: 7.969 kB / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.4554, allocations: 0 / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.53e-05/0.4554, allocations: 7.984 kB / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.4555, allocations: 3.953 kB / 1.029 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.2e-05/0.4555, allocations: 7.906 kB / 1.029 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.4556, allocations: 0 / 1.029 GB, free: 11.75 MB / 0.6823 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 () * Number of clocked 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 9.997e-05/0.4557, allocations: 113.8 kB / 1.03 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.4557, allocations: 7.984 kB / 1.03 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/0.4557, allocations: 11.5 kB / 1.03 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4558, allocations: 0 / 1.03 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4558, allocations: 0 / 1.03 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.4558, allocations: 3.953 kB / 1.03 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.456, allocations: 161.7 kB / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.456, allocations: 0 / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.616e-06/0.456, allocations: 4 kB / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.456, allocations: 0 / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.456, allocations: 0 / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4561, allocations: 0 / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4561, allocations: 0 / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.4562, allocations: 85.02 kB / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.65e-05/0.4563, allocations: 81.02 kB / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.4563, allocations: 3.984 kB / 1.03 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.971e-05/0.4564, allocations: 8 kB / 1.03 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.4565, allocations: 3.984 kB / 1.03 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.4565, allocations: 0 / 1.03 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.166e-05/0.4565, allocations: 87.28 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.51e-07/0.4565, allocations: 7.938 kB / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002316/0.4568, allocations: 4 kB / 1.03 GB, free: 11.07 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: 3 ($whenCondition1,booRep.y[3],booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked 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.0004477/0.4572, allocations: 0.6158 MB / 1.031 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001087/0.4574, allocations: 16.42 kB / 1.031 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4574, allocations: 4.062 kB / 1.031 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.899e-05/0.4574, allocations: 15.98 kB / 1.031 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.4576, allocations: 4 kB / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008228/0.4585, allocations: 0.5508 MB / 1.031 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.4588, allocations: 0.6848 MB / 1.032 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.56e-05/0.4589, allocations: 7.984 kB / 1.032 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.33e-05/0.4589, allocations: 11.44 kB / 1.032 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of SimCode: time 1.353e-06/0.4589, allocations: 3.938 kB / 1.032 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01868/0.4776, allocations: 1.191 MB / 1.033 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003376/0.478, allocations: 204.2 kB / 1.033 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.234/2.712, allocations: 4 kB / 1.033 GB, free: 7.777 MB / 0.6823 GB