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.353/5.353, allocations: 0.5623 GB / 0.5776 GB, free: 3.391 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.002488/0.002488, allocations: 356 kB / 0.6447 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.372/4.372, 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.001726/0.001726, allocations: 176.3 kB / 1.226 GB, free: 35.96 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004998/0.0005001, allocations: 12 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2245, allocations: 115.3 MB / 1.461 GB, free: 6.578 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.0008913/0.2255, allocations: 361.7 kB / 1.462 GB, free: 6.223 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009236/0.2264, allocations: 0.7816 MB / 1.462 GB, free: 5.426 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.403e-05/0.2265, allocations: 4 kB / 1.462 GB, free: 5.422 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.59e-05/0.2266, allocations: 3.938 kB / 1.462 GB, free: 5.418 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.748e-05/0.2266, allocations: 0 / 1.462 GB, free: 5.418 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001095/0.2267, allocations: 4 kB / 1.462 GB, free: 5.414 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.324e-05/0.2268, allocations: 23.92 kB / 1.462 GB, free: 5.391 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.368e-05/0.2269, allocations: 7.984 kB / 1.463 GB, free: 5.383 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.802e-05/0.227, allocations: 11.92 kB / 1.463 GB, free: 5.371 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.958e-05/0.227, allocations: 15.92 kB / 1.463 GB, free: 5.355 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.2271, allocations: 0 / 1.463 GB, free: 5.355 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.127e-06/0.2271, allocations: 4 kB / 1.463 GB, free: 5.352 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.517e-05/0.2271, allocations: 4 kB / 1.463 GB, free: 5.348 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.2272, allocations: 33.64 kB / 1.463 GB, free: 5.309 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.172e-05/0.2272, allocations: 19.95 kB / 1.463 GB, free: 5.289 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2273, allocations: 0 / 1.463 GB, free: 5.289 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.963e-06/0.2273, allocations: 0 / 1.463 GB, free: 5.289 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.2273, allocations: 0 / 1.463 GB, free: 5.289 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.0004447/0.2277, allocations: 343.5 kB / 1.463 GB, free: 4.906 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.2278, allocations: 16.03 kB / 1.463 GB, free: 4.891 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.2278, allocations: 0 / 1.463 GB, free: 4.891 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.2279, allocations: 171 kB / 1.463 GB, free: 4.684 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.228, allocations: 4 kB / 1.463 GB, free: 4.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.228, allocations: 4 kB / 1.463 GB, free: 4.676 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.2282, allocations: 53.67 kB / 1.463 GB, free: 4.617 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2283, allocations: 3.938 kB / 1.463 GB, free: 4.613 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.2283, allocations: 8 kB / 1.463 GB, free: 4.605 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2283, allocations: 0 / 1.463 GB, free: 4.605 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000272/0.2286, allocations: 47.95 kB / 1.463 GB, free: 4.559 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.2291, allocations: 280.8 kB / 1.463 GB, free: 4.234 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.2292, allocations: 38.5 kB / 1.464 GB, free: 4.188 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.2294, allocations: 32.89 kB / 1.464 GB, free: 4.152 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.2294, allocations: 4 kB / 1.464 GB, free: 4.148 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.2294, allocations: 30.56 kB / 1.464 GB, free: 4.109 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.793e-06/0.2294, allocations: 0 / 1.464 GB, free: 4.109 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0005059/0.23, allocations: 93.64 kB / 1.464 GB, free: 4.012 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.858e-05/0.23, allocations: 51.41 kB / 1.464 GB, free: 3.949 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.657e-05/0.2301, allocations: 105.8 kB / 1.464 GB, free: 3.836 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.2301, allocations: 25.7 kB / 1.464 GB, free: 3.805 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.63e-05/0.2301, allocations: 95.97 kB / 1.464 GB, free: 3.707 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.2302, allocations: 16 kB / 1.464 GB, free: 3.691 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.2302, allocations: 3.938 kB / 1.464 GB, free: 3.688 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.01e-05/0.2302, allocations: 310.8 kB / 1.464 GB, free: 3.375 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.2304, allocations: 19.98 kB / 1.464 GB, free: 3.355 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.2305, allocations: 19.98 kB / 1.464 GB, free: 3.336 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.2307, allocations: 28.03 kB / 1.464 GB, free: 3.309 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2307, allocations: 0 / 1.464 GB, free: 3.309 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002998/0.231, allocations: 69.67 kB / 1.464 GB, free: 3.234 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.231, allocations: 8 kB / 1.464 GB, free: 3.227 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.231, allocations: 0 / 1.464 GB, free: 3.227 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.2311, allocations: 0 / 1.464 GB, free: 3.227 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.2312, allocations: 11.98 kB / 1.464 GB, free: 3.215 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.2312, allocations: 0 / 1.464 GB, free: 3.215 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.975e-05/0.2313, allocations: 12.19 kB / 1.464 GB, free: 3.203 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.2313, allocations: 0 / 1.464 GB, free: 3.203 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.37e-05/0.2314, allocations: 118.4 kB / 1.465 GB, free: 3.078 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.2314, allocations: 11.84 kB / 1.465 GB, free: 3.066 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.065e-05/0.2315, allocations: 3.125 kB / 1.465 GB, free: 3.066 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2315, allocations: 4 kB / 1.465 GB, free: 3.062 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2315, allocations: 3.984 kB / 1.465 GB, free: 3.059 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.386e-05/0.2315, allocations: 77.11 kB / 1.465 GB, free: 2.965 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.2316, allocations: 3.953 kB / 1.465 GB, free: 2.961 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.2317, allocations: 12 kB / 1.465 GB, free: 2.949 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.2317, allocations: 3.984 kB / 1.465 GB, free: 2.945 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003642/0.2321, allocations: 148.9 kB / 1.465 GB, free: 2.793 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003395/0.2325, allocations: 250.8 kB / 1.465 GB, free: 2.531 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001496/0.2326, allocations: 24.02 kB / 1.465 GB, free: 2.508 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.563e-05/0.2327, allocations: 83.28 kB / 1.465 GB, free: 2.426 MB / 0.6042 GB Notification: Performance of Backend: time 1.283e-06/0.2327, allocations: 0 / 1.465 GB, free: 2.426 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005208/0.2332, allocations: 94.38 kB / 1.465 GB, free: 2.328 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004678/0.2337, allocations: 0.5722 MB / 1.466 GB, free: 1.711 MB / 0.6042 GB Notification: Performance of Templates: time 0.002909/0.2366, allocations: 431.6 kB / 1.466 GB, free: 1.297 MB / 0.6042 GB