Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.661/1.661, allocations: 288.4 MB / 303.3 MB, free: 8.145 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.0009661/0.0009661, allocations: 182.9 kB / 372 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0007586/0.0007586, allocations: 94.33 kB / 0.744 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003695, allocations: 14.41 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2619, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.0008571/0.2628, allocations: 323.8 kB / 0.98 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000272/0.2631, allocations: 59.84 kB / 0.98 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.799e-05/0.2632, allocations: 0 / 0.98 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.707e-05/0.2632, allocations: 0 / 0.98 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.358e-06/0.2632, allocations: 0 / 0.98 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.2635, allocations: 23.97 kB / 0.9801 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.012e-05/0.2635, allocations: 7.984 kB / 0.9801 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.435e-05/0.2636, allocations: 4 kB / 0.9801 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.273e-05/0.2636, allocations: 7.938 kB / 0.9801 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.637e-05/0.2637, allocations: 11.97 kB / 0.9801 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.2637, allocations: 4 kB / 0.9801 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.793e-05/0.2638, allocations: 12 kB / 0.9801 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.019e-05/0.2638, allocations: 7.984 kB / 0.9801 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.497e-05/0.2639, allocations: 25.7 kB / 0.9801 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.494e-05/0.264, allocations: 7.984 kB / 0.9801 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.264, allocations: 0 / 0.9801 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.898e-06/0.264, allocations: 7.875 kB / 0.9801 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.264, allocations: 3.938 kB / 0.9801 GB, free: 27.06 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.0003419/0.2644, allocations: 323.4 kB / 0.9805 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.2644, allocations: 12.02 kB / 0.9805 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.558e-05/0.2645, allocations: 34.56 kB / 0.9805 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/0.2645, allocations: 4 kB / 0.9805 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.215e-05/0.2646, allocations: 163.3 kB / 0.9807 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.2646, allocations: 0 / 0.9807 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.2646, allocations: 0 / 0.9807 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.2648, allocations: 77.91 kB / 0.9807 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2648, allocations: 8 kB / 0.9807 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.2648, allocations: 0 / 0.9807 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2648, allocations: 0 / 0.9807 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.497e-05/0.2649, allocations: 11.94 kB / 0.9808 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.265, allocations: 197 kB / 0.9809 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.444e-05/0.2651, allocations: 101 kB / 0.981 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.02e-05/0.2652, allocations: 32.42 kB / 0.9811 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001889/0.2654, allocations: 85.09 kB / 0.9811 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.2654, allocations: 46.48 kB / 0.9812 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.2654, allocations: 0 / 0.9812 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0002107/0.2656, allocations: 69.56 kB / 0.9813 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.2657, allocations: 154.8 kB / 0.9814 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.812e-05/0.2657, allocations: 93.86 kB / 0.9815 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.2657, allocations: 25.7 kB / 0.9815 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.205e-05/0.2658, allocations: 80.14 kB / 0.9816 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.2658, allocations: 19.8 kB / 0.9816 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.2658, allocations: 0 / 0.9816 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.159e-05/0.2659, allocations: 310.8 kB / 0.9819 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.132e-05/0.2659, allocations: 8 kB / 0.9819 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.19e-05/0.2659, allocations: 40.22 kB / 0.982 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.708e-05/0.266, allocations: 12 kB / 0.982 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.266, allocations: 0 / 0.982 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001143/0.2661, allocations: 65.52 kB / 0.982 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.2662, allocations: 12.14 kB / 0.982 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.2662, allocations: 0 / 0.982 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.2662, allocations: 4 kB / 0.982 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.77e-05/0.2663, allocations: 11.94 kB / 0.9821 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2663, allocations: 0 / 0.9821 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.119e-05/0.2663, allocations: 4 kB / 0.9821 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.2664, allocations: 0 / 0.9821 GB, free: 24.73 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.28e-05/0.2664, allocations: 121.8 kB / 0.9822 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.2665, allocations: 11.86 kB / 0.9822 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.2667, allocations: 108.5 kB / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.2667, allocations: 0 / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.2667, allocations: 4 kB / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.2668, allocations: 0 / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.2669, allocations: 165.8 kB / 0.9825 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2669, allocations: 4 kB / 0.9825 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.752e-05/0.267, allocations: 20.11 kB / 0.9825 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.267, allocations: 3.953 kB / 0.9825 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.267, allocations: 8 kB / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.267, allocations: 0 / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.267, allocations: 7.938 kB / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.2672, allocations: 120.4 kB / 0.9826 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/0.2672, allocations: 85.08 kB / 0.9827 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.2672, allocations: 11.95 kB / 0.9827 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.293e-05/0.2673, allocations: 0 / 0.9827 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-05/0.2673, allocations: 4 kB / 0.9827 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.2673, allocations: 4 kB / 0.9827 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.443e-05/0.2674, allocations: 83.27 kB / 0.9828 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2674, allocations: 0 / 0.9828 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003227/0.2677, allocations: 12 kB / 0.9828 GB, free: 23.86 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.0003771/0.2681, allocations: 0.6664 MB / 0.9835 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001139/0.2682, allocations: 35.86 kB / 0.9835 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2682, allocations: 0 / 0.9835 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.259e-05/0.2683, allocations: 24.5 kB / 0.9835 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.2685, allocations: 8.062 kB / 0.9835 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004569/0.269, allocations: 184 kB / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.2691, allocations: 0.6886 MB / 0.9844 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.701e-05/0.2692, allocations: 8 kB / 0.9844 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/0.2692, allocations: 19.42 kB / 0.9844 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of SimCode: time 3e-07/0.2692, allocations: 0 / 0.9844 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.2841, allocations: 1.215 MB / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/0.2844, allocations: 193.6 kB / 0.9858 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/1.834, allocations: 0 / 0.9858 GB, free: 20.8 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_Round.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1)