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.301/2.301, allocations: 253.2 MB / 260.6 MB, free: 7.414 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001475/0.001475, allocations: 190.8 kB / 319.9 MB, free: 3.09 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.258/2.258, allocations: 205.6 MB / 0.5708 GB, free: 15.29 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.001135/0.001135, allocations: 99.53 kB / 0.6751 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.967e-05/1.995e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2022, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.869/1.071, allocations: 131.4 MB / 1.017 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/1.072, allocations: 67.78 kB / 1.017 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002357/1.074, allocations: 0.6508 MB / 1.018 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.552e-06/1.074, allocations: 0 / 1.018 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.568e-06/1.074, allocations: 0 / 1.018 GB, free: 5.344 MB / 0.6355 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.0004414/1.074, allocations: 334.5 kB / 1.018 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/1.074, allocations: 12.03 kB / 1.018 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/1.075, allocations: 4 kB / 1.018 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/1.075, allocations: 175.3 kB / 1.018 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/1.075, allocations: 4 kB / 1.018 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/1.075, allocations: 0 / 1.018 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.32e-05/1.075, allocations: 15.25 kB / 1.018 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/1.075, allocations: 43.94 kB / 1.018 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/1.075, allocations: 2.625 kB / 1.018 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/1.075, allocations: 0 / 1.018 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/1.075, allocations: 0 / 1.018 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005227/1.076, allocations: 260.1 kB / 1.018 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.946e-05/1.076, allocations: 22.52 kB / 1.018 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.317e-05/1.076, allocations: 12.61 kB / 1.019 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/1.076, allocations: 0 / 1.019 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/1.076, allocations: 38.5 kB / 1.019 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.493e-06/1.076, allocations: 0 / 1.019 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001552/1.076, allocations: 37.02 kB / 1.019 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/1.076, allocations: 55.39 kB / 1.019 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.988e-05/1.076, allocations: 96.33 kB / 1.019 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/1.076, allocations: 25.7 kB / 1.019 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.793e-05/1.076, allocations: 88.05 kB / 1.019 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/1.076, allocations: 7.281 kB / 1.019 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/1.076, allocations: 0 / 1.019 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001529/1.076, allocations: 314.8 kB / 1.019 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.437e-05/1.076, allocations: 4 kB / 1.019 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.807e-05/1.076, allocations: 7.438 kB / 1.019 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.462e-05/1.077, allocations: 4 kB / 1.019 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.077, allocations: 0 / 1.019 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.409e-05/1.077, allocations: 37.14 kB / 1.019 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/1.077, allocations: 4.094 kB / 1.019 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/1.077, allocations: 7.938 kB / 1.019 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/1.077, allocations: 0 / 1.019 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/1.077, allocations: 11.98 kB / 1.019 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/1.077, allocations: 0 / 1.019 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.851e-05/1.077, allocations: 12.61 kB / 1.019 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/1.077, allocations: 3.953 kB / 1.019 GB, free: 3.586 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: 0 () * Number of discrete 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 8.439e-05/1.077, allocations: 105 kB / 1.019 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/1.077, allocations: 3.906 kB / 1.019 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.77e-05/1.077, allocations: 11.7 kB / 1.019 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/1.077, allocations: 0 / 1.019 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.077, allocations: 0 / 1.019 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/1.077, allocations: 3.938 kB / 1.019 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/1.077, allocations: 141.7 kB / 1.019 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.077, allocations: 0 / 1.019 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.325e-05/1.078, allocations: 8 kB / 1.019 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/1.078, allocations: 3.938 kB / 1.019 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/1.078, allocations: 4 kB / 1.019 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/1.078, allocations: 3.984 kB / 1.019 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.078, allocations: 4 kB / 1.02 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/1.078, allocations: 134 kB / 1.02 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/1.078, allocations: 77.11 kB / 1.02 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/1.078, allocations: 0 / 1.02 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/1.078, allocations: 16.02 kB / 1.02 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/1.078, allocations: 3.984 kB / 1.02 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/1.078, allocations: 0 / 1.02 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.182e-05/1.078, allocations: 86.89 kB / 1.02 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.1e-07/1.078, allocations: 3.938 kB / 1.02 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002888/1.078, allocations: 4 kB / 1.02 GB, free: 2.918 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: 0 () * Number of discrete 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.0001254/1.079, allocations: 95.25 kB / 1.02 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.958e-05/1.079, allocations: 15.62 kB / 1.02 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.079, allocations: 0 / 1.02 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.108e-05/1.079, allocations: 4 kB / 1.02 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/1.079, allocations: 9.703 kB / 1.02 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002458/1.079, allocations: 71.23 kB / 1.02 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/1.079, allocations: 0.6846 MB / 1.021 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.863e-05/1.08, allocations: 0 / 1.021 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.223e-05/1.08, allocations: 11.56 kB / 1.021 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of SimCode: time 7.22e-07/1.08, allocations: 4 kB / 1.021 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of Templates: time 0.00271/1.082, allocations: 313.1 kB / 1.021 GB, free: 1.684 MB / 0.6355 GB