Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.229/2.229, allocations: 251.1 MB / 266.1 MB, free: 11.66 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001575/0.001575, allocations: 180.6 kB / 325.6 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.495/2.495, allocations: 205.4 MB / 0.5766 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 84.5 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006214/0.0006215, allocations: 18.48 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2167, allocations: 106.2 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2202/0.437, allocations: 131.2 MB / 1.027 GB, free: 14.13 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.4373, allocations: 67.95 kB / 1.027 GB, free: 14.06 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.00244/0.4398, allocations: 0.6608 MB / 1.028 GB, free: 13.4 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.073e-06/0.4398, allocations: 0 / 1.028 GB, free: 13.4 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.4398, allocations: 4 kB / 1.028 GB, free: 13.39 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004705/0.4403, allocations: 343.2 kB / 1.028 GB, free: 13.01 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.4404, allocations: 8.031 kB / 1.028 GB, free: 13 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.4404, allocations: 4 kB / 1.028 GB, free: 13 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.4406, allocations: 182.8 kB / 1.028 GB, free: 12.78 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.4406, allocations: 7.984 kB / 1.028 GB, free: 12.77 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.4407, allocations: 0 / 1.028 GB, free: 12.77 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.4409, allocations: 61.67 kB / 1.028 GB, free: 12.71 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.441, allocations: 0 / 1.028 GB, free: 12.71 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.441, allocations: 0 / 1.028 GB, free: 12.71 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.441, allocations: 4 kB / 1.028 GB, free: 12.7 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/0.4413, allocations: 43.97 kB / 1.028 GB, free: 12.66 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005559/0.4419, allocations: 284.8 kB / 1.029 GB, free: 12.33 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.4421, allocations: 34.56 kB / 1.029 GB, free: 12.29 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.4421, allocations: 4 kB / 1.029 GB, free: 12.29 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.4421, allocations: 30.56 kB / 1.029 GB, free: 12.25 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=1): time 2.495e-06/0.4422, allocations: 4.062 kB / 1.029 GB, free: 12.24 MB / 0.6824 GB Notification: Performance of matching and sorting (n=1): time 0.0005723/0.4427, allocations: 93.67 kB / 1.029 GB, free: 12.14 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.4428, allocations: 59.36 kB / 1.029 GB, free: 12.07 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.121e-05/0.4429, allocations: 93 kB / 1.029 GB, free: 11.98 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.4429, allocations: 25.7 kB / 1.029 GB, free: 11.95 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/0.443, allocations: 92.03 kB / 1.029 GB, free: 11.85 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.443, allocations: 0 / 1.029 GB, free: 11.85 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.443, allocations: 0 / 1.029 GB, free: 11.85 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4432, allocations: 318.9 kB / 1.029 GB, free: 11.53 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.4433, allocations: 19.98 kB / 1.029 GB, free: 11.51 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.4435, allocations: 19.97 kB / 1.029 GB, free: 11.49 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.4436, allocations: 24.05 kB / 1.029 GB, free: 11.47 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4437, allocations: 0 / 1.029 GB, free: 11.47 MB / 0.6824 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003468/0.444, allocations: 73.52 kB / 1.029 GB, free: 11.39 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.4441, allocations: 11.98 kB / 1.029 GB, free: 11.38 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4441, allocations: 4.031 kB / 1.029 GB, free: 11.38 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.4441, allocations: 0 / 1.029 GB, free: 11.38 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.4442, allocations: 11.94 kB / 1.029 GB, free: 11.36 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.4443, allocations: 3.938 kB / 1.029 GB, free: 11.36 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.208e-05/0.4444, allocations: 15.94 kB / 1.03 GB, free: 11.34 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.4444, allocations: 0 / 1.03 GB, free: 11.34 MB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.000115/0.4445, allocations: 109.8 kB / 1.03 GB, free: 11.23 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.4445, allocations: 4 kB / 1.03 GB, free: 11.22 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.4446, allocations: 11.11 kB / 1.03 GB, free: 11.21 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.4446, allocations: 0 / 1.03 GB, free: 11.21 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4446, allocations: 0 / 1.03 GB, free: 11.21 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4446, allocations: 0 / 1.03 GB, free: 11.21 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.4449, allocations: 161.6 kB / 1.03 GB, free: 11 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.4449, allocations: 7.984 kB / 1.03 GB, free: 11 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.7e-05/0.445, allocations: 7.984 kB / 1.03 GB, free: 10.99 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.445, allocations: 256 / 1.03 GB, free: 10.99 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.445, allocations: 8 kB / 1.03 GB, free: 10.98 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.445, allocations: 4 kB / 1.03 GB, free: 10.98 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4451, allocations: 0 / 1.03 GB, free: 10.98 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000426/0.4455, allocations: 175.4 kB / 1.03 GB, free: 10.79 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.4456, allocations: 77.11 kB / 1.03 GB, free: 10.7 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.4456, allocations: 0 / 1.03 GB, free: 10.7 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.4457, allocations: 7.984 kB / 1.03 GB, free: 10.69 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.4458, allocations: 4 kB / 1.03 GB, free: 10.68 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.4458, allocations: 0 / 1.03 GB, free: 10.68 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 6.338e-05/0.4459, allocations: 87.27 kB / 1.03 GB, free: 10.6 MB / 0.6824 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4459, allocations: 0 / 1.03 GB, free: 10.6 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0002813/0.4462, allocations: 15.88 kB / 1.03 GB, free: 10.58 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0001302/0.4463, allocations: 95.25 kB / 1.03 GB, free: 10.48 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0003843/0.4467, allocations: 39.97 kB / 1.03 GB, free: 10.44 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4467, allocations: 4.062 kB / 1.03 GB, free: 10.44 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.4469, allocations: 23.97 kB / 1.03 GB, free: 10.41 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.4471, allocations: 15.45 kB / 1.03 GB, free: 10.4 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003457/0.4475, allocations: 114.8 kB / 1.03 GB, free: 10.27 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.4478, allocations: 0.6888 MB / 1.031 GB, free: 9.551 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 4.749e-05/0.4478, allocations: 4 kB / 1.031 GB, free: 9.547 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.968e-05/0.4479, allocations: 7.438 kB / 1.031 GB, free: 9.539 MB / 0.6824 GB Notification: Performance of SimCode: time 7.82e-07/0.4479, allocations: 0 / 1.031 GB, free: 9.539 MB / 0.6824 GB Notification: Performance of Templates: time 0.00285/0.4507, allocations: 339.9 kB / 1.031 GB, free: 9.207 MB / 0.6824 GB