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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008911/0.000891, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.0008795/0.0008796, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.699/1.699, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.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.841/1.841, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005529/0.000553, allocations: 19.56 kB / 0.6738 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2323, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.0007451/0.2331, allocations: 335.5 kB / 0.7877 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002412/0.2334, allocations: 59.84 kB / 0.7878 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.274e-05/0.2334, allocations: 0 / 0.7878 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.2334, allocations: 3.938 kB / 0.7878 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.414e-06/0.2334, allocations: 0 / 0.7878 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.2337, allocations: 19.97 kB / 0.7878 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.475e-05/0.2337, allocations: 11.98 kB / 0.7878 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.688e-05/0.2338, allocations: 4 kB / 0.7878 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.76e-05/0.2338, allocations: 4 kB / 0.7878 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.065e-05/0.2339, allocations: 15.92 kB / 0.7879 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.2339, allocations: 0 / 0.7879 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.903e-05/0.234, allocations: 11.98 kB / 0.7879 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.234, allocations: 3.984 kB / 0.7879 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.234, allocations: 29.7 kB / 0.7879 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.289e-05/0.2341, allocations: 11.98 kB / 0.7879 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2341, allocations: 0 / 0.7879 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.542e-06/0.2341, allocations: 0 / 0.7879 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.2341, allocations: 0 / 0.7879 GB, free: 11.34 MB / 0.6075 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.0003827/0.2345, allocations: 315.4 kB / 0.7882 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.2346, allocations: 16.02 kB / 0.7882 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.978e-05/0.2346, allocations: 34.56 kB / 0.7883 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.687e-05/0.2347, allocations: 0 / 0.7883 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.2348, allocations: 167.2 kB / 0.7884 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.2348, allocations: 4 kB / 0.7884 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.2348, allocations: 0 / 0.7884 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.235, allocations: 73.97 kB / 0.7885 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.235, allocations: 3.938 kB / 0.7885 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.235, allocations: 4 kB / 0.7885 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.235, allocations: 4 kB / 0.7885 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.879e-05/0.2351, allocations: 7.938 kB / 0.7885 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002083/0.2353, allocations: 205 kB / 0.7887 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.937e-05/0.2354, allocations: 93.14 kB / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.799e-05/0.2355, allocations: 40.22 kB / 0.7888 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001753/0.2356, allocations: 85.11 kB / 0.7889 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.2357, allocations: 30.56 kB / 0.7889 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.2357, allocations: 0 / 0.7889 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0001933/0.2359, allocations: 85.92 kB / 0.789 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.762e-05/0.236, allocations: 158.2 kB / 0.7892 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.165e-05/0.236, allocations: 89.86 kB / 0.7893 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.236, allocations: 25.7 kB / 0.7893 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.579e-05/0.236, allocations: 80.14 kB / 0.7894 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.487e-05/0.2361, allocations: 15.8 kB / 0.7894 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.2361, allocations: 4 kB / 0.7894 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.2362, allocations: 315 kB / 0.7897 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.757e-05/0.2362, allocations: 4 kB / 0.7897 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.817e-05/0.2363, allocations: 40.28 kB / 0.7897 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.092e-05/0.2363, allocations: 7.938 kB / 0.7897 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2363, allocations: 0 / 0.7897 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001045/0.2364, allocations: 69.58 kB / 0.7898 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.2364, allocations: 10.81 kB / 0.7898 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2365, allocations: 0 / 0.7898 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.2365, allocations: 4 kB / 0.7898 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.614e-05/0.2366, allocations: 15.92 kB / 0.7898 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.2366, allocations: 0 / 0.7898 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.83e-05/0.2366, allocations: 0 / 0.7898 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.2366, allocations: 4 kB / 0.7898 GB, free: 9.012 MB / 0.6075 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 9.2e-05/0.2367, allocations: 121.9 kB / 0.7899 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.2368, allocations: 11.84 kB / 0.79 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002358/0.237, allocations: 96.8 kB / 0.79 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.237, allocations: 7.984 kB / 0.7901 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.237, allocations: 0 / 0.7901 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/0.2371, allocations: 7.984 kB / 0.7901 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.2372, allocations: 165.6 kB / 0.7902 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.2372, allocations: 0 / 0.7902 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.877e-05/0.2373, allocations: 12 kB / 0.7902 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.699e-06/0.2373, allocations: 7.953 kB / 0.7902 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.2373, allocations: 7.922 kB / 0.7902 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.381e-06/0.2374, allocations: 4.125 kB / 0.7903 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.2374, allocations: 4 kB / 0.7903 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.2376, allocations: 124.4 kB / 0.7904 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/0.2376, allocations: 81.11 kB / 0.7905 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.2376, allocations: 7.938 kB / 0.7905 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.278e-05/0.2377, allocations: 12.09 kB / 0.7905 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.2377, allocations: 11.88 kB / 0.7905 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.2377, allocations: 4 kB / 0.7905 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.54e-05/0.2378, allocations: 75.28 kB / 0.7906 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2378, allocations: 0 / 0.7906 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002232/0.238, allocations: 8 kB / 0.7906 GB, free: 8.137 MB / 0.6075 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.0005828/0.2386, allocations: 0.6734 MB / 0.7912 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001278/0.2387, allocations: 32.17 kB / 0.7913 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2388, allocations: 4.062 kB / 0.7913 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.151e-05/0.2388, allocations: 31.86 kB / 0.7913 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.239, allocations: 4 kB / 0.7913 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004966/0.2395, allocations: 180.1 kB / 0.7915 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.2398, allocations: 0.6809 MB / 0.7921 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.819e-05/0.2399, allocations: 8 kB / 0.7921 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.2399, allocations: 19.42 kB / 0.7922 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2399, allocations: 0 / 0.7922 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01238/0.2523, allocations: 1.212 MB / 0.7933 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/0.2525, allocations: 183.1 kB / 0.7935 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/2.007, allocations: 0 / 0.7935 GB, free: 5.059 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_Round.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) Environment - environmentSimulation: