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 4.926/4.926, allocations: 0.5623 GB / 0.5769 GB, free: 3.34 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.003847/0.003847, allocations: 352 kB / 0.644 GB, free: 185.7 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.449/4.449, allocations: 410.7 MB / 1.112 GB, free: 6.027 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001763/0.001762, allocations: 194 kB / 1.225 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0008791/0.0008794, allocations: 19.98 kB / 1.348 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6104/0.6114, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.0005968/0.612, allocations: 333.8 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.000199/0.6122, allocations: 54.41 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.505e-05/0.6123, allocations: 4 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.293e-05/0.6123, allocations: 0 / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.291e-06/0.6123, allocations: 1.281 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.6125, allocations: 15.97 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 3.761e-05/0.6126, allocations: 12.47 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.888e-05/0.6126, allocations: 7.984 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 1.777e-05/0.6126, allocations: 4.562 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.68e-05/0.6127, allocations: 8.75 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.848e-06/0.6127, allocations: 0 / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.678e-05/0.6128, allocations: 16.47 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.951e-06/0.6128, allocations: 7.938 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.6128, allocations: 31.19 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 5.304e-05/0.6129, allocations: 4 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.516e-06/0.6129, allocations: 0 / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.038e-06/0.6129, allocations: 3.938 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.582e-06/0.613, allocations: 0.6562 kB / 1.461 GB, free: 283.9 MB / 0.8542 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.0002599/0.6132, allocations: 324.5 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.6133, allocations: 11.62 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.6133, allocations: 9.484 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.48e-05/0.6134, allocations: 163 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.6134, allocations: 0 / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.6134, allocations: 1.031 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.6135, allocations: 74.83 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.893e-06/0.6136, allocations: 0.9062 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.6136, allocations: 4.656 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.709e-06/0.6136, allocations: 0.625 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.189e-05/0.6137, allocations: 18.48 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001431/0.6138, allocations: 183.3 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.355e-05/0.6139, allocations: 95.67 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.272e-05/0.614, allocations: 34.64 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001783/0.6141, allocations: 89.59 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.6142, allocations: 40.62 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 2.53e-06/0.6142, allocations: 0 / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5): time 0.0002018/0.6144, allocations: 75.89 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.6145, allocations: 158.2 kB / 1.462 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.238e-05/0.6145, allocations: 89.86 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.832e-06/0.6145, allocations: 26.45 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.491e-05/0.6145, allocations: 80.86 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.6146, allocations: 27.62 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-06/0.6146, allocations: 1 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.907e-05/0.6147, allocations: 314.8 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.307e-05/0.6147, allocations: 8.906 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.199e-05/0.6147, allocations: 29.11 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.892e-05/0.6148, allocations: 22.27 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.14e-06/0.6148, allocations: 3.953 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001198/0.6149, allocations: 63.06 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.615, allocations: 4 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.794e-06/0.615, allocations: 0.6875 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.615, allocations: 4 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.06e-05/0.6151, allocations: 18.66 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.737e-06/0.6151, allocations: 0 / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.77e-05/0.6152, allocations: 5 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.6152, allocations: 0 / 1.463 GB, free: 281.6 MB / 0.8542 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.716e-05/0.6153, allocations: 119.1 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.6153, allocations: 7.953 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/0.6155, allocations: 103.9 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.334e-06/0.6155, allocations: 3.938 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.167e-06/0.6155, allocations: 4 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.541e-06/0.6156, allocations: 0.8125 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.6157, allocations: 165.6 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.98e-06/0.6157, allocations: 4.875 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.379e-05/0.6158, allocations: 15.95 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.043e-06/0.6158, allocations: 1 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.6158, allocations: 8 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.101e-06/0.6158, allocations: 3.938 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.793e-06/0.6158, allocations: 8.891 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.616, allocations: 123.1 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.11e-05/0.616, allocations: 79.95 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.616, allocations: 11.95 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.94e-05/0.6161, allocations: 4 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.6161, allocations: 9.672 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.26e-06/0.6161, allocations: 4 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.614e-05/0.6162, allocations: 75.28 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.194e-06/0.6162, allocations: 1.156 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003069/0.6165, allocations: 15.94 kB / 1.464 GB, free: 280.8 MB / 0.8542 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.0001445/0.6167, allocations: 114.9 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.6168, allocations: 31.92 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.144e-06/0.6168, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.504e-05/0.6169, allocations: 23.94 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.6171, allocations: 10.03 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/0.6173, allocations: 152.5 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.6175, allocations: 0.6858 MB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.132e-05/0.6176, allocations: 6.375 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.6176, allocations: 15.42 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.652e-06/0.6176, allocations: 0 / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.002844/0.6205, allocations: 0.5328 MB / 1.465 GB, free: 279.2 MB / 0.8542 GB