Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.872/4.872, allocations: 0.5623 GB / 0.5775 GB, free: 66.97 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002706/0.002705, allocations: 355.4 kB / 0.6446 GB, free: 21.54 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.118/4.118, allocations: 410.7 MB / 1.113 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001839/0.001839, allocations: 180.4 kB / 1.226 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0005625/0.0005626, allocations: 13.28 kB / 1.349 GB, free: 321.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2246, allocations: 115.2 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2008/0.4255, allocations: 137.5 MB / 1.596 GB, free: 83.01 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.4258, allocations: 71.95 kB / 1.596 GB, free: 82.94 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 0.00295/0.4287, allocations: 0.8138 MB / 1.596 GB, free: 82.13 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.336e-06/0.4288, allocations: 0 / 1.596 GB, free: 82.13 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.4288, allocations: 7.938 kB / 1.597 GB, free: 82.12 MB / 0.8073 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.000404/0.4292, allocations: 349.7 kB / 1.597 GB, free: 81.73 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.4292, allocations: 12.47 kB / 1.597 GB, free: 81.73 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.4293, allocations: 7.938 kB / 1.597 GB, free: 81.72 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.4294, allocations: 180.5 kB / 1.597 GB, free: 81.5 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.4295, allocations: 4 kB / 1.597 GB, free: 81.5 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.4295, allocations: 4 kB / 1.597 GB, free: 81.5 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.4298, allocations: 63.23 kB / 1.597 GB, free: 81.43 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.4298, allocations: 0 / 1.597 GB, free: 81.43 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.4298, allocations: 8.484 kB / 1.597 GB, free: 81.42 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.4298, allocations: 1.469 kB / 1.597 GB, free: 81.42 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.4302, allocations: 57.17 kB / 1.597 GB, free: 81.37 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003987/0.4306, allocations: 278.7 kB / 1.597 GB, free: 81.05 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.4308, allocations: 50.58 kB / 1.597 GB, free: 80.99 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.431, allocations: 24.91 kB / 1.597 GB, free: 80.96 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.431, allocations: 8.062 kB / 1.598 GB, free: 80.96 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.431, allocations: 35.12 kB / 1.598 GB, free: 80.91 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.431, allocations: 0.875 kB / 1.598 GB, free: 80.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0005677/0.4316, allocations: 100.7 kB / 1.598 GB, free: 80.81 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.4317, allocations: 60.03 kB / 1.598 GB, free: 80.74 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.814e-05/0.4317, allocations: 107.5 kB / 1.598 GB, free: 80.63 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.4318, allocations: 29.7 kB / 1.598 GB, free: 80.59 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.185e-05/0.4318, allocations: 84.12 kB / 1.598 GB, free: 80.51 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.4318, allocations: 7.906 kB / 1.598 GB, free: 80.5 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.4318, allocations: 1.188 kB / 1.598 GB, free: 80.5 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.588e-05/0.4319, allocations: 314.8 kB / 1.598 GB, free: 80.18 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.4321, allocations: 21.05 kB / 1.598 GB, free: 80.16 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.4322, allocations: 30.53 kB / 1.598 GB, free: 80.14 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.4324, allocations: 25.02 kB / 1.598 GB, free: 80.11 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4324, allocations: 0 / 1.598 GB, free: 80.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003495/0.4328, allocations: 79.91 kB / 1.598 GB, free: 80.03 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.4328, allocations: 5.156 kB / 1.598 GB, free: 80.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4328, allocations: 0 / 1.598 GB, free: 80.03 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.4328, allocations: 0 / 1.598 GB, free: 80.03 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.433, allocations: 21.89 kB / 1.598 GB, free: 80.01 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.433, allocations: 3.953 kB / 1.598 GB, free: 80 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.743e-05/0.4331, allocations: 9.328 kB / 1.598 GB, free: 80 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.4332, allocations: 0 / 1.598 GB, free: 80 MB / 0.8073 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 8.005e-05/0.4332, allocations: 114.4 kB / 1.599 GB, free: 79.88 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.4333, allocations: 7.906 kB / 1.599 GB, free: 79.87 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.494e-05/0.4333, allocations: 11.84 kB / 1.599 GB, free: 79.86 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4333, allocations: 0 / 1.599 GB, free: 79.86 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.4333, allocations: 1.406 kB / 1.599 GB, free: 79.86 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.4334, allocations: 3.953 kB / 1.599 GB, free: 79.85 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.4335, allocations: 173.6 kB / 1.599 GB, free: 79.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4335, allocations: 4.75 kB / 1.599 GB, free: 79.63 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.4337, allocations: 12.77 kB / 1.599 GB, free: 79.62 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4337, allocations: 4 kB / 1.599 GB, free: 79.61 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.4337, allocations: 0.625 kB / 1.599 GB, free: 79.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.4337, allocations: 0.9375 kB / 1.599 GB, free: 79.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4337, allocations: 0 / 1.599 GB, free: 79.61 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/0.4341, allocations: 180.5 kB / 1.599 GB, free: 79.43 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/0.4341, allocations: 77.61 kB / 1.599 GB, free: 79.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.4342, allocations: 0.625 kB / 1.599 GB, free: 79.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.4343, allocations: 13.17 kB / 1.599 GB, free: 79.32 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.4344, allocations: 7.984 kB / 1.599 GB, free: 79.31 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.4344, allocations: 5.75 kB / 1.599 GB, free: 79.31 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.002e-05/0.4344, allocations: 79.28 kB / 1.599 GB, free: 79.23 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.61e-07/0.4344, allocations: 0 / 1.599 GB, free: 79.23 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002764/0.4347, allocations: 8 kB / 1.599 GB, free: 79.22 MB / 0.8073 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.0001224/0.4349, allocations: 116.3 kB / 1.599 GB, free: 79.1 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003555/0.4352, allocations: 46.62 kB / 1.599 GB, free: 79.06 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.4352, allocations: 1.031 kB / 1.599 GB, free: 79.06 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.4354, allocations: 35.31 kB / 1.599 GB, free: 79.03 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.4357, allocations: 3.953 kB / 1.599 GB, free: 79.02 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.4361, allocations: 128.6 kB / 1.599 GB, free: 78.87 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.4362, allocations: 0.6856 MB / 1.6 GB, free: 78.16 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.444e-05/0.4363, allocations: 0.5625 kB / 1.6 GB, free: 78.16 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.4364, allocations: 12 kB / 1.6 GB, free: 78.15 MB / 0.8073 GB Notification: Performance of SimCode: time 1.783e-06/0.4364, allocations: 1.594 kB / 1.6 GB, free: 78.15 MB / 0.8073 GB Notification: Performance of Templates: time 0.003067/0.4394, allocations: 0.5103 MB / 1.601 GB, free: 77.69 MB / 0.8073 GB