Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.Round.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.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.Round") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.665/2.665, allocations: 287.9 MB / 302.9 MB, free: 8.262 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002049/0.002049, allocations: 176.2 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.123/2.123, allocations: 205.4 MB / 0.6301 GB, free: 10.44 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 88.61 kB / 0.7434 GB, free: 6.457 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004722/0.0004724, allocations: 15.45 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1542, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.0005891/0.1548, allocations: 337.8 kB / 0.9791 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001937/0.155, allocations: 53.56 kB / 0.9791 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.211e-05/0.155, allocations: 0 / 0.9791 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.265e-05/0.1551, allocations: 7.875 kB / 0.9791 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.985e-06/0.1551, allocations: 0 / 0.9791 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.1553, allocations: 19.92 kB / 0.9792 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.517e-05/0.1553, allocations: 7.984 kB / 0.9792 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.881e-05/0.1554, allocations: 4 kB / 0.9792 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.613e-05/0.1554, allocations: 7.984 kB / 0.9792 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.546e-05/0.1554, allocations: 7.938 kB / 0.9792 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.1555, allocations: 4 kB / 0.9792 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.361e-05/0.1555, allocations: 11.98 kB / 0.9792 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.009e-05/0.1556, allocations: 7.984 kB / 0.9792 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.704e-05/0.1556, allocations: 25.7 kB / 0.9792 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.195e-05/0.1556, allocations: 7.984 kB / 0.9792 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.879e-06/0.1557, allocations: 0 / 0.9792 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.805e-06/0.1557, allocations: 0 / 0.9792 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.978e-06/0.1557, allocations: 0 / 0.9792 GB, free: 27.7 MB / 0.6198 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.0002489/0.1559, allocations: 327.4 kB / 0.9796 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.156, allocations: 12.02 kB / 0.9796 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.156, allocations: 4 kB / 0.9796 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.486e-05/0.1561, allocations: 167 kB / 0.9797 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.641e-06/0.1561, allocations: 7.938 kB / 0.9797 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.1561, allocations: 0 / 0.9797 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.1562, allocations: 69.98 kB / 0.9798 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.1563, allocations: 4 kB / 0.9798 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.04e-06/0.1563, allocations: 0 / 0.9798 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.723e-06/0.1563, allocations: 4 kB / 0.9798 GB, free: 27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.881e-05/0.1563, allocations: 15.86 kB / 0.9798 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001341/0.1565, allocations: 189.4 kB / 0.98 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.592e-05/0.1566, allocations: 101.1 kB / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001531/0.1567, allocations: 77.11 kB / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.1568, allocations: 50.55 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 2.13e-06/0.1568, allocations: 0 / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0001923/0.157, allocations: 65.56 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.157, allocations: 158.2 kB / 0.9804 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.134e-05/0.1571, allocations: 90.48 kB / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.1571, allocations: 41.58 kB / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.395e-05/0.1571, allocations: 80.14 kB / 0.9806 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.1572, allocations: 15.78 kB / 0.9807 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-06/0.1572, allocations: 4 kB / 0.9807 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.804e-05/0.1572, allocations: 314.8 kB / 0.981 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.96e-05/0.1573, allocations: 0 / 0.981 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.297e-05/0.1573, allocations: 40.28 kB / 0.981 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.579e-05/0.1574, allocations: 8 kB / 0.981 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1574, allocations: 3.938 kB / 0.981 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001186/0.1575, allocations: 65.52 kB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1575, allocations: 8 kB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.343e-06/0.1575, allocations: 4.141 kB / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1576, allocations: 4 kB / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.936e-05/0.1577, allocations: 12 kB / 0.9811 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.005e-06/0.1577, allocations: 4 kB / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.553e-05/0.1577, allocations: 0 / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.1577, allocations: 4 kB / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.621e-05/0.1578, allocations: 113.8 kB / 0.9812 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.1578, allocations: 19.84 kB / 0.9812 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.158, allocations: 100.7 kB / 0.9813 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.1581, allocations: 7.984 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.791e-06/0.1581, allocations: 0 / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.229e-06/0.1581, allocations: 0 / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.1582, allocations: 165.7 kB / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.1582, allocations: 160 / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.244e-05/0.1583, allocations: 16 kB / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.076e-06/0.1583, allocations: 11.94 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.162e-06/0.1583, allocations: 3.938 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1584, allocations: 4 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.201e-06/0.1584, allocations: 0 / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.1585, allocations: 171.2 kB / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.155e-05/0.1586, allocations: 85.09 kB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.1586, allocations: 0 / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.041e-05/0.1586, allocations: 4 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.115e-05/0.1587, allocations: 15.95 kB / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.552e-06/0.1587, allocations: 7.984 kB / 0.9818 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.433e-05/0.1587, allocations: 79.22 kB / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.5e-07/0.1587, allocations: 0 / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002767/0.159, allocations: 4 kB / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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.0001324/0.1591, allocations: 107.2 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001094/0.1593, allocations: 36.05 kB / 0.982 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.127e-06/0.1593, allocations: 0 / 0.982 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.401e-05/0.1593, allocations: 28.02 kB / 0.982 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.1595, allocations: 11.88 kB / 0.9821 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002472/0.1597, allocations: 150.6 kB / 0.9822 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.1599, allocations: 0.6848 MB / 0.9829 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.285e-05/0.1599, allocations: 8 kB / 0.9829 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.71e-05/0.16, allocations: 11.44 kB / 0.9829 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of SimCode: time 1.302e-06/0.16, allocations: 4 kB / 0.9829 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.002706/0.1627, allocations: 0.5229 MB / 0.9834 GB, free: 22.89 MB / 0.6198 GB