Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 101.5 kB / 15.06 MB, free: 1.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.4 MB / 222.1 MB, free: 5.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.77/1.77, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000559/0.0005594, allocations: 15.94 kB / 0.6736 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2983, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.0006963/0.299, allocations: 329.8 kB / 0.7874 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001905/0.2992, allocations: 61.48 kB / 0.7875 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.249e-05/0.2993, allocations: 0 / 0.7875 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.035e-06/0.2993, allocations: 0 / 0.7875 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.461e-06/0.2993, allocations: 0 / 0.7875 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.2995, allocations: 19.92 kB / 0.7875 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.92e-05/0.2995, allocations: 7.984 kB / 0.7875 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.2996, allocations: 7.922 kB / 0.7875 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.887e-05/0.2996, allocations: 8 kB / 0.7875 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.704e-05/0.2997, allocations: 8 kB / 0.7875 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.155e-06/0.2997, allocations: 0 / 0.7875 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.535e-05/0.2997, allocations: 15.98 kB / 0.7876 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.244e-06/0.2998, allocations: 0 / 0.7876 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.691e-05/0.2998, allocations: 29.64 kB / 0.7876 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.194e-05/0.2999, allocations: 11.97 kB / 0.7876 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.2999, allocations: 0 / 0.7876 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2999, allocations: 0 / 0.7876 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.2999, allocations: 0 / 0.7876 GB, free: 11.48 MB / 0.6075 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.0003636/0.3003, allocations: 330.1 kB / 0.7879 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.3003, allocations: 8.031 kB / 0.7879 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.3003, allocations: 8 kB / 0.7879 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.3004, allocations: 167 kB / 0.7881 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.3004, allocations: 0 / 0.7881 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-06/0.3005, allocations: 0 / 0.7881 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.3006, allocations: 69.92 kB / 0.7882 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.3006, allocations: 4 kB / 0.7882 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.3006, allocations: 4 kB / 0.7882 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3006, allocations: 0 / 0.7882 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.433e-05/0.3007, allocations: 19.92 kB / 0.7882 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001842/0.3009, allocations: 189.3 kB / 0.7884 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.915e-05/0.3009, allocations: 101 kB / 0.7885 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001744/0.3011, allocations: 89.09 kB / 0.7885 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.3012, allocations: 34.56 kB / 0.7886 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.3012, allocations: 0 / 0.7886 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0001685/0.3013, allocations: 73.5 kB / 0.7887 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.732e-05/0.3014, allocations: 158.2 kB / 0.7888 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.322e-05/0.3015, allocations: 94.47 kB / 0.7889 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.3015, allocations: 25.7 kB / 0.7889 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.537e-05/0.3015, allocations: 84.14 kB / 0.789 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.3016, allocations: 11.81 kB / 0.789 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.3016, allocations: 4 kB / 0.789 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3017, allocations: 310.8 kB / 0.7893 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.506e-05/0.3018, allocations: 11.98 kB / 0.7893 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.096e-05/0.3018, allocations: 28.3 kB / 0.7893 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.906e-05/0.3018, allocations: 15.94 kB / 0.7894 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3019, allocations: 0 / 0.7894 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001062/0.302, allocations: 65.56 kB / 0.7894 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.302, allocations: 8 kB / 0.7894 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.302, allocations: 0 / 0.7894 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.302, allocations: 8.156 kB / 0.7894 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.497e-05/0.3021, allocations: 11.94 kB / 0.7895 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3021, allocations: 3.984 kB / 0.7895 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.812e-05/0.3022, allocations: 0 / 0.7895 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.3022, allocations: 7.984 kB / 0.7895 GB, free: 9.242 MB / 0.6075 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 7.639e-05/0.3023, allocations: 113.8 kB / 0.7896 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.3023, allocations: 7.859 kB / 0.7896 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001975/0.3025, allocations: 108.7 kB / 0.7897 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3025, allocations: 4 kB / 0.7897 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3025, allocations: 0 / 0.7897 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.3025, allocations: 11.92 kB / 0.7897 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.3027, allocations: 165.6 kB / 0.7899 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3027, allocations: 0 / 0.7899 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.931e-05/0.3028, allocations: 20.14 kB / 0.7899 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-06/0.3028, allocations: 4 kB / 0.7899 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.3028, allocations: 7.953 kB / 0.7899 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.3028, allocations: 4 kB / 0.7899 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3028, allocations: 0 / 0.7899 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.303, allocations: 175.2 kB / 0.7901 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.303, allocations: 81.11 kB / 0.7901 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.3031, allocations: 4 kB / 0.7901 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.986e-05/0.3031, allocations: 4 kB / 0.7901 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.3031, allocations: 19.88 kB / 0.7902 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.3032, allocations: 4 kB / 0.7902 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.305e-05/0.3032, allocations: 75.28 kB / 0.7902 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3032, allocations: 0 / 0.7902 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002186/0.3034, allocations: 12 kB / 0.7902 GB, free: 8.293 MB / 0.6075 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.000191/0.3036, allocations: 99.25 kB / 0.7903 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001392/0.3038, allocations: 36.17 kB / 0.7904 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3038, allocations: 0 / 0.7904 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.092e-05/0.3038, allocations: 27.92 kB / 0.7904 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000112/0.3039, allocations: 15.81 kB / 0.7904 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003736/0.3043, allocations: 150.6 kB / 0.7906 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.3047, allocations: 0.6848 MB / 0.7912 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.569e-05/0.3048, allocations: 8 kB / 0.7912 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/0.3048, allocations: 11.44 kB / 0.7912 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.3048, allocations: 4 kB / 0.7913 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of Templates: time 0.003255/0.3081, allocations: 0.5246 MB / 0.7918 GB, free: 6.664 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) Environment - environmentSimulation: