Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01008/0.01008, allocations: 88.61 kB / 15.04 MB, free: 6.055 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001153/0.001153, allocations: 168 kB / 15.92 MB, free: 6.004 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.447/2.447, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.346/2.346, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005009/0.000501, allocations: 17.77 kB / 0.6243 GB, free: 21.19 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2175, allocations: 106.2 MB / 0.7281 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002642/0.2202, allocations: 1.458 MB / 0.7295 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002217/0.2225, allocations: 0.9222 MB / 0.7304 GB, free: 5.742 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.2226, allocations: 0 / 0.7304 GB, free: 5.742 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003581/0.223, allocations: 55.78 kB / 0.7304 GB, free: 5.688 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003314/0.2233, allocations: 67.8 kB / 0.7305 GB, free: 5.621 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.2244, allocations: 167.5 kB / 0.7307 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000286/0.2247, allocations: 91.81 kB / 0.7308 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.2249, allocations: 17.09 kB / 0.7308 GB, free: 5.348 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.225, allocations: 55.77 kB / 0.7308 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.2252, allocations: 47.83 kB / 0.7309 GB, free: 5.246 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.2252, allocations: 4 kB / 0.7309 GB, free: 5.242 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002529/0.2255, allocations: 47.95 kB / 0.7309 GB, free: 5.195 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.2256, allocations: 35.84 kB / 0.731 GB, free: 5.16 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 7.011e-05/0.2257, allocations: 41.64 kB / 0.731 GB, free: 5.113 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.2261, allocations: 151.9 kB / 0.7311 GB, free: 4.965 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.2261, allocations: 4 kB / 0.7311 GB, free: 4.961 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.515e-06/0.2261, allocations: 0 / 0.7311 GB, free: 4.961 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.2261, allocations: 0 / 0.7311 GB, free: 4.961 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008774/0.227, allocations: 460.3 kB / 0.7316 GB, free: 4.457 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.2271, allocations: 16.03 kB / 0.7316 GB, free: 4.441 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.384e-05/0.2272, allocations: 42.5 kB / 0.7316 GB, free: 4.391 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.271e-05/0.2272, allocations: 15.81 kB / 0.7317 GB, free: 4.375 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004446/0.2277, allocations: 239.7 kB / 0.7319 GB, free: 4.098 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.2277, allocations: 4 kB / 0.7319 GB, free: 4.094 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.2278, allocations: 7.922 kB / 0.7319 GB, free: 4.086 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.2281, allocations: 108.1 kB / 0.732 GB, free: 3.965 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.2281, allocations: 4 kB / 0.732 GB, free: 3.961 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.2282, allocations: 0 / 0.732 GB, free: 3.961 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.701e-05/0.2282, allocations: 7.953 kB / 0.732 GB, free: 3.953 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.2284, allocations: 27.98 kB / 0.732 GB, free: 3.926 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007319/0.2292, allocations: 348.8 kB / 0.7324 GB, free: 3.535 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003726/0.2296, allocations: 98.69 kB / 0.7325 GB, free: 3.43 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.2296, allocations: 0 / 0.7325 GB, free: 3.43 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003042/0.2299, allocations: 79.39 kB / 0.7325 GB, free: 3.34 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 2.415e-06/0.23, allocations: 0 / 0.7325 GB, free: 3.34 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0006312/0.2306, allocations: 226.6 kB / 0.7328 GB, free: 3.094 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/0.2307, allocations: 102.8 kB / 0.7329 GB, free: 2.969 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004208/0.2311, allocations: 262.9 kB / 0.7331 GB, free: 2.703 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.2312, allocations: 29.7 kB / 0.7331 GB, free: 2.668 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.2313, allocations: 116.1 kB / 0.7332 GB, free: 2.551 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.2313, allocations: 15.8 kB / 0.7333 GB, free: 2.535 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.047e-05/0.2313, allocations: 4 kB / 0.7333 GB, free: 2.531 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.2315, allocations: 326.8 kB / 0.7336 GB, free: 2.203 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.2316, allocations: 23.98 kB / 0.7336 GB, free: 2.18 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.2318, allocations: 76.2 kB / 0.7337 GB, free: 2.09 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.232, allocations: 36.31 kB / 0.7337 GB, free: 2.055 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.232, allocations: 0 / 0.7337 GB, free: 2.055 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003792/0.2324, allocations: 125.3 kB / 0.7338 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.2324, allocations: 4 kB / 0.7338 GB, free: 1.922 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/0.2324, allocations: 0 / 0.7338 GB, free: 1.922 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.2324, allocations: 4 kB / 0.7338 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.2326, allocations: 8 kB / 0.7338 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.2326, allocations: 16.02 kB / 0.7339 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.2328, allocations: 8.031 kB / 0.7339 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.2328, allocations: 4 kB / 0.7339 GB, free: 1.883 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.y,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.00022/0.233, allocations: 146.7 kB / 0.734 GB, free: 1.73 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.957e-05/0.2331, allocations: 19.77 kB / 0.734 GB, free: 1.711 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.564e-05/0.2332, allocations: 21.33 kB / 0.734 GB, free: 1.688 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/0.2332, allocations: 4 kB / 0.734 GB, free: 1.684 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2332, allocations: 0 / 0.734 GB, free: 1.684 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2332, allocations: 4 kB / 0.7341 GB, free: 1.68 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/0.2336, allocations: 217.6 kB / 0.7343 GB, free: 1.418 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2336, allocations: 0 / 0.7343 GB, free: 1.418 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.161e-05/0.2337, allocations: 15.92 kB / 0.7343 GB, free: 1.402 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.2337, allocations: 0 / 0.7343 GB, free: 1.402 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.2337, allocations: 7.938 kB / 0.7343 GB, free: 1.395 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.2338, allocations: 0 / 0.7343 GB, free: 1.395 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.2338, allocations: 0 / 0.7343 GB, free: 1.395 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004143/0.2342, allocations: 144.9 kB / 0.7344 GB, free: 1.234 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.692e-05/0.2343, allocations: 92.92 kB / 0.7345 GB, free: 1.125 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.2343, allocations: 0 / 0.7345 GB, free: 1.125 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.2344, allocations: 15.94 kB / 0.7345 GB, free: 1.109 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.2345, allocations: 7.984 kB / 0.7345 GB, free: 1.102 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.2346, allocations: 0 / 0.7345 GB, free: 1.102 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002802/0.2348, allocations: 196.4 kB / 0.7347 GB, free: 0.9102 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2349, allocations: 0 / 0.7347 GB, free: 0.9102 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003739/0.2352, allocations: 35.98 kB / 0.7348 GB, free: 0.875 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002001/0.2372, allocations: 1.018 MB / 0.7357 GB, free: 15.97 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.000432/0.2377, allocations: 75.83 kB / 0.7358 GB, free: 15.9 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.2378, allocations: 0 / 0.7358 GB, free: 15.9 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.2379, allocations: 44.05 kB / 0.7359 GB, free: 15.86 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.2383, allocations: 31.92 kB / 0.7359 GB, free: 15.82 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.2408, allocations: 1.091 MB / 0.737 GB, free: 14.68 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.2412, allocations: 0.7395 MB / 0.7377 GB, free: 13.92 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001631/0.2413, allocations: 21.39 kB / 0.7377 GB, free: 13.89 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.2415, allocations: 43.42 kB / 0.7377 GB, free: 13.86 MB / 0.573 GB Notification: Performance of SimCode: time 1.001e-06/0.2415, allocations: 0 / 0.7377 GB, free: 13.86 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.2727, allocations: 4.136 MB / 0.7418 GB, free: 9.82 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002999/0.2731, allocations: 229.2 kB / 0.742 GB, free: 9.578 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.849/3.122, allocations: 0 / 0.742 GB, free: 9.578 MB / 0.573 GB