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.01221/0.01222, allocations: 222.2 kB / 15.17 MB, free: 5.918 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.001113/0.001113, allocations: 174.5 kB / 16.06 MB, free: 5.832 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 3.807/3.807, allocations: 389.1 MB / 405.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.475/4.475, allocations: 472.3 MB / 0.9017 GB, free: 3.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005035/0.0005037, allocations: 15.98 kB / 1.008 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6873/0.6878, allocations: 98.71 MB / 1.104 GB, free: 213 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.001895/0.6898, allocations: 1.128 MB / 1.105 GB, free: 212.4 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.6909, allocations: 0.5111 MB / 1.106 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.976e-05/0.691, allocations: 1.375 kB / 1.106 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.669e-05/0.6911, allocations: 6.688 kB / 1.106 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.119e-05/0.6911, allocations: 8.781 kB / 1.106 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004865/0.6916, allocations: 62.97 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.116e-05/0.6917, allocations: 38.03 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.308e-05/0.6918, allocations: 4.844 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.978e-05/0.6919, allocations: 21.89 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.113e-05/0.6919, allocations: 15.58 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.692, allocations: 4.094 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.6921, allocations: 44.09 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.922e-05/0.6922, allocations: 11.41 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.935e-05/0.6922, allocations: 34.39 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.6924, allocations: 53.67 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.6924, allocations: 0 / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6924, allocations: 0 / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.6924, allocations: 0 / 1.106 GB, free: 211.9 MB / 0.7292 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.0003526/0.6928, allocations: 408.2 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.6928, allocations: 9.484 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.592e-05/0.6929, allocations: 37.81 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.6929, allocations: 12.86 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.6931, allocations: 175.9 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.6931, allocations: 0 / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.6931, allocations: 10.05 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.6933, allocations: 60.22 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.6933, allocations: 6.781 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.6933, allocations: 3.219 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.6934, allocations: 4.688 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.723e-05/0.6935, allocations: 21.61 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.6939, allocations: 278.5 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.656e-05/0.694, allocations: 45.89 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.58e-05/0.694, allocations: 33.2 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.6941, allocations: 0 / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/0.6943, allocations: 106.7 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 2.144e-06/0.6943, allocations: 0 / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0003966/0.6947, allocations: 177.3 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.6948, allocations: 109.9 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.64e-05/0.6949, allocations: 115.3 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.6949, allocations: 31.2 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.218e-05/0.695, allocations: 87.22 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.695, allocations: 11.97 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.695, allocations: 6.906 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.691e-05/0.6951, allocations: 315.5 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.935e-05/0.6952, allocations: 24.61 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.487e-05/0.6952, allocations: 22.12 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.6953, allocations: 79.92 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.6954, allocations: 0 / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002614/0.6956, allocations: 162.5 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.052e-05/0.6957, allocations: 65.94 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.6957, allocations: 0 / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.6957, allocations: 3.953 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.64e-05/0.6958, allocations: 6.875 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.6958, allocations: 2.859 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.6959, allocations: 6.188 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.6959, allocations: 2.125 kB / 1.108 GB, free: 209.7 MB / 0.7292 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.0001396/0.6961, allocations: 158.2 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.6961, allocations: 7.312 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.822e-05/0.6961, allocations: 8.375 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.6962, allocations: 2.406 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.6962, allocations: 3.953 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.6962, allocations: 2.344 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.6964, allocations: 178 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.6964, allocations: 7.094 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.376e-06/0.6964, allocations: 4.375 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.6964, allocations: 0 / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.6964, allocations: 2.5 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.6965, allocations: 0 / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.6965, allocations: 3.297 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.6968, allocations: 184.7 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.232e-05/0.6969, allocations: 79.11 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.6969, allocations: 5.594 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-05/0.697, allocations: 8.344 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.6971, allocations: 6.344 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.6971, allocations: 2.438 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.228e-05/0.6972, allocations: 93.92 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.51e-07/0.6972, allocations: 0 / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003412/0.6975, allocations: 27.91 kB / 1.109 GB, free: 209 MB / 0.7292 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.0007119/0.6983, allocations: 0.7498 MB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002965/0.6986, allocations: 176.7 kB / 1.11 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.6986, allocations: 1.031 kB / 1.11 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.6987, allocations: 103.7 kB / 1.11 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.6989, allocations: 7.781 kB / 1.11 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.7, allocations: 0.5377 MB / 1.111 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/0.7003, allocations: 0.6888 MB / 1.111 GB, free: 207 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.956e-05/0.7003, allocations: 6.688 kB / 1.111 GB, free: 207 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.7003, allocations: 18.27 kB / 1.111 GB, free: 207 MB / 0.7292 GB Notification: Performance of SimCode: time 1.262e-06/0.7004, allocations: 0 / 1.111 GB, free: 207 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.722, allocations: 1.774 MB / 1.113 GB, free: 207 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002374/0.7223, allocations: 187.4 kB / 1.113 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.345/3.067, allocations: 0 / 1.113 GB, free: 206.8 MB / 0.7292 GB