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.001087/0.001087, allocations: 109.1 kB / 16.36 MB, free: 5.996 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.001032/0.001032, allocations: 190.6 kB / 17.3 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.1 MB / 223.2 MB, free: 12.12 MB / 190.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.768/1.768, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.001387/0.001387, allocations: 63.91 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2256, allocations: 114.5 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001892/0.2276, allocations: 0.5969 MB / 0.7854 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002613/0.2279, allocations: 67.77 kB / 0.7854 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.63e-05/0.2279, allocations: 0 / 0.7854 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.2279, allocations: 3.938 kB / 0.7854 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.154e-06/0.2279, allocations: 0 / 0.7854 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.2282, allocations: 23.91 kB / 0.7855 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.699e-05/0.2282, allocations: 8 kB / 0.7855 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.962e-05/0.2283, allocations: 11.98 kB / 0.7855 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.972e-05/0.2283, allocations: 7.938 kB / 0.7855 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.977e-05/0.2284, allocations: 7.984 kB / 0.7855 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.2284, allocations: 0 / 0.7855 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-05/0.2285, allocations: 15.98 kB / 0.7855 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.2285, allocations: 0 / 0.7855 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.648e-05/0.2285, allocations: 15.92 kB / 0.7855 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.459e-05/0.2286, allocations: 15.97 kB / 0.7855 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2286, allocations: 0 / 0.7855 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2286, allocations: 0 / 0.7855 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.2286, allocations: 0 / 0.7855 GB, free: 2.406 MB / 0.6544 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.0003718/0.229, allocations: 327.6 kB / 0.7859 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.229, allocations: 12.03 kB / 0.7859 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.687e-05/0.2291, allocations: 4.875 kB / 0.7859 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.2292, allocations: 164.4 kB / 0.786 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-06/0.2292, allocations: 384 / 0.786 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.2293, allocations: 8.375 kB / 0.786 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.2294, allocations: 74.48 kB / 0.7861 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.2294, allocations: 4.172 kB / 0.7861 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.2295, allocations: 3.938 kB / 0.7861 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2295, allocations: 0 / 0.7861 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.61e-05/0.2295, allocations: 15.92 kB / 0.7861 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.2297, allocations: 181.1 kB / 0.7863 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.2299, allocations: 105.2 kB / 0.7864 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.447e-05/0.2299, allocations: 36.3 kB / 0.7864 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002094/0.2301, allocations: 85.09 kB / 0.7865 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.2302, allocations: 38.5 kB / 0.7866 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.2302, allocations: 0 / 0.7866 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.0001881/0.2304, allocations: 81.98 kB / 0.7866 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.863e-05/0.2305, allocations: 162.2 kB / 0.7868 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.492e-05/0.2305, allocations: 89.86 kB / 0.7869 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.2305, allocations: 29.7 kB / 0.7869 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.602e-05/0.2306, allocations: 80.14 kB / 0.787 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.2306, allocations: 15.8 kB / 0.787 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.2306, allocations: 21.7 kB / 0.787 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.2307, allocations: 314.9 kB / 0.7873 GB, free: 260 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.988e-05/0.2308, allocations: 4 kB / 0.7873 GB, free: 256 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.01e-05/0.2308, allocations: 36.28 kB / 0.7874 GB, free: 204 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.454e-05/0.2309, allocations: 48.23 kB / 0.7874 GB, free: 140 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.2309, allocations: 0 / 0.7874 GB, free: 140 kB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.815e-05/0.231, allocations: 65.56 kB / 0.7875 GB, free: 68 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.231, allocations: 11.98 kB / 0.7875 GB, free: 56 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.231, allocations: 0 / 0.7875 GB, free: 56 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.231, allocations: 3.938 kB / 0.7875 GB, free: 52 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.629e-05/0.2311, allocations: 12.12 kB / 0.7875 GB, free: 40 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.2311, allocations: 8.156 kB / 0.7875 GB, free: 32 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.987e-05/0.2312, allocations: 0 / 0.7875 GB, free: 32 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.2312, allocations: 4 kB / 0.7875 GB, free: 28 kB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.3391/0.5703, allocations: 113.5 kB / 0.7876 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.5703, allocations: 6.188 kB / 0.7876 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.5706, allocations: 107.6 kB / 0.7877 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.5706, allocations: 2 kB / 0.7877 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.5706, allocations: 4 kB / 0.7877 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.5706, allocations: 1.578 kB / 0.7877 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.5707, allocations: 162.6 kB / 0.7879 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.5708, allocations: 3.781 kB / 0.7879 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.868e-05/0.5709, allocations: 20.47 kB / 0.7879 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.5709, allocations: 4.438 kB / 0.7879 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.5709, allocations: 0 / 0.7879 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.5709, allocations: 3.469 kB / 0.7879 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.5709, allocations: 7.875 kB / 0.7879 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.571, allocations: 122.8 kB / 0.788 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.571, allocations: 79.8 kB / 0.7881 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.5711, allocations: 5.5 kB / 0.7881 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.625e-05/0.5711, allocations: 3.469 kB / 0.7881 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.5712, allocations: 14.77 kB / 0.7881 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.5712, allocations: 7.688 kB / 0.7881 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.523e-05/0.5712, allocations: 75.28 kB / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5712, allocations: 0 / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002774/0.5715, allocations: 5.312 kB / 0.7882 GB, free: 48.57 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001703/0.5716, allocations: 109.6 kB / 0.7883 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001185/0.5718, allocations: 38.83 kB / 0.7884 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5718, allocations: 0 / 0.7884 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.168e-05/0.5718, allocations: 23.97 kB / 0.7884 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.572, allocations: 8.141 kB / 0.7884 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002309/0.5723, allocations: 145.8 kB / 0.7885 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.5724, allocations: 0.6799 MB / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.608e-05/0.5724, allocations: 11.94 kB / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.427e-05/0.5725, allocations: 16.03 kB / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of SimCode: time 3.01e-07/0.5725, allocations: 0 / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.002511/0.575, allocations: 0.5587 MB / 0.7898 GB, free: 47.66 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.makefile (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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1)