Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.418/2.418, allocations: 248.7 MB / 256.2 MB, free: 7.047 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001463/0.001463, allocations: 177.7 kB / 315.4 MB, free: 4.02 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.228/2.228, allocations: 205.3 MB / 0.5662 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001584/0.001584, allocations: 90.52 kB / 0.6704 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.558e-05/2.559e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2264, allocations: 106.3 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9102/1.137, allocations: 135.7 MB / 1.017 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/1.137, allocations: 76.58 kB / 1.017 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02443/1.161, allocations: 5.372 MB / 1.022 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.583e-06/1.161, allocations: 0 / 1.022 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.711e-05/1.162, allocations: 4 kB / 1.022 GB, free: 14.96 MB / 0.6511 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.0007332/1.162, allocations: 459 kB / 1.022 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/1.162, allocations: 12.02 kB / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.522e-05/1.162, allocations: 15.81 kB / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005301/1.163, allocations: 262.7 kB / 1.023 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/1.163, allocations: 4 kB / 1.023 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/1.163, allocations: 3.938 kB / 1.023 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001302/1.163, allocations: 35.3 kB / 1.023 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/1.163, allocations: 83.67 kB / 1.023 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/1.163, allocations: 0 / 1.023 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/1.163, allocations: 0 / 1.023 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/1.163, allocations: 4 kB / 1.023 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006936/1.164, allocations: 351.3 kB / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/1.164, allocations: 81.55 kB / 1.023 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.296e-05/1.164, allocations: 36.7 kB / 1.023 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/1.165, allocations: 0 / 1.023 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/1.165, allocations: 87.03 kB / 1.023 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 2.034e-06/1.165, allocations: 0 / 1.023 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0004214/1.165, allocations: 104.4 kB / 1.023 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.214e-05/1.165, allocations: 110.8 kB / 1.024 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003845/1.166, allocations: 233.9 kB / 1.024 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/1.166, allocations: 25.7 kB / 1.024 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.913e-05/1.166, allocations: 119 kB / 1.024 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/1.166, allocations: 15.69 kB / 1.024 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.265e-06/1.166, allocations: 4 kB / 1.024 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001562/1.166, allocations: 338.7 kB / 1.024 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.502e-05/1.166, allocations: 19.69 kB / 1.024 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/1.166, allocations: 75.52 kB / 1.024 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/1.166, allocations: 31.73 kB / 1.024 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.166, allocations: 4 kB / 1.024 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003034/1.167, allocations: 108.8 kB / 1.024 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/1.167, allocations: 7.938 kB / 1.024 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/1.167, allocations: 0 / 1.024 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/1.167, allocations: 0 / 1.024 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/1.167, allocations: 15.98 kB / 1.024 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/1.167, allocations: 0 / 1.024 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/1.167, allocations: 11.86 kB / 1.024 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/1.167, allocations: 4 kB / 1.024 GB, free: 12.37 MB / 0.6511 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.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * Number of discrete 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.0001256/1.167, allocations: 118.4 kB / 1.025 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003002/1.168, allocations: 113.1 kB / 1.025 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/1.168, allocations: 15.81 kB / 1.025 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003514/1.168, allocations: 122.5 kB / 1.025 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.947e-05/1.168, allocations: 7.953 kB / 1.025 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.168, allocations: 0 / 1.025 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/1.168, allocations: 0 / 1.025 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/1.168, allocations: 208.8 kB / 1.025 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.168, allocations: 0 / 1.025 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.166e-05/1.169, allocations: 15.94 kB / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/1.169, allocations: 0 / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/1.169, allocations: 0 / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/1.169, allocations: 4 kB / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.169, allocations: 0 / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003612/1.169, allocations: 143.7 kB / 1.025 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/1.169, allocations: 96.91 kB / 1.025 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.675e-05/1.169, allocations: 3.938 kB / 1.025 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/1.169, allocations: 12.12 kB / 1.025 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/1.169, allocations: 7.984 kB / 1.025 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/1.169, allocations: 11.92 kB / 1.025 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003757/1.17, allocations: 189.6 kB / 1.026 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.72e-07/1.17, allocations: 0 / 1.026 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007005/1.17, allocations: 51.83 kB / 1.026 GB, free: 11.31 MB / 0.6511 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.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * 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.002537/1.173, allocations: 0.9429 MB / 1.026 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003397/1.173, allocations: 83.09 kB / 1.027 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/1.173, allocations: 0 / 1.027 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/1.174, allocations: 31.8 kB / 1.027 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/1.174, allocations: 39.3 kB / 1.027 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008955/1.175, allocations: 287.6 kB / 1.027 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/1.175, allocations: 0.7273 MB / 1.028 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001443/1.176, allocations: 24.64 kB / 1.028 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/1.176, allocations: 60.66 kB / 1.028 GB, free: 9.246 MB / 0.6511 GB Notification: Performance of SimCode: time 9.42e-07/1.176, allocations: 0 / 1.028 GB, free: 9.246 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04494/1.221, allocations: 3.797 MB / 1.031 GB, free: 5.469 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003363/1.221, allocations: 165.3 kB / 1.032 GB, free: 5.281 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.426/3.647, allocations: 0 / 1.032 GB, free: 5.281 MB / 0.6511 GB