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 5.029/5.029, allocations: 0.5623 GB / 0.5769 GB, free: 3.34 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.002389/0.002388, allocations: 358 kB / 0.644 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.265/4.265, allocations: 410.7 MB / 1.112 GB, free: 5.902 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001799/0.001799, allocations: 179.3 kB / 1.225 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004943/0.0004945, allocations: 16 kB / 1.348 GB, free: 8.156 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5818/0.5823, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.0006543/0.583, allocations: 360.9 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007784/0.5838, allocations: 0.7806 MB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.718e-05/0.5838, allocations: 0.9688 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 6.493e-05/0.5839, allocations: 0 / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 2.68e-05/0.584, allocations: 7.938 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 7.873e-05/0.584, allocations: 9.141 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.796e-05/0.5841, allocations: 23.92 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.212e-05/0.5842, allocations: 5.281 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.923e-05/0.5842, allocations: 7.984 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.049e-05/0.5843, allocations: 7.938 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.5843, allocations: 5.062 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.876e-06/0.5843, allocations: 3.938 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.625e-05/0.5844, allocations: 7.984 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.151e-05/0.5844, allocations: 26.2 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 5.06e-05/0.5845, allocations: 24.97 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.241e-06/0.5845, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.913e-06/0.5845, allocations: 4 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.957e-06/0.5845, allocations: 1.062 kB / 1.462 GB, free: 283 MB / 0.8542 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.0003416/0.5848, allocations: 344 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.5849, allocations: 11.62 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.5849, allocations: 4 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.585, allocations: 182.9 kB / 1.462 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.5851, allocations: 2.188 kB / 1.462 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.5851, allocations: 4 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.5853, allocations: 60.2 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.544e-06/0.5853, allocations: 1.812 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.551e-06/0.5853, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.5853, allocations: 4 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.5855, allocations: 45.58 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.5859, allocations: 287.2 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.586, allocations: 40.19 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.532e-05/0.5862, allocations: 26.72 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.5862, allocations: 0 / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.487e-05/0.5862, allocations: 36.48 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.686e-06/0.5862, allocations: 0 / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0003634/0.5866, allocations: 96.88 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.5866, allocations: 55.36 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.52e-05/0.5867, allocations: 103.6 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.363e-06/0.5867, allocations: 25.7 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.84e-05/0.5867, allocations: 84.14 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.5868, allocations: 4.406 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-06/0.5868, allocations: 3.938 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.966e-05/0.5868, allocations: 320.1 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.391e-05/0.5869, allocations: 21.02 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.43e-05/0.587, allocations: 23.36 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.676e-05/0.5871, allocations: 15.98 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.938e-06/0.5872, allocations: 4 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002151/0.5874, allocations: 75.91 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.5874, allocations: 7 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.563e-06/0.5874, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.5874, allocations: 4 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.33e-05/0.5875, allocations: 7.984 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.161e-06/0.5876, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.647e-05/0.5876, allocations: 17.38 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.5876, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 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 5.786e-05/0.5877, allocations: 110.3 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.5877, allocations: 4 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.829e-05/0.5878, allocations: 3.625 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.839e-06/0.5878, allocations: 0.7812 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.795e-06/0.5878, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.739e-06/0.5878, allocations: 4.844 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.588, allocations: 161.6 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.588, allocations: 2.906 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.367e-05/0.588, allocations: 11.98 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.964e-06/0.5881, allocations: 256 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.761e-06/0.5881, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.037e-06/0.5881, allocations: 4 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.599e-06/0.5881, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.5883, allocations: 180.5 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.062e-05/0.5884, allocations: 81.11 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.5884, allocations: 4 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.511e-05/0.5885, allocations: 4.969 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.5886, allocations: 8.859 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.964e-06/0.5886, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.804e-05/0.5886, allocations: 80.25 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.58e-07/0.5886, allocations: 4 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002824/0.5889, allocations: 2.406 kB / 1.464 GB, free: 280.3 MB / 0.8542 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 7.861e-05/0.589, allocations: 103.2 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.5892, allocations: 45.52 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.117e-06/0.5892, allocations: 0.8125 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.822e-05/0.5894, allocations: 25.77 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.5897, allocations: 7.953 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002558/0.59, allocations: 118.5 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.5901, allocations: 0.6886 MB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.259e-05/0.5902, allocations: 0.5625 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.261e-05/0.5902, allocations: 12.28 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.305e-06/0.5902, allocations: 0 / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.00241/0.5926, allocations: 345.6 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB