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.IntegerReplicator.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.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.32/2.32, 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.001507/0.001506, allocations: 182.7 kB / 325.6 MB, free: 2.836 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.531/2.531, allocations: 205.4 MB / 0.5766 GB, free: 20.74 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.001153/0.001153, allocations: 96.23 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005058/0.0005058, allocations: 13.66 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2307, allocations: 106.2 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.001578/0.2324, allocations: 1.068 MB / 0.8999 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003733/0.2328, allocations: 137.6 kB / 0.9001 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.286e-05/0.2328, allocations: 0 / 0.9001 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.621e-05/0.2329, allocations: 0 / 0.9001 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.017e-05/0.233, allocations: 7.938 kB / 0.9001 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.2332, allocations: 19.92 kB / 0.9001 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.48e-05/0.2332, allocations: 19.97 kB / 0.9001 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.846e-05/0.2333, allocations: 8 kB / 0.9001 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.273e-05/0.2334, allocations: 11.92 kB / 0.9001 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.843e-05/0.2335, allocations: 19.91 kB / 0.9001 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.2335, allocations: 4 kB / 0.9001 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.383e-05/0.2335, allocations: 0 / 0.9001 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.2336, allocations: 15.92 kB / 0.9002 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.2336, allocations: 25.7 kB / 0.9002 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.624e-05/0.2337, allocations: 27.95 kB / 0.9002 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.2337, allocations: 4 kB / 0.9002 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2337, allocations: 0 / 0.9002 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.2337, allocations: 0 / 0.9002 GB, free: 64.09 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004703/0.2342, allocations: 343.3 kB / 0.9005 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2343, allocations: 8.031 kB / 0.9006 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.2343, allocations: 15.91 kB / 0.9006 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.2344, allocations: 179.2 kB / 0.9007 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.2345, allocations: 4 kB / 0.9007 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.2345, allocations: 4 kB / 0.9007 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.2348, allocations: 65.66 kB / 0.9008 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2348, allocations: 0 / 0.9008 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.2348, allocations: 4 kB / 0.9008 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2348, allocations: 4 kB / 0.9008 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000311/0.2352, allocations: 51.95 kB / 0.9009 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004342/0.2356, allocations: 288.6 kB / 0.9011 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.2358, allocations: 46.56 kB / 0.9012 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.2359, allocations: 0 / 0.9012 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.2359, allocations: 34.55 kB / 0.9012 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.2359, allocations: 0 / 0.9012 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.000605/0.2365, allocations: 109.6 kB / 0.9013 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.2366, allocations: 55.41 kB / 0.9014 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.719e-05/0.2367, allocations: 105.8 kB / 0.9015 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.2367, allocations: 25.83 kB / 0.9015 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/0.2367, allocations: 88.05 kB / 0.9016 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.2368, allocations: 4 kB / 0.9016 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-06/0.2368, allocations: 4 kB / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.985e-05/0.2369, allocations: 310.8 kB / 0.9019 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.237, allocations: 27.97 kB / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.2372, allocations: 23.98 kB / 0.9019 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.2373, allocations: 23.97 kB / 0.902 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2374, allocations: 0 / 0.902 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003547/0.2377, allocations: 89.56 kB / 0.902 GB, free: 62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.2378, allocations: 4 kB / 0.902 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.2378, allocations: 0 / 0.902 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.2378, allocations: 4 kB / 0.9021 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.238, allocations: 11.98 kB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.238, allocations: 7.891 kB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.377e-05/0.2381, allocations: 8.031 kB / 0.9021 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.2381, allocations: 4 kB / 0.9021 GB, free: 61.96 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 0.0001143/0.2382, allocations: 113.8 kB / 0.9022 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.2383, allocations: 4 kB / 0.9022 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.2383, allocations: 15.05 kB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2383, allocations: 0 / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2383, allocations: 0 / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.2384, allocations: 3.953 kB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.2385, allocations: 165.7 kB / 0.9024 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2386, allocations: 0 / 0.9024 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.2387, allocations: 15.98 kB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.2387, allocations: 0 / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.2387, allocations: 256 / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2387, allocations: 0 / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2387, allocations: 4 kB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.2391, allocations: 187.4 kB / 0.9026 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.925e-05/0.2392, allocations: 85 kB / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.2392, allocations: 0 / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.2393, allocations: 8 kB / 0.9027 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/0.2394, allocations: 12.02 kB / 0.9027 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.2395, allocations: 4 kB / 0.9027 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.574e-05/0.2395, allocations: 83.27 kB / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2395, allocations: 0 / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003034/0.2398, allocations: 11.94 kB / 0.9028 GB, free: 61.17 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001246/0.24, allocations: 99.2 kB / 0.9029 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003839/0.2403, allocations: 51.95 kB / 0.9029 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2404, allocations: 3.938 kB / 0.9029 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.2405, allocations: 27.98 kB / 0.9029 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.2408, allocations: 6.156 kB / 0.9029 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003663/0.2412, allocations: 132.6 kB / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.2413, allocations: 0.6809 MB / 0.9037 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.238e-05/0.2414, allocations: 0 / 0.9037 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.2414, allocations: 15.42 kB / 0.9038 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of SimCode: time 8.61e-07/0.2414, allocations: 4 kB / 0.9038 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of Templates: time 0.003077/0.2445, allocations: 0.4979 MB / 0.9042 GB, free: 59.6 MB / 0.6042 GB