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.IntegerReplicator.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.IntegerReplicator,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01089/0.0109, allocations: 113.6 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.001371/0.001371, allocations: 184.3 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 2.021/2.021, allocations: 194.6 MB / 211.3 MB, free: 11.25 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.205/2.205, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006725/0.0006729, allocations: 16 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6756/0.6763, allocations: 98.72 MB / 0.6834 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.001695/0.678, allocations: 1.124 MB / 0.6845 GB, free: 16.01 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0006678/0.6787, allocations: 269.2 kB / 0.6848 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.739e-05/0.6788, allocations: 3.938 kB / 0.6848 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.6789, allocations: 17.92 kB / 0.6848 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.97e-05/0.679, allocations: 22.02 kB / 0.6848 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000593/0.6796, allocations: 112.3 kB / 0.6849 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.339e-05/0.6797, allocations: 25.2 kB / 0.685 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 6.72e-05/0.6798, allocations: 7.469 kB / 0.685 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.661e-05/0.6798, allocations: 14.44 kB / 0.685 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.467e-05/0.6799, allocations: 33.98 kB / 0.685 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.6799, allocations: 5.25 kB / 0.685 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.6801, allocations: 49.52 kB / 0.6851 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.327e-05/0.6802, allocations: 17.92 kB / 0.6851 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.712e-05/0.6802, allocations: 26.64 kB / 0.6851 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.6804, allocations: 66.06 kB / 0.6852 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.6804, allocations: 0 / 0.6852 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6804, allocations: 0 / 0.6852 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.6805, allocations: 1.156 kB / 0.6852 GB, free: 15.68 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004823/0.6809, allocations: 376.9 kB / 0.6855 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.681, allocations: 14.03 kB / 0.6855 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.35e-05/0.681, allocations: 37.14 kB / 0.6856 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.6811, allocations: 7.516 kB / 0.6856 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.6812, allocations: 185.3 kB / 0.6858 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.6813, allocations: 1 kB / 0.6858 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.6813, allocations: 3.234 kB / 0.6858 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.6815, allocations: 67.27 kB / 0.6858 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.6815, allocations: 0 / 0.6858 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.6816, allocations: 0.7031 kB / 0.6858 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.6816, allocations: 2.375 kB / 0.6858 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.838e-05/0.6817, allocations: 29.81 kB / 0.6859 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.6821, allocations: 284.7 kB / 0.6861 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.6823, allocations: 65.53 kB / 0.6862 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-06/0.6823, allocations: 1.438 kB / 0.6862 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.6825, allocations: 78.05 kB / 0.6863 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/0.6825, allocations: 4 kB / 0.6863 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0004699/0.683, allocations: 229.8 kB / 0.6865 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.6831, allocations: 58.2 kB / 0.6865 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.6832, allocations: 129 kB / 0.6867 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.6832, allocations: 33.69 kB / 0.6867 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.6833, allocations: 92.69 kB / 0.6868 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.6833, allocations: 6.375 kB / 0.6868 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.6833, allocations: 5.281 kB / 0.6868 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.436e-05/0.6834, allocations: 319.9 kB / 0.6871 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.67e-05/0.6834, allocations: 24.58 kB / 0.6871 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.04e-05/0.6835, allocations: 22.61 kB / 0.6872 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.597e-05/0.6836, allocations: 54.52 kB / 0.6872 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6836, allocations: 0 / 0.6872 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002119/0.6838, allocations: 141.4 kB / 0.6873 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/0.6839, allocations: 33.67 kB / 0.6874 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.6839, allocations: 1.188 kB / 0.6874 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.6839, allocations: 0.5625 kB / 0.6874 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.827e-05/0.6839, allocations: 1.25 kB / 0.6874 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.684, allocations: 4.609 kB / 0.6874 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.921e-05/0.684, allocations: 8 kB / 0.6874 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.684, allocations: 2.5 kB / 0.6874 GB, free: 13.63 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: 9 ($whenCondition1,$PRE.intTab.y,intTab.y,$PRE.intTab.nextTime,intTab.nextTime,$PRE.intTab.index,intTab.index,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 (6): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 9.37e-05/0.6841, allocations: 124.5 kB / 0.6875 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.6842, allocations: 6.953 kB / 0.6875 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.6842, allocations: 13.09 kB / 0.6875 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.6842, allocations: 5.109 kB / 0.6875 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.6842, allocations: 0.6562 kB / 0.6875 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.6843, allocations: 5.625 kB / 0.6875 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.6844, allocations: 170.2 kB / 0.6877 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6844, allocations: 1.219 kB / 0.6877 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.771e-06/0.6844, allocations: 0 / 0.6877 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.6844, allocations: 2.094 kB / 0.6877 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.6845, allocations: 0.5625 kB / 0.6877 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.6845, allocations: 2.062 kB / 0.6877 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.6845, allocations: 0 / 0.6877 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/0.6848, allocations: 155.8 kB / 0.6879 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.763e-05/0.6848, allocations: 86.95 kB / 0.6879 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.6849, allocations: 5.906 kB / 0.6879 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.702e-05/0.685, allocations: 3.922 kB / 0.6879 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.685, allocations: 6.672 kB / 0.688 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.685, allocations: 11.06 kB / 0.688 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.102e-05/0.6851, allocations: 101.1 kB / 0.6881 GB, free: 13 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.1e-07/0.6851, allocations: 288 / 0.6881 GB, free: 13 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003166/0.6854, allocations: 26.09 kB / 0.6881 GB, free: 12.99 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: 6 ($whenCondition1,intTab.y,intTab.nextTime,intTab.index,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.nextTime,intTab.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006308/0.6861, allocations: 0.711 MB / 0.6888 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002549/0.6864, allocations: 125.4 kB / 0.6889 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6864, allocations: 0 / 0.6889 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.6865, allocations: 35.48 kB / 0.6889 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.6866, allocations: 7.203 kB / 0.6889 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.6877, allocations: 0.5728 MB / 0.6895 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.6879, allocations: 0.6935 MB / 0.6902 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.418e-05/0.6879, allocations: 3.922 kB / 0.6902 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.6879, allocations: 19.17 kB / 0.6902 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of SimCode: time 6.61e-07/0.6879, allocations: 0 / 0.6902 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.7125, allocations: 1.771 MB / 0.6919 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002738/0.7129, allocations: 186.7 kB / 0.6921 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.578/3.291, allocations: 0 / 0.6921 GB, free: 10.69 MB / 0.5261 GB