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.001129/0.001129, allocations: 106.3 kB / 16.27 MB, free: 5.969 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.001208/0.001208, allocations: 191.4 kB / 17.2 MB, free: 5.594 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.458/1.458, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.936/1.936, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001438/0.001438, allocations: 70.88 kB / 0.6722 GB, free: 6.586 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2316, allocations: 114.5 MB / 0.784 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001809/0.2335, allocations: 0.6008 MB / 0.7846 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002528/0.2337, allocations: 63.78 kB / 0.7847 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.943e-05/0.2338, allocations: 0 / 0.7847 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.163e-05/0.2338, allocations: 0 / 0.7847 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.674e-06/0.2338, allocations: 7.875 kB / 0.7847 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.234, allocations: 15.98 kB / 0.7847 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.864e-05/0.2341, allocations: 19.97 kB / 0.7847 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.401e-05/0.2342, allocations: 0 / 0.7847 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.172e-05/0.2342, allocations: 7.938 kB / 0.7847 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.105e-05/0.2342, allocations: 15.98 kB / 0.7847 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.2343, allocations: 0 / 0.7847 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.401e-05/0.2343, allocations: 11.98 kB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.2344, allocations: 4 kB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.2344, allocations: 15.86 kB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.021e-05/0.2345, allocations: 11.98 kB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.2345, allocations: 11.92 kB / 0.7848 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2345, allocations: 0 / 0.7848 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.2345, allocations: 0 / 0.7848 GB, free: 3.125 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.0003778/0.2349, allocations: 323.6 kB / 0.7851 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.2349, allocations: 8.031 kB / 0.7851 GB, free: 2.75 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.235, allocations: 4.938 kB / 0.7851 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.349e-05/0.2351, allocations: 164.4 kB / 0.7853 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.2351, allocations: 4.375 kB / 0.7853 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.2351, allocations: 384 / 0.7853 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.2352, allocations: 74.47 kB / 0.7854 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2353, allocations: 4.188 kB / 0.7854 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.2353, allocations: 7.938 kB / 0.7854 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2353, allocations: 0 / 0.7854 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.614e-05/0.2353, allocations: 15.94 kB / 0.7854 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.2355, allocations: 181.5 kB / 0.7856 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.2356, allocations: 97.05 kB / 0.7856 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.968e-05/0.2357, allocations: 32.34 kB / 0.7857 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001833/0.2359, allocations: 89.09 kB / 0.7858 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.2359, allocations: 46.48 kB / 0.7858 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.133e-06/0.2359, allocations: 0 / 0.7858 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.0001997/0.2361, allocations: 73.41 kB / 0.7859 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.087e-05/0.2362, allocations: 162.8 kB / 0.786 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.204e-05/0.2363, allocations: 89.86 kB / 0.7861 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.2363, allocations: 25.7 kB / 0.7861 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.59e-05/0.2363, allocations: 80.14 kB / 0.7862 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/0.2363, allocations: 19.8 kB / 0.7862 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.2364, allocations: 13.72 kB / 0.7862 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.2365, allocations: 314.8 kB / 0.7865 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.116e-05/0.2365, allocations: 7.984 kB / 0.7866 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.35e-05/0.2366, allocations: 40.23 kB / 0.7866 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.022e-05/0.2367, allocations: 52.22 kB / 0.7866 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2367, allocations: 7.938 kB / 0.7867 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001019/0.2368, allocations: 57.62 kB / 0.7867 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.2368, allocations: 4 kB / 0.7867 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.2368, allocations: 3.938 kB / 0.7867 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.2368, allocations: 11.88 kB / 0.7867 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.154e-05/0.2369, allocations: 11.98 kB / 0.7867 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2369, allocations: 0 / 0.7867 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.06e-05/0.2369, allocations: 4 kB / 0.7867 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.237, allocations: 4.156 kB / 0.7867 GB, free: 0.7578 MB / 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 7.975e-05/0.237, allocations: 113.8 kB / 0.7869 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.2371, allocations: 4 kB / 0.7869 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002028/0.2373, allocations: 120.5 kB / 0.787 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2373, allocations: 0 / 0.787 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2373, allocations: 4 kB / 0.787 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2373, allocations: 0 / 0.787 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.2374, allocations: 165.6 kB / 0.7871 GB, free: 300 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2375, allocations: 4 kB / 0.7871 GB, free: 296 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.711e-05/0.2375, allocations: 12 kB / 0.7872 GB, free: 284 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2375, allocations: 0 / 0.7872 GB, free: 284 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.2375, allocations: 11.94 kB / 0.7872 GB, free: 272 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.2375, allocations: 0 / 0.7872 GB, free: 272 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.2376, allocations: 8.156 kB / 0.7872 GB, free: 264 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.2377, allocations: 116.5 kB / 0.7873 GB, free: 116 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.2378, allocations: 81.02 kB / 0.7874 GB, free: 16 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.2378, allocations: 11.94 kB / 0.7874 GB, free: 4 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.36e-05/0.5806, allocations: 4.828 kB / 0.7874 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.5807, allocations: 7.516 kB / 0.7874 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.5807, allocations: 4.281 kB / 0.7874 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.005e-05/0.5807, allocations: 75.28 kB / 0.7875 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.5807, allocations: 0.6875 kB / 0.7875 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003535/0.5811, allocations: 13.5 kB / 0.7875 GB, free: 48.45 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.000184/0.5813, allocations: 107.8 kB / 0.7876 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001498/0.5814, allocations: 36.19 kB / 0.7876 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5814, allocations: 2.281 kB / 0.7876 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.132e-05/0.5815, allocations: 24.95 kB / 0.7876 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.5817, allocations: 12.09 kB / 0.7876 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/0.5819, allocations: 165.9 kB / 0.7878 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.5821, allocations: 0.6811 MB / 0.7885 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.436e-05/0.5821, allocations: 21.3 kB / 0.7885 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of SimCode: time 3.01e-07/0.5821, allocations: 2.531 kB / 0.7885 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of Templates: time 0.002127/0.5842, allocations: 0.6865 MB / 0.7892 GB, free: 47.5 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1)