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 5.07/5.07, allocations: 0.5623 GB / 0.5775 GB, free: 3.332 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.002472/0.002472, allocations: 354.4 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.321/4.321, allocations: 410.7 MB / 1.113 GB, free: 5.992 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.001839/0.001839, allocations: 172.1 kB / 1.226 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005189/0.0005193, allocations: 16 kB / 1.349 GB, free: 8.215 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7245/0.7251, 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.0007511/0.7259, allocations: 341.7 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0002373/0.7262, allocations: 59.83 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.227e-05/0.7262, allocations: 0.75 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.077e-05/0.7262, allocations: 0 / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.895e-06/0.7262, allocations: 1.625 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.7265, allocations: 19.92 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.413e-05/0.7265, allocations: 7.984 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.116e-05/0.7266, allocations: 0 / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.007e-05/0.7266, allocations: 13.56 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.719e-05/0.7267, allocations: 7.984 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.7267, allocations: 0 / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.959e-05/0.7268, allocations: 19.92 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.7268, allocations: 4.953 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.055e-05/0.7268, allocations: 29.7 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 5.96e-05/0.7269, allocations: 7.984 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.7269, allocations: 1.844 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7269, allocations: 0 / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.7269, allocations: 0 / 1.462 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.0003131/0.7273, allocations: 324.5 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.7273, allocations: 11.62 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.7273, allocations: 0 / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.923e-05/0.7274, allocations: 165.8 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.7275, allocations: 4 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.7275, allocations: 0 / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.7276, allocations: 74.72 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.7277, allocations: 0 / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.7277, allocations: 7.938 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.7277, allocations: 0.7812 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.727e-05/0.7278, allocations: 14.88 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.7279, allocations: 183.2 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.605e-05/0.728, allocations: 99.31 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.284e-05/0.7281, allocations: 33.45 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000224/0.7283, allocations: 90.28 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.7284, allocations: 35.75 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 1.874e-06/0.7284, allocations: 0.75 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5): time 0.0002327/0.7286, allocations: 75.8 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.7287, allocations: 156.1 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.358e-05/0.7287, allocations: 93.84 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.7287, allocations: 29.7 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.825e-05/0.7287, allocations: 86.98 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.7288, allocations: 23.67 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.7288, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.093e-05/0.7289, allocations: 314.8 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.36e-05/0.7289, allocations: 0 / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.06e-05/0.729, allocations: 41.03 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.168e-05/0.729, allocations: 13.78 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.729, allocations: 1.062 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001293/0.7292, allocations: 70.22 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.7292, allocations: 9.062 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.7292, allocations: 0 / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.7292, allocations: 0 / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.7294, allocations: 11.88 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.7294, allocations: 4 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.157e-05/0.7294, allocations: 0 / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.7295, allocations: 4 kB / 1.464 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 6.781e-05/0.7295, allocations: 121.8 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.88e-05/0.7296, allocations: 3.953 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.7298, allocations: 108.5 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.7298, allocations: 0 / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.7299, allocations: 4 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.703e-05/0.7299, allocations: 81.05 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.7299, allocations: 4 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.394e-05/0.73, allocations: 0.5625 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.73, allocations: 17.33 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002384/0.7303, allocations: 464.5 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002267/0.7305, allocations: 0.5469 MB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.481e-05/0.7306, allocations: 23.92 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.758e-05/0.7306, allocations: 76.16 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of Backend: time 8.11e-07/0.7306, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008478/0.7315, allocations: 103.6 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0003441/0.7318, allocations: 0.5597 MB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.003242/0.7351, allocations: 0.5445 MB / 1.466 GB, free: 278.9 MB / 0.8542 GB