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.BooleanReplicator.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.BooleanReplicator,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01051/0.01052, allocations: 88.39 kB / 15.04 MB, free: 5.582 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.001183/0.001183, allocations: 172.8 kB / 15.92 MB, free: 5.555 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.44/2.44, 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.35/2.35, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004842/0.0004846, allocations: 17.84 kB / 0.6243 GB, free: 21.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2326, allocations: 106.2 MB / 0.7281 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002739/0.2354, allocations: 1.474 MB / 0.7295 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002021/0.2375, allocations: 0.856 MB / 0.7303 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.2376, allocations: 7.938 kB / 0.7303 GB, free: 5.754 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0007373/0.2384, allocations: 143.6 kB / 0.7305 GB, free: 5.613 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.2387, allocations: 99.73 kB / 0.7306 GB, free: 5.516 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005937/0.2394, allocations: 119.7 kB / 0.7307 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000222/0.2396, allocations: 95.81 kB / 0.7308 GB, free: 5.305 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.2397, allocations: 21.09 kB / 0.7308 GB, free: 5.281 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.2399, allocations: 63.75 kB / 0.7309 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.24, allocations: 63.75 kB / 0.7309 GB, free: 5.156 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.24, allocations: 0 / 0.7309 GB, free: 5.156 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.2402, allocations: 39.97 kB / 0.731 GB, free: 5.117 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.785e-05/0.2403, allocations: 31.91 kB / 0.731 GB, free: 5.086 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.169e-05/0.2404, allocations: 57.52 kB / 0.731 GB, free: 5.023 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.2407, allocations: 147.9 kB / 0.7312 GB, free: 4.879 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2407, allocations: 0 / 0.7312 GB, free: 4.879 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2407, allocations: 0 / 0.7312 GB, free: 4.879 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.2407, allocations: 0 / 0.7312 GB, free: 4.879 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008288/0.2416, allocations: 476.3 kB / 0.7316 GB, free: 4.359 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.2416, allocations: 8.031 kB / 0.7316 GB, free: 4.352 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.541e-05/0.2417, allocations: 38.52 kB / 0.7317 GB, free: 4.305 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.147e-05/0.2418, allocations: 19.8 kB / 0.7317 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.2422, allocations: 247.5 kB / 0.7319 GB, free: 4 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.2422, allocations: 4 kB / 0.7319 GB, free: 3.996 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.2423, allocations: 0 / 0.7319 GB, free: 3.996 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.2425, allocations: 91.31 kB / 0.732 GB, free: 3.895 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2426, allocations: 8 kB / 0.732 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.2426, allocations: 0 / 0.732 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.63e-05/0.2426, allocations: 3.953 kB / 0.732 GB, free: 3.883 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.2428, allocations: 35.92 kB / 0.7321 GB, free: 3.848 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006782/0.2435, allocations: 352.8 kB / 0.7324 GB, free: 3.453 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.2438, allocations: 78.61 kB / 0.7325 GB, free: 3.367 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.2438, allocations: 4.062 kB / 0.7325 GB, free: 3.363 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002481/0.2441, allocations: 91.22 kB / 0.7326 GB, free: 3.262 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=10): time 3.126e-06/0.2441, allocations: 0 / 0.7326 GB, free: 3.262 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10): time 0.0005531/0.2447, allocations: 222.6 kB / 0.7328 GB, free: 3.02 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.2447, allocations: 77.11 kB / 0.7329 GB, free: 2.926 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004128/0.2452, allocations: 267 kB / 0.7331 GB, free: 2.656 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.2452, allocations: 25.7 kB / 0.7331 GB, free: 2.625 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.2453, allocations: 116.1 kB / 0.7333 GB, free: 2.508 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.78e-05/0.2454, allocations: 27.92 kB / 0.7333 GB, free: 2.48 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/0.2454, allocations: 0 / 0.7333 GB, free: 2.48 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2455, allocations: 334.8 kB / 0.7336 GB, free: 2.145 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.2456, allocations: 27.92 kB / 0.7336 GB, free: 2.117 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.2458, allocations: 59.42 kB / 0.7337 GB, free: 2.047 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.246, allocations: 39.97 kB / 0.7337 GB, free: 2.008 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.246, allocations: 0 / 0.7337 GB, free: 2.008 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003394/0.2463, allocations: 113.4 kB / 0.7338 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.2464, allocations: 11.95 kB / 0.7338 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-06/0.2464, allocations: 0 / 0.7338 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.2464, allocations: 0 / 0.7338 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.2466, allocations: 8 kB / 0.7338 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.2466, allocations: 8.062 kB / 0.7339 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.2467, allocations: 11.89 kB / 0.7339 GB, free: 1.852 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.2467, allocations: 0 / 0.7339 GB, free: 1.852 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: 10 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,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 (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.0001946/0.2469, allocations: 146.8 kB / 0.734 GB, free: 1.699 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.573e-05/0.247, allocations: 15.81 kB / 0.734 GB, free: 1.684 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.483e-05/0.2471, allocations: 17.36 kB / 0.734 GB, free: 1.664 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/0.2471, allocations: 7.984 kB / 0.734 GB, free: 1.656 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.2471, allocations: 0 / 0.734 GB, free: 1.656 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2471, allocations: 4 kB / 0.734 GB, free: 1.652 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.2474, allocations: 229.5 kB / 0.7343 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2475, allocations: 0 / 0.7343 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.829e-05/0.2475, allocations: 4 kB / 0.7343 GB, free: 1.375 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2475, allocations: 0 / 0.7343 GB, free: 1.375 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.2475, allocations: 0 / 0.7343 GB, free: 1.375 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.2475, allocations: 3.953 kB / 0.7343 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2476, allocations: 0 / 0.7343 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003587/0.2479, allocations: 152.9 kB / 0.7344 GB, free: 1.203 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/0.248, allocations: 96.91 kB / 0.7345 GB, free: 1.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.2481, allocations: 4 kB / 0.7345 GB, free: 1.086 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.032e-05/0.2482, allocations: 4 kB / 0.7345 GB, free: 1.082 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.2482, allocations: 11.94 kB / 0.7345 GB, free: 1.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.2483, allocations: 4 kB / 0.7345 GB, free: 1.066 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003018/0.2486, allocations: 192.4 kB / 0.7347 GB, free: 0.8789 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2486, allocations: 0 / 0.7347 GB, free: 0.8789 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003556/0.249, allocations: 31.98 kB / 0.7347 GB, free: 0.8477 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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.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.001894/0.2509, allocations: 1.024 MB / 0.7357 GB, free: 15.95 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0003654/0.2513, allocations: 67.91 kB / 0.7358 GB, free: 15.88 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.2513, allocations: 4.062 kB / 0.7358 GB, free: 15.88 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.2514, allocations: 35.98 kB / 0.7359 GB, free: 15.84 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.2519, allocations: 39.92 kB / 0.7359 GB, free: 15.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.2542, allocations: 1.111 MB / 0.737 GB, free: 14.64 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.2546, allocations: 0.7356 MB / 0.7377 GB, free: 13.88 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001503/0.2548, allocations: 25.7 kB / 0.7377 GB, free: 13.86 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.2549, allocations: 47.42 kB / 0.7378 GB, free: 13.81 MB / 0.573 GB Notification: Performance of SimCode: time 1.122e-06/0.2549, allocations: 0 / 0.7378 GB, free: 13.81 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02945/0.2844, allocations: 3.959 MB / 0.7416 GB, free: 9.949 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003398/0.2848, allocations: 233.2 kB / 0.7419 GB, free: 9.703 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.708/2.993, allocations: 0 / 0.7419 GB, free: 9.703 MB / 0.573 GB