Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.901/4.901, allocations: 0.5623 GB / 0.5775 GB, free: 3.324 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002587/0.002587, allocations: 355.7 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.05/4.05, allocations: 410.7 MB / 1.113 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001791/0.00179, allocations: 172.5 kB / 1.226 GB, free: 35.99 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000494/0.0004942, allocations: 16.64 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2116, allocations: 115.3 MB / 1.461 GB, free: 6.602 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8984/1.11, allocations: 137.3 MB / 1.595 GB, free: 4.332 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/1.11, allocations: 69.34 kB / 1.596 GB, free: 4.297 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.00211/1.112, allocations: 0.6369 MB / 1.596 GB, free: 3.703 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.934e-06/1.113, allocations: 0 / 1.596 GB, free: 3.703 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.095e-06/1.113, allocations: 0 / 1.596 GB, free: 3.703 MB / 0.6667 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.0004168/1.113, allocations: 347.4 kB / 1.596 GB, free: 3.32 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/1.113, allocations: 8.031 kB / 1.596 GB, free: 3.312 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/1.113, allocations: 0 / 1.596 GB, free: 3.312 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/1.113, allocations: 178.6 kB / 1.597 GB, free: 3.102 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/1.113, allocations: 6.438 kB / 1.597 GB, free: 3.098 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/1.113, allocations: 4 kB / 1.597 GB, free: 3.094 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/1.114, allocations: 64.48 kB / 1.597 GB, free: 3.031 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/1.114, allocations: 0 / 1.597 GB, free: 3.031 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/1.114, allocations: 0 / 1.597 GB, free: 3.031 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/1.114, allocations: 0 / 1.597 GB, free: 3.031 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/1.114, allocations: 43.22 kB / 1.597 GB, free: 2.992 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005138/1.114, allocations: 287.9 kB / 1.597 GB, free: 2.672 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/1.115, allocations: 38.38 kB / 1.597 GB, free: 2.629 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/1.115, allocations: 28.66 kB / 1.597 GB, free: 2.602 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/1.115, allocations: 0 / 1.597 GB, free: 2.602 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/1.115, allocations: 30.56 kB / 1.597 GB, free: 2.562 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/1.115, allocations: 4 kB / 1.597 GB, free: 2.559 MB / 0.6667 GB Notification: Performance of matching and sorting (n=1): time 0.0005092/1.115, allocations: 93.02 kB / 1.597 GB, free: 2.465 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/1.115, allocations: 55.36 kB / 1.597 GB, free: 2.398 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.003e-05/1.115, allocations: 105 kB / 1.597 GB, free: 2.289 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/1.115, allocations: 28 kB / 1.597 GB, free: 2.258 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/1.116, allocations: 87.7 kB / 1.597 GB, free: 2.172 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/1.116, allocations: 3.906 kB / 1.598 GB, free: 2.168 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/1.116, allocations: 4 kB / 1.598 GB, free: 2.164 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001992/1.116, allocations: 318.1 kB / 1.598 GB, free: 17.85 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/1.116, allocations: 15.98 kB / 1.598 GB, free: 17.83 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/1.116, allocations: 27.36 kB / 1.598 GB, free: 17.81 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/1.116, allocations: 15.98 kB / 1.598 GB, free: 17.79 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.116, allocations: 0 / 1.598 GB, free: 17.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003139/1.117, allocations: 80.91 kB / 1.598 GB, free: 17.71 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/1.117, allocations: 4 kB / 1.598 GB, free: 17.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/1.117, allocations: 0 / 1.598 GB, free: 17.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/1.117, allocations: 0 / 1.598 GB, free: 17.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/1.117, allocations: 11.98 kB / 1.598 GB, free: 17.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/1.117, allocations: 0.7812 kB / 1.598 GB, free: 17.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.233e-05/1.117, allocations: 16.23 kB / 1.598 GB, free: 17.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/1.117, allocations: 0 / 1.598 GB, free: 17.68 MB / 0.6823 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 9.017e-05/1.117, allocations: 113.7 kB / 1.598 GB, free: 17.56 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/1.117, allocations: 4 kB / 1.598 GB, free: 17.56 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.656e-05/1.117, allocations: 11.06 kB / 1.598 GB, free: 17.55 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.117, allocations: 0 / 1.598 GB, free: 17.55 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.117, allocations: 2.188 kB / 1.598 GB, free: 17.55 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/1.117, allocations: 0 / 1.598 GB, free: 17.55 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/1.117, allocations: 168.7 kB / 1.598 GB, free: 17.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.117, allocations: 4 kB / 1.598 GB, free: 17.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.819e-05/1.117, allocations: 8 kB / 1.598 GB, free: 17.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/1.117, allocations: 0 / 1.598 GB, free: 17.33 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/1.117, allocations: 0 / 1.598 GB, free: 17.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/1.117, allocations: 3.984 kB / 1.598 GB, free: 17.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/1.117, allocations: 0 / 1.598 GB, free: 17.33 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003549/1.118, allocations: 181.4 kB / 1.598 GB, free: 17.14 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/1.118, allocations: 81.09 kB / 1.599 GB, free: 17.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/1.118, allocations: 0 / 1.599 GB, free: 17.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/1.118, allocations: 11.06 kB / 1.599 GB, free: 17.04 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/1.118, allocations: 4.016 kB / 1.599 GB, free: 17.03 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/1.118, allocations: 4 kB / 1.599 GB, free: 17.03 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.284e-05/1.118, allocations: 79.28 kB / 1.599 GB, free: 16.95 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.6e-07/1.118, allocations: 0 / 1.599 GB, free: 16.95 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002578/1.118, allocations: 7.938 kB / 1.599 GB, free: 16.94 MB / 0.6823 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.000111/1.119, allocations: 98 kB / 1.599 GB, free: 16.84 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003247/1.119, allocations: 47.77 kB / 1.599 GB, free: 16.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.119, allocations: 3.938 kB / 1.599 GB, free: 16.79 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/1.119, allocations: 23.92 kB / 1.599 GB, free: 16.77 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/1.119, allocations: 13.92 kB / 1.599 GB, free: 16.76 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/1.12, allocations: 115.8 kB / 1.599 GB, free: 16.62 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/1.12, allocations: 0.6809 MB / 1.6 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.445e-05/1.12, allocations: 3.984 kB / 1.6 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/1.12, allocations: 7.438 kB / 1.6 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of SimCode: time 9.62e-07/1.12, allocations: 0 / 1.6 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of Templates: time 0.002701/1.123, allocations: 342.2 kB / 1.6 GB, free: 15.59 MB / 0.6823 GB