Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.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.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_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.01546/0.01546, allocations: 107.6 kB / 15.05 MB, free: 5.934 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.002021/0.00202, allocations: 187.5 kB / 15.95 MB, free: 5.898 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 1.991/1.991, allocations: 194.5 MB / 211.2 MB, free: 11.08 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.222/2.222, allocations: 236.1 MB / 492.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004716/0.0004717, allocations: 12 kB / 0.587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6493/0.6498, allocations: 98.72 MB / 0.6834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2244/0.8743, allocations: 124.5 MB / 0.805 GB, free: 1.738 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.8746, allocations: 71.97 kB / 0.8051 GB, free: 1.668 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003387/0.8781, allocations: 0.8303 MB / 0.8059 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.545e-06/0.8781, allocations: 0 / 0.8059 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.397e-06/0.8781, allocations: 0 / 0.8059 GB, free: 0.832 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005166/0.8786, allocations: 347.3 kB / 0.8062 GB, free: 456 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.147e-05/0.8787, allocations: 16.03 kB / 0.8062 GB, free: 440 kB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.431e-05/0.8788, allocations: 34.55 kB / 0.8063 GB, free: 396 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.8788, allocations: 3.906 kB / 0.8063 GB, free: 392 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.879, allocations: 190.9 kB / 0.8064 GB, free: 160 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.8791, allocations: 0 / 0.8064 GB, free: 160 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.8791, allocations: 0 / 0.8064 GB, free: 160 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.8794, allocations: 65.67 kB / 0.8065 GB, free: 88 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.8794, allocations: 4 kB / 0.8065 GB, free: 84 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.8795, allocations: 4 kB / 0.8065 GB, free: 80 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.8795, allocations: 3.984 kB / 0.8065 GB, free: 76 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003279/0.8798, allocations: 51.95 kB / 0.8066 GB, free: 24 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005042/0.8803, allocations: 284.7 kB / 0.8068 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.8806, allocations: 46.55 kB / 0.8069 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.8806, allocations: 0 / 0.8069 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.8806, allocations: 34.56 kB / 0.8069 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.546e-06/0.8807, allocations: 3.984 kB / 0.8069 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0006135/0.8813, allocations: 109.7 kB / 0.807 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.8813, allocations: 51.41 kB / 0.8071 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.293e-05/0.8814, allocations: 101 kB / 0.8072 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.8815, allocations: 25.7 kB / 0.8072 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.8815, allocations: 91.98 kB / 0.8073 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.8816, allocations: 3.906 kB / 0.8073 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.8816, allocations: 4 kB / 0.8073 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.8817, allocations: 314.8 kB / 0.8076 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.8819, allocations: 28 kB / 0.8076 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.8821, allocations: 19.98 kB / 0.8076 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.8822, allocations: 27.97 kB / 0.8077 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.8822, allocations: 4.062 kB / 0.8077 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003827/0.8826, allocations: 81.59 kB / 0.8077 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.249e-05/0.8827, allocations: 4 kB / 0.8077 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.8827, allocations: 3.938 kB / 0.8077 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.8828, allocations: 0 / 0.8077 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.883, allocations: 16.02 kB / 0.8078 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.883, allocations: 7.953 kB / 0.8078 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.869e-05/0.8831, allocations: 4 kB / 0.8078 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.8831, allocations: 0 / 0.8078 GB, free: 14.66 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * 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.0001253/0.8832, allocations: 117.8 kB / 0.8079 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.161e-05/0.8833, allocations: 0 / 0.8079 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.8833, allocations: 11.12 kB / 0.8079 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.8833, allocations: 0 / 0.8079 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.8834, allocations: 256 / 0.8079 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.8834, allocations: 3.953 kB / 0.8079 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.8836, allocations: 169.7 kB / 0.8081 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.8836, allocations: 0 / 0.8081 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.8837, allocations: 11.98 kB / 0.8081 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.8838, allocations: 0 / 0.8081 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.8838, allocations: 4 kB / 0.8081 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.8838, allocations: 3.984 kB / 0.8081 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.8838, allocations: 4 kB / 0.8081 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004446/0.8843, allocations: 183.3 kB / 0.8083 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.8843, allocations: 89.06 kB / 0.8083 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.8844, allocations: 0 / 0.8083 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.8845, allocations: 8 kB / 0.8084 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.8846, allocations: 7.984 kB / 0.8084 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.8846, allocations: 4 kB / 0.8084 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.282e-05/0.8847, allocations: 79.27 kB / 0.8084 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8847, allocations: 4 kB / 0.8084 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002876/0.885, allocations: 7.938 kB / 0.8085 GB, free: 13.88 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0007664/0.8857, allocations: 0.728 MB / 0.8092 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003674/0.8861, allocations: 47.95 kB / 0.8092 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8861, allocations: 0 / 0.8092 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.8863, allocations: 36.03 kB / 0.8092 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.8865, allocations: 2.484 kB / 0.8092 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.8878, allocations: 444.4 kB / 0.8097 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.8882, allocations: 0.6848 MB / 0.8103 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.716e-05/0.8882, allocations: 8 kB / 0.8103 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.484e-05/0.8883, allocations: 23.36 kB / 0.8104 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of SimCode: time 1.002e-06/0.8883, allocations: 0 / 0.8104 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.9104, allocations: 1.209 MB / 0.8115 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003545/0.9108, allocations: 203 kB / 0.8117 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.473/3.384, allocations: 0 / 0.8117 GB, free: 10.48 MB / 0.6355 GB