Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") Notification: Performance of loadModel(Buildings): time 4.247/4.247, allocations: 433.4 MB / 440.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.046e-05/2.056e-05, allocations: 4 kB / 0.5325 GB, free: 1.852 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6217/0.6217, allocations: 98.7 MB / 0.6289 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1934/0.8152, allocations: 123.5 MB / 0.7495 GB, free: 4.039 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.8154, allocations: 79.88 kB / 0.7496 GB, free: 3.961 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002001/0.8175, allocations: 0.6539 MB / 0.7502 GB, free: 3.305 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.29e-06/0.8175, allocations: 0 / 0.7502 GB, free: 3.305 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.645e-06/0.8175, allocations: 0 / 0.7502 GB, free: 3.305 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003976/0.8179, allocations: 334.5 kB / 0.7506 GB, free: 2.934 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.818, allocations: 8.031 kB / 0.7506 GB, free: 2.926 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.686e-05/0.818, allocations: 0 / 0.7506 GB, free: 2.926 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.8182, allocations: 182.9 kB / 0.7507 GB, free: 2.707 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.8182, allocations: 4 kB / 0.7507 GB, free: 2.703 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.8183, allocations: 0 / 0.7507 GB, free: 2.703 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.051e-05/0.8184, allocations: 12 kB / 0.7507 GB, free: 2.691 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.091e-05/0.8185, allocations: 45.62 kB / 0.7508 GB, free: 2.641 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.227e-06/0.8185, allocations: 0 / 0.7508 GB, free: 2.641 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.191e-06/0.8185, allocations: 4 kB / 0.7508 GB, free: 2.637 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.551e-06/0.8185, allocations: 0 / 0.7508 GB, free: 2.637 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004553/0.819, allocations: 249.5 kB / 0.751 GB, free: 2.355 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.277e-05/0.819, allocations: 22.58 kB / 0.7511 GB, free: 2.324 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.021e-05/0.8191, allocations: 12.92 kB / 0.7511 GB, free: 2.309 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.8191, allocations: 0 / 0.7511 GB, free: 2.309 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.8192, allocations: 38.48 kB / 0.7511 GB, free: 2.262 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.722e-06/0.8192, allocations: 0 / 0.7511 GB, free: 2.262 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001512/0.8193, allocations: 37.7 kB / 0.7511 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.8194, allocations: 55.36 kB / 0.7512 GB, free: 2.152 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.585e-05/0.8195, allocations: 93 kB / 0.7513 GB, free: 2.055 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.8195, allocations: 29.73 kB / 0.7513 GB, free: 2.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.19e-05/0.8196, allocations: 88.03 kB / 0.7514 GB, free: 1.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.8196, allocations: 4 kB / 0.7514 GB, free: 1.926 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-06/0.8196, allocations: 3.938 kB / 0.7514 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.8198, allocations: 314.8 kB / 0.7517 GB, free: 1.605 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.067e-05/0.8198, allocations: 4 kB / 0.7517 GB, free: 1.602 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.405e-05/0.8199, allocations: 0 / 0.7517 GB, free: 1.602 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.367e-05/0.8199, allocations: 8 kB / 0.7517 GB, free: 1.594 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.055e-06/0.8199, allocations: 4.062 kB / 0.7517 GB, free: 1.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.856e-05/0.82, allocations: 45.53 kB / 0.7518 GB, free: 1.539 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.82, allocations: 4 kB / 0.7518 GB, free: 1.535 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.82, allocations: 0 / 0.7518 GB, free: 1.535 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.8201, allocations: 7.922 kB / 0.7518 GB, free: 1.527 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.8202, allocations: 8 kB / 0.7518 GB, free: 1.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.103e-06/0.8202, allocations: 0 / 0.7518 GB, free: 1.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.628e-05/0.8203, allocations: 15.94 kB / 0.7518 GB, free: 1.504 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.62e-06/0.8203, allocations: 4.031 kB / 0.7518 GB, free: 1.5 MB / 0.6198 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.1e-05/0.8204, allocations: 101 kB / 0.7519 GB, free: 1.395 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.8204, allocations: 0 / 0.7519 GB, free: 1.395 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.384e-05/0.8205, allocations: 11.75 kB / 0.7519 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.856e-06/0.8205, allocations: 3.984 kB / 0.7519 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.614e-06/0.8205, allocations: 0 / 0.7519 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.28e-06/0.8205, allocations: 0 / 0.7519 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.8207, allocations: 138.2 kB / 0.752 GB, free: 1.211 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.18e-06/0.8207, allocations: 256 / 0.752 GB, free: 1.211 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.702e-05/0.8208, allocations: 19.98 kB / 0.7521 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.109e-06/0.8208, allocations: 0 / 0.7521 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.168e-06/0.8208, allocations: 0 / 0.7521 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.887e-06/0.8208, allocations: 0 / 0.7521 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.21e-06/0.8208, allocations: 0 / 0.7521 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.821, allocations: 135.5 kB / 0.7522 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.8211, allocations: 85.09 kB / 0.7523 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.8211, allocations: 4.031 kB / 0.7523 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.8212, allocations: 4 kB / 0.7523 GB, free: 0.9336 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.8213, allocations: 7.984 kB / 0.7523 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-06/0.8213, allocations: 0 / 0.7523 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.793e-05/0.8213, allocations: 83.28 kB / 0.7524 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.35e-07/0.8214, allocations: 0 / 0.7524 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002867/0.8216, allocations: 4 kB / 0.7524 GB, free: 0.8398 MB / 0.6198 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.000132/0.8218, allocations: 104.9 kB / 0.7525 GB, free: 0.7266 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.088e-05/0.8219, allocations: 8 kB / 0.7525 GB, free: 0.7188 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.502e-06/0.8219, allocations: 0 / 0.7525 GB, free: 0.7188 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.124e-05/0.8219, allocations: 7.938 kB / 0.7525 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.8222, allocations: 11.94 kB / 0.7525 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002441/0.8224, allocations: 67.84 kB / 0.7526 GB, free: 0.6094 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.8228, allocations: 0.6769 MB / 0.7532 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.837e-05/0.8229, allocations: 8 kB / 0.7532 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.8229, allocations: 7.438 kB / 0.7532 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of SimCode: time 1.408e-06/0.8229, allocations: 0 / 0.7532 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of Templates: time 0.002473/0.8254, allocations: 329 kB / 0.7536 GB, free: 15.57 MB / 0.6355 GB