Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01081/0.01081, allocations: 106.5 kB / 15.05 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001138/0.001137, allocations: 184.7 kB / 15.94 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.174/2.174, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.216/2.216, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006155/0.0006156, allocations: 12 kB / 0.587 GB, free: 2.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6795/0.6801, allocations: 98.71 MB / 0.6834 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2253/0.9055, allocations: 125.4 MB / 0.8059 GB, free: 0.7656 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/0.9059, allocations: 75.97 kB / 0.806 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.006517/0.9124, allocations: 1.431 MB / 0.8074 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9125, allocations: 0 / 0.8074 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.9125, allocations: 0 / 0.8074 GB, free: 15.25 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004532/0.913, allocations: 406.6 kB / 0.8078 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.913, allocations: 12.03 kB / 0.8078 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.981e-05/0.9131, allocations: 38.55 kB / 0.8078 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.9131, allocations: 7.906 kB / 0.8078 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.9134, allocations: 179 kB / 0.808 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.9134, allocations: 3.938 kB / 0.808 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.9134, allocations: 8 kB / 0.808 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.9136, allocations: 61.59 kB / 0.808 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.9136, allocations: 0 / 0.808 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.9136, allocations: 11.98 kB / 0.8081 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.9137, allocations: 4 kB / 0.8081 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.364e-05/0.9138, allocations: 20 kB / 0.8081 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.9142, allocations: 284.8 kB / 0.8084 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.9143, allocations: 46.5 kB / 0.8084 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.9144, allocations: 0 / 0.8084 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001958/0.9146, allocations: 109.1 kB / 0.8085 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.913e-06/0.9146, allocations: 0 / 0.8085 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0005189/0.9151, allocations: 325.4 kB / 0.8088 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/0.9152, allocations: 118.8 kB / 0.8089 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.749e-05/0.9153, allocations: 97 kB / 0.809 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.9154, allocations: 37.69 kB / 0.8091 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/0.9154, allocations: 80.14 kB / 0.8091 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.9155, allocations: 19.95 kB / 0.8092 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-06/0.9155, allocations: 0 / 0.8092 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.9156, allocations: 321.3 kB / 0.8095 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.348e-05/0.9157, allocations: 23.94 kB / 0.8095 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.292e-05/0.9158, allocations: 27.98 kB / 0.8095 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.9159, allocations: 79.39 kB / 0.8096 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.9159, allocations: 0 / 0.8096 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003092/0.9163, allocations: 173 kB / 0.8097 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.777e-05/0.9163, allocations: 56.97 kB / 0.8098 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.9163, allocations: 0 / 0.8098 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.9164, allocations: 7.938 kB / 0.8098 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.591e-05/0.9164, allocations: 0 / 0.8098 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.9164, allocations: 0 / 0.8098 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.408e-05/0.9165, allocations: 7.953 kB / 0.8098 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.9166, allocations: 7.922 kB / 0.8098 GB, free: 12.4 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.booTab.y,booTab.y,$PRE.booTab.nextTime,booTab.nextTime,$PRE.booTab.index,booTab.index,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 3 * Array equations: 1 * Algorithm blocks: 2 * 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.0001654/0.9167, allocations: 161.2 kB / 0.81 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.9168, allocations: 7.906 kB / 0.81 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.13e-05/0.9168, allocations: 8.375 kB / 0.81 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.9168, allocations: 0 / 0.81 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.9168, allocations: 0 / 0.81 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.9168, allocations: 0 / 0.81 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.9171, allocations: 177.6 kB / 0.8102 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.9171, allocations: 0 / 0.8102 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.313e-06/0.9171, allocations: 8 kB / 0.8102 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.9171, allocations: 0 / 0.8102 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.9171, allocations: 3.984 kB / 0.8102 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.9171, allocations: 0 / 0.8102 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.9171, allocations: 3.938 kB / 0.8102 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.9175, allocations: 186.7 kB / 0.8104 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.92e-05/0.9176, allocations: 81.02 kB / 0.8104 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.9176, allocations: 7.984 kB / 0.8104 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.467e-05/0.9177, allocations: 8.031 kB / 0.8104 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.9178, allocations: 0 / 0.8104 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.9178, allocations: 4 kB / 0.8105 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.896e-05/0.9179, allocations: 91.27 kB / 0.8105 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/0.9179, allocations: 0 / 0.8105 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003303/0.9182, allocations: 27.94 kB / 0.8106 GB, free: 11.54 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: 8 ($whenCondition1,booTab.y,booTab.nextTime,booTab.index,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 4 (booTab.y,booTab.nextTime,booTab.index,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0008287/0.9191, allocations: 0.7515 MB / 0.8113 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003131/0.9194, allocations: 178.8 kB / 0.8115 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.9194, allocations: 0 / 0.8115 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.9196, allocations: 103.4 kB / 0.8116 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.9197, allocations: 4 kB / 0.8116 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.9209, allocations: 0.5345 MB / 0.8121 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.9212, allocations: 0.6887 MB / 0.8128 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.601e-05/0.9212, allocations: 4 kB / 0.8128 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.895e-05/0.9213, allocations: 11.44 kB / 0.8128 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of SimCode: time 3.877e-06/0.9213, allocations: 0 / 0.8128 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.9464, allocations: 1.759 MB / 0.8145 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003198/0.9468, allocations: 175.2 kB / 0.8147 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.391/3.338, allocations: 8.062 kB / 0.8147 GB, free: 7.223 MB / 0.6355 GB