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.564/1.564, allocations: 288.4 MB / 303.6 MB, free: 8.18 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.0009595/0.0009595, allocations: 186.6 kB / 372.3 MB, free: 10.12 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.561/1.561, allocations: 205.4 MB / 0.631 GB, free: 9.879 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.000778/0.0007779, allocations: 94.86 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.000405, allocations: 14.31 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2275, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.0006536/0.2282, allocations: 335.8 kB / 0.9805 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002069/0.2284, allocations: 55.89 kB / 0.9806 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.458e-05/0.2284, allocations: 0 / 0.9806 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.053e-05/0.2285, allocations: 3.938 kB / 0.9806 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.296e-06/0.2285, allocations: 3.938 kB / 0.9806 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.2287, allocations: 15.98 kB / 0.9806 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.336e-05/0.2287, allocations: 11.98 kB / 0.9806 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.2288, allocations: 4 kB / 0.9806 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.807e-05/0.2288, allocations: 7.984 kB / 0.9806 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.526e-05/0.2289, allocations: 7.938 kB / 0.9806 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.2289, allocations: 0 / 0.9806 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.73e-05/0.229, allocations: 15.98 kB / 0.9806 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.969e-06/0.229, allocations: 3.984 kB / 0.9806 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.742e-05/0.229, allocations: 41.62 kB / 0.9807 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.634e-05/0.2291, allocations: 4 kB / 0.9807 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2291, allocations: 0 / 0.9807 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2291, allocations: 3.984 kB / 0.9807 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.2291, allocations: 3.938 kB / 0.9807 GB, free: 26.72 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.0002573/0.2294, allocations: 319.6 kB / 0.981 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.2294, allocations: 8.031 kB / 0.981 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.236e-05/0.2295, allocations: 38.73 kB / 0.981 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.098e-05/0.2295, allocations: 4.938 kB / 0.9811 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.055e-05/0.2295, allocations: 160.7 kB / 0.9812 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.2296, allocations: 384 / 0.9812 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.2296, allocations: 4.375 kB / 0.9812 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.2297, allocations: 74.48 kB / 0.9813 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.2297, allocations: 7.938 kB / 0.9813 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.2297, allocations: 3.984 kB / 0.9813 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2297, allocations: 0 / 0.9813 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.386e-05/0.2298, allocations: 15.94 kB / 0.9813 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000131/0.2299, allocations: 189 kB / 0.9815 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.069e-05/0.23, allocations: 97 kB / 0.9816 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.132e-05/0.23, allocations: 36.41 kB / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/0.2302, allocations: 85.11 kB / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.2302, allocations: 38.5 kB / 0.9817 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.2302, allocations: 0 / 0.9817 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0001784/0.2304, allocations: 81.86 kB / 0.9818 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.2304, allocations: 154.2 kB / 0.982 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.528e-05/0.2305, allocations: 89.86 kB / 0.982 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.695e-06/0.2305, allocations: 25.7 kB / 0.9821 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.037e-06/0.2305, allocations: 84.12 kB / 0.9821 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.2305, allocations: 19.8 kB / 0.9822 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.2305, allocations: 0 / 0.9822 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.817e-05/0.2306, allocations: 315.1 kB / 0.9825 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/0.2306, allocations: 7.938 kB / 0.9825 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.215e-05/0.2306, allocations: 36.28 kB / 0.9825 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.827e-05/0.2307, allocations: 52.17 kB / 0.9826 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.2307, allocations: 0 / 0.9826 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.001e-05/0.2308, allocations: 65.56 kB / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.2308, allocations: 11.98 kB / 0.9826 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.2308, allocations: 3.938 kB / 0.9826 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.2308, allocations: 4.125 kB / 0.9826 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.914e-05/0.2309, allocations: 16.09 kB / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.2309, allocations: 4 kB / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.743e-05/0.2309, allocations: 0 / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.2309, allocations: 7.984 kB / 0.9827 GB, free: 24.33 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 5.065e-05/0.231, allocations: 125.8 kB / 0.9828 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.231, allocations: 3.906 kB / 0.9828 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.2312, allocations: 104.5 kB / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2312, allocations: 4 kB / 0.9829 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2312, allocations: 0 / 0.9829 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2312, allocations: 4 kB / 0.9829 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.132e-05/0.2313, allocations: 161.7 kB / 0.9831 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2313, allocations: 0 / 0.9831 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.443e-05/0.2314, allocations: 15.98 kB / 0.9831 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2314, allocations: 4.156 kB / 0.9831 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.2314, allocations: 7.938 kB / 0.9831 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.2314, allocations: 4 kB / 0.9831 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2314, allocations: 0 / 0.9831 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.2315, allocations: 128.3 kB / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.939e-05/0.2315, allocations: 85.09 kB / 0.9833 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.2316, allocations: 3.938 kB / 0.9833 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.808e-05/0.2316, allocations: 8 kB / 0.9833 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.2316, allocations: 8 kB / 0.9833 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.2316, allocations: 4 kB / 0.9833 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.278e-05/0.2317, allocations: 79.27 kB / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2317, allocations: 0 / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001991/0.2319, allocations: 4 kB / 0.9834 GB, free: 23.48 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.0002931/0.2322, allocations: 0.6821 MB / 0.9841 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.294e-05/0.2323, allocations: 35.86 kB / 0.9841 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2323, allocations: 0 / 0.9841 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.726e-05/0.2323, allocations: 23.94 kB / 0.9841 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.2324, allocations: 4 kB / 0.9841 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.2328, allocations: 192.3 kB / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.643e-05/0.2329, allocations: 0.6809 MB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.885e-05/0.2329, allocations: 8 kB / 0.985 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.233, allocations: 19.42 kB / 0.985 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.233, allocations: 3.938 kB / 0.985 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4987/0.7317, allocations: 1.19 MB / 0.9862 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/0.7319, allocations: 205.7 kB / 0.9864 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/2.384, allocations: 4 kB / 0.9864 GB, free: 20.41 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)