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.01086/0.01087, allocations: 106.3 kB / 15.06 MB, free: 5.555 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.00124/0.00124, allocations: 185.6 kB / 15.95 MB, free: 5.52 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 1.857/1.857, allocations: 194.6 MB / 211.3 MB, free: 11.28 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.308/2.308, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004826/0.0004826, allocations: 12 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6361/0.6366, allocations: 98.7 MB / 0.6834 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.001837/0.6385, allocations: 1.125 MB / 0.6845 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.6397, allocations: 0.5056 MB / 0.685 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.121e-05/0.6398, allocations: 5.219 kB / 0.685 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 9.638e-05/0.6399, allocations: 8.734 kB / 0.685 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.047e-05/0.6399, allocations: 2.031 kB / 0.685 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005144/0.6404, allocations: 63.91 kB / 0.6851 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.363e-05/0.6405, allocations: 19.81 kB / 0.6851 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.907e-05/0.6406, allocations: 6.672 kB / 0.6851 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.237e-05/0.6407, allocations: 17.12 kB / 0.6851 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.888e-05/0.6407, allocations: 15.53 kB / 0.6851 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.6408, allocations: 1.469 kB / 0.6851 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.6409, allocations: 44.41 kB / 0.6852 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.9e-05/0.641, allocations: 13.47 kB / 0.6852 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.641, allocations: 34.45 kB / 0.6852 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.6412, allocations: 55.75 kB / 0.6853 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.6412, allocations: 5.156 kB / 0.6853 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6412, allocations: 0 / 0.6853 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.6412, allocations: 4 kB / 0.6853 GB, free: 15.38 MB / 0.5261 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.000351/0.6416, allocations: 397.5 kB / 0.6857 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.6416, allocations: 8.75 kB / 0.6857 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.092e-05/0.6417, allocations: 38.89 kB / 0.6857 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.6417, allocations: 10.73 kB / 0.6857 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.6419, allocations: 171.3 kB / 0.6859 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.6419, allocations: 3.484 kB / 0.6859 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.6419, allocations: 2.188 kB / 0.6859 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.6421, allocations: 62.72 kB / 0.686 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.6421, allocations: 4 kB / 0.686 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.6422, allocations: 1.219 kB / 0.686 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.6422, allocations: 3.484 kB / 0.686 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.453e-05/0.6423, allocations: 30.23 kB / 0.686 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.6427, allocations: 274.1 kB / 0.6863 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.575e-05/0.6428, allocations: 46.3 kB / 0.6863 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.6428, allocations: 2.203 kB / 0.6863 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.643, allocations: 113.3 kB / 0.6864 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 2.535e-06/0.6431, allocations: 0 / 0.6864 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0004613/0.6435, allocations: 331 kB / 0.6867 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.6436, allocations: 111 kB / 0.6868 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.949e-05/0.6437, allocations: 110.5 kB / 0.6869 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.6437, allocations: 31.02 kB / 0.687 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.99e-05/0.6438, allocations: 86.83 kB / 0.6871 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.6438, allocations: 24.05 kB / 0.6871 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.6438, allocations: 1.438 kB / 0.6871 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.27e-05/0.6439, allocations: 323.1 kB / 0.6874 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.715e-05/0.644, allocations: 20.09 kB / 0.6874 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-05/0.644, allocations: 24.56 kB / 0.6874 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.326e-05/0.6441, allocations: 78.16 kB / 0.6875 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.6441, allocations: 1.062 kB / 0.6875 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000268/0.6444, allocations: 157.6 kB / 0.6877 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.799e-05/0.6445, allocations: 61.27 kB / 0.6877 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.6445, allocations: 5.125 kB / 0.6877 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.6445, allocations: 0 / 0.6877 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.566e-05/0.6445, allocations: 4.828 kB / 0.6877 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.6446, allocations: 2.75 kB / 0.6877 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.6447, allocations: 10.38 kB / 0.6877 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.6447, allocations: 6.719 kB / 0.6877 GB, free: 12.97 MB / 0.5261 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.0001272/0.6448, allocations: 163 kB / 0.6879 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.6449, allocations: 3.688 kB / 0.6879 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.688e-05/0.6449, allocations: 10.48 kB / 0.6879 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.6449, allocations: 3.672 kB / 0.6879 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.6449, allocations: 3.953 kB / 0.6879 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.6449, allocations: 0.7969 kB / 0.6879 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.6451, allocations: 174.3 kB / 0.6881 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.6451, allocations: 0 / 0.6881 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.703e-06/0.6451, allocations: 1.094 kB / 0.6881 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.6451, allocations: 0.5156 kB / 0.6881 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.6452, allocations: 3.016 kB / 0.6881 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.6452, allocations: 0 / 0.6881 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.6452, allocations: 5.812 kB / 0.6881 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/0.6455, allocations: 186.1 kB / 0.6883 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-05/0.6456, allocations: 83.11 kB / 0.6884 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.6456, allocations: 11.36 kB / 0.6884 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.648e-05/0.6457, allocations: 5.266 kB / 0.6884 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.6457, allocations: 3.578 kB / 0.6884 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.6458, allocations: 2.969 kB / 0.6884 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.945e-05/0.6458, allocations: 92.39 kB / 0.6885 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.3e-07/0.6458, allocations: 0 / 0.6885 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003358/0.6462, allocations: 28.66 kB / 0.6885 GB, free: 12.27 MB / 0.5261 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.0006394/0.6468, allocations: 0.7389 MB / 0.6892 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000276/0.6471, allocations: 184.4 kB / 0.6894 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.6471, allocations: 0 / 0.6894 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.6473, allocations: 103.7 kB / 0.6895 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.6474, allocations: 5.484 kB / 0.6895 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.6484, allocations: 0.5439 MB / 0.69 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.6486, allocations: 0.6881 MB / 0.6907 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.494e-05/0.6486, allocations: 11.06 kB / 0.6907 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.6487, allocations: 14.64 kB / 0.6907 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of SimCode: time 9.12e-07/0.6487, allocations: 0 / 0.6907 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/0.6748, allocations: 1.755 MB / 0.6924 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002672/0.6752, allocations: 187.3 kB / 0.6926 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.331/3.006, allocations: 4 kB / 0.6926 GB, free: 9.77 MB / 0.5261 GB