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.157/2.157, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001609/0.001609, allocations: 181.6 kB / 325.6 MB, free: 2.824 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.438/2.438, allocations: 205.4 MB / 0.5766 GB, free: 20.76 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.001128/0.001128, allocations: 95.86 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004688/0.0004689, allocations: 10.78 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2431, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.001949/0.2451, allocations: 1.045 MB / 0.8999 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003637/0.2455, allocations: 101.8 kB / 0.9 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.26e-05/0.2456, allocations: 3.938 kB / 0.9 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.27e-05/0.2457, allocations: 0 / 0.9 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.74e-05/0.2457, allocations: 3.984 kB / 0.9 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001116/0.2459, allocations: 11.98 kB / 0.9 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.608e-05/0.2459, allocations: 12 kB / 0.9 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.457e-05/0.2461, allocations: 11.97 kB / 0.9001 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.307e-05/0.2461, allocations: 3.938 kB / 0.9001 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.877e-05/0.2462, allocations: 11.98 kB / 0.9001 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.2462, allocations: 4 kB / 0.9001 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.084e-05/0.2462, allocations: 0 / 0.9001 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.2463, allocations: 11.92 kB / 0.9001 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.881e-05/0.2464, allocations: 29.7 kB / 0.9001 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.452e-05/0.2464, allocations: 19.95 kB / 0.9001 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2465, allocations: 4 kB / 0.9001 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2465, allocations: 0 / 0.9001 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.2465, allocations: 0 / 0.9001 GB, free: 64.17 MB / 0.6042 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.0005027/0.247, allocations: 343.2 kB / 0.9005 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.2471, allocations: 8.031 kB / 0.9005 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.2471, allocations: 3.906 kB / 0.9005 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.2473, allocations: 167.3 kB / 0.9006 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.2473, allocations: 12 kB / 0.9006 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.2473, allocations: 3.984 kB / 0.9006 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.2477, allocations: 69.53 kB / 0.9007 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.2477, allocations: 0 / 0.9007 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.2477, allocations: 4 kB / 0.9007 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.2477, allocations: 0 / 0.9007 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003684/0.2481, allocations: 47.97 kB / 0.9008 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/0.2487, allocations: 280.8 kB / 0.901 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.2489, allocations: 42.5 kB / 0.9011 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.249, allocations: 0 / 0.9011 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.249, allocations: 30.56 kB / 0.9011 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.664e-06/0.249, allocations: 0 / 0.9011 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0006429/0.2497, allocations: 101.6 kB / 0.9012 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.2497, allocations: 59.3 kB / 0.9013 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.376e-05/0.2498, allocations: 97.86 kB / 0.9013 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.2498, allocations: 29.83 kB / 0.9014 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/0.2499, allocations: 92.11 kB / 0.9015 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.2499, allocations: 0 / 0.9015 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.25, allocations: 0 / 0.9015 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.498e-05/0.25, allocations: 314.8 kB / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.2502, allocations: 19.98 kB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.2504, allocations: 23.97 kB / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.2506, allocations: 23.98 kB / 0.9018 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2506, allocations: 0 / 0.9018 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003929/0.251, allocations: 73.64 kB / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2511, allocations: 7.984 kB / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2511, allocations: 4 kB / 0.9019 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2511, allocations: 3.938 kB / 0.9019 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.2513, allocations: 8 kB / 0.9019 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.2513, allocations: 3.953 kB / 0.9019 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.981e-05/0.2514, allocations: 15.95 kB / 0.9019 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.2514, allocations: 0 / 0.9019 GB, free: 62.1 MB / 0.6042 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 7.646e-05/0.2515, allocations: 109.8 kB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.2516, allocations: 0 / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.2516, allocations: 11.11 kB / 0.9021 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.2516, allocations: 4 kB / 0.9021 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2516, allocations: 256 / 0.9021 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2517, allocations: 3.953 kB / 0.9021 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.2519, allocations: 161.7 kB / 0.9022 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.2519, allocations: 0 / 0.9022 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.252, allocations: 11.98 kB / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.252, allocations: 0 / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.2521, allocations: 0 / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.2521, allocations: 4 kB / 0.9022 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2521, allocations: 3.938 kB / 0.9022 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004052/0.2525, allocations: 167.5 kB / 0.9024 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.098e-05/0.2526, allocations: 81.11 kB / 0.9025 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.2526, allocations: 0 / 0.9025 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.2528, allocations: 7.984 kB / 0.9025 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.2529, allocations: 15.97 kB / 0.9025 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.2529, allocations: 0 / 0.9025 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.768e-05/0.2529, allocations: 83.27 kB / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.11e-07/0.2529, allocations: 0 / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004585/0.2534, allocations: 7.906 kB / 0.9026 GB, free: 61.35 MB / 0.6042 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.0001073/0.2535, allocations: 95.25 kB / 0.9027 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000386/0.2539, allocations: 43.97 kB / 0.9027 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2539, allocations: 0 / 0.9027 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.2541, allocations: 23.97 kB / 0.9027 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.2545, allocations: 12.08 kB / 0.9028 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003388/0.2548, allocations: 124.8 kB / 0.9029 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001537/0.255, allocations: 0.6809 MB / 0.9035 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.012e-05/0.2551, allocations: 0 / 0.9035 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.2551, allocations: 11.44 kB / 0.9035 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of SimCode: time 8.22e-07/0.2551, allocations: 0 / 0.9035 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.003165/0.2583, allocations: 339.5 kB / 0.9039 GB, free: 59.97 MB / 0.6042 GB