Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.554/2.554, allocations: 287.5 MB / 302.4 MB, free: 8.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001397/0.001397, allocations: 181.3 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.275/2.275, allocations: 205.4 MB / 0.6297 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001448/0.001448, allocations: 91.27 kB / 0.743 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007236/0.0007238, allocations: 14.16 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2422, allocations: 115.3 MB / 0.9784 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.0007492/0.243, allocations: 331.4 kB / 0.9787 GB, free: 28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002395/0.2432, allocations: 59.88 kB / 0.9787 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.711e-05/0.2433, allocations: 0 / 0.9787 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.2433, allocations: 3.938 kB / 0.9787 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.694e-06/0.2433, allocations: 0 / 0.9787 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.2435, allocations: 19.98 kB / 0.9788 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.398e-05/0.2436, allocations: 4 kB / 0.9788 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.404e-05/0.2437, allocations: 4 kB / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.911e-05/0.2437, allocations: 7.984 kB / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.972e-05/0.2438, allocations: 15.92 kB / 0.9788 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.2438, allocations: 0 / 0.9788 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.767e-05/0.2439, allocations: 11.98 kB / 0.9788 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.2439, allocations: 4 kB / 0.9788 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.859e-05/0.2439, allocations: 25.7 kB / 0.9788 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.406e-05/0.244, allocations: 15.97 kB / 0.9789 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.244, allocations: 4 kB / 0.9789 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.295e-06/0.244, allocations: 0 / 0.9789 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.244, allocations: 4 kB / 0.9789 GB, free: 27.82 MB / 0.6198 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.0003136/0.2444, allocations: 315.4 kB / 0.9792 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.2444, allocations: 12.02 kB / 0.9792 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/0.2444, allocations: 8 kB / 0.9792 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.129e-05/0.2445, allocations: 170.9 kB / 0.9793 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.2445, allocations: 4 kB / 0.9793 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.2446, allocations: 7.984 kB / 0.9794 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.2447, allocations: 69.98 kB / 0.9794 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2447, allocations: 0 / 0.9794 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.2447, allocations: 0 / 0.9794 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.2447, allocations: 0 / 0.9794 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.604e-05/0.2448, allocations: 19.88 kB / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001922/0.245, allocations: 189.3 kB / 0.9796 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.459e-05/0.2451, allocations: 97.06 kB / 0.9797 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.613e-05/0.2452, allocations: 40.36 kB / 0.9798 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002025/0.2454, allocations: 85.09 kB / 0.9798 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.2454, allocations: 38.56 kB / 0.9799 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.833e-06/0.2454, allocations: 0 / 0.9799 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0002586/0.2457, allocations: 74.03 kB / 0.9799 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.2458, allocations: 166.1 kB / 0.9801 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.192e-05/0.2458, allocations: 89.86 kB / 0.9802 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.2458, allocations: 25.7 kB / 0.9802 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.328e-05/0.2458, allocations: 80.14 kB / 0.9803 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.2459, allocations: 11.81 kB / 0.9803 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.2459, allocations: 4 kB / 0.9803 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.567e-05/0.246, allocations: 310.9 kB / 0.9806 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.516e-05/0.246, allocations: 11.98 kB / 0.9806 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.94e-05/0.246, allocations: 32.3 kB / 0.9806 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.116e-05/0.2461, allocations: 11.94 kB / 0.9807 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2461, allocations: 3.953 kB / 0.9807 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001264/0.2462, allocations: 65.61 kB / 0.9807 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.2463, allocations: 4 kB / 0.9807 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2463, allocations: 4 kB / 0.9807 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2463, allocations: 0 / 0.9807 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.2464, allocations: 15.94 kB / 0.9807 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.2465, allocations: 4 kB / 0.9807 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.326e-05/0.2465, allocations: 3.984 kB / 0.9807 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.2466, allocations: 4 kB / 0.9808 GB, free: 25.53 MB / 0.6198 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.04e-05/0.2466, allocations: 110 kB / 0.9809 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.2467, allocations: 19.84 kB / 0.9809 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.2469, allocations: 108.8 kB / 0.981 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2469, allocations: 0 / 0.981 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.2469, allocations: 4 kB / 0.981 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.247, allocations: 0 / 0.981 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.2471, allocations: 165.7 kB / 0.9811 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2471, allocations: 4 kB / 0.9811 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.2472, allocations: 23.88 kB / 0.9812 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.2472, allocations: 0 / 0.9812 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.2473, allocations: 4 kB / 0.9812 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.2473, allocations: 0 / 0.9812 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.2473, allocations: 4 kB / 0.9812 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.2474, allocations: 128.5 kB / 0.9813 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/0.2475, allocations: 77.11 kB / 0.9814 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.2475, allocations: 7.953 kB / 0.9814 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.202e-05/0.2476, allocations: 4.094 kB / 0.9814 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.2476, allocations: 19.86 kB / 0.9814 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.2476, allocations: 4 kB / 0.9814 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.788e-05/0.2476, allocations: 75.28 kB / 0.9815 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2476, allocations: 0 / 0.9815 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002834/0.2479, allocations: 8 kB / 0.9815 GB, free: 24.67 MB / 0.6198 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.0001613/0.2481, allocations: 103.2 kB / 0.9816 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00013/0.2482, allocations: 35.92 kB / 0.9816 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.2483, allocations: 0 / 0.9816 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.327e-05/0.2483, allocations: 27.92 kB / 0.9816 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.2485, allocations: 7.938 kB / 0.9817 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.2488, allocations: 162.6 kB / 0.9818 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.249, allocations: 0.677 MB / 0.9825 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.857e-05/0.249, allocations: 11.98 kB / 0.9825 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/0.2491, allocations: 15.44 kB / 0.9825 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of SimCode: time 6.51e-07/0.2491, allocations: 0 / 0.9825 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of Templates: time 0.004601/0.2537, allocations: 0.528 MB / 0.983 GB, free: 23.04 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1)