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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.851/2.851, allocations: 287.5 MB / 302.4 MB, free: 8.285 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.001332/0.001331, allocations: 186.8 kB / 371 MB, free: 10.86 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.218/2.218, allocations: 205.4 MB / 0.6297 GB, free: 10.51 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.0009476/0.0009474, allocations: 97.8 kB / 0.743 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006122/0.0006123, allocations: 17 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2185, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.000774/0.2194, allocations: 331.6 kB / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002688/0.2197, allocations: 59.83 kB / 0.9788 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.764e-05/0.2197, allocations: 7.938 kB / 0.9788 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.132e-05/0.2197, allocations: 0 / 0.9788 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.637e-06/0.2197, allocations: 0 / 0.9788 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.22, allocations: 15.98 kB / 0.9789 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.447e-05/0.22, allocations: 12 kB / 0.9789 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.331e-05/0.2201, allocations: 3.984 kB / 0.9789 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.967e-05/0.2201, allocations: 11.92 kB / 0.9789 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.289e-05/0.2202, allocations: 4 kB / 0.9789 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.2202, allocations: 0 / 0.9789 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.073e-05/0.2203, allocations: 19.98 kB / 0.9789 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.02e-05/0.2203, allocations: 0 / 0.9789 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.913e-05/0.2203, allocations: 25.7 kB / 0.9789 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.926e-05/0.2204, allocations: 11.97 kB / 0.9789 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2204, allocations: 0 / 0.9789 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2204, allocations: 3.938 kB / 0.9789 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2204, allocations: 4 kB / 0.9789 GB, free: 27.73 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.000315/0.2207, allocations: 323.4 kB / 0.9793 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.2208, allocations: 12.02 kB / 0.9793 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.283e-05/0.2208, allocations: 42.55 kB / 0.9793 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.2209, allocations: 4 kB / 0.9793 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.368e-05/0.221, allocations: 167.3 kB / 0.9795 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.221, allocations: 0 / 0.9795 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.221, allocations: 8 kB / 0.9795 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.2212, allocations: 69.92 kB / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2212, allocations: 4 kB / 0.9796 GB, free: 27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.2212, allocations: 0 / 0.9796 GB, free: 27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2212, allocations: 0 / 0.9796 GB, free: 27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.788e-05/0.2213, allocations: 15.92 kB / 0.9796 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.2214, allocations: 193 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.513e-05/0.2215, allocations: 97.05 kB / 0.9798 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.643e-05/0.2216, allocations: 40.41 kB / 0.9799 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002029/0.2218, allocations: 77.11 kB / 0.98 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.2218, allocations: 46.5 kB / 0.98 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.763e-06/0.2219, allocations: 0 / 0.98 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0002196/0.2221, allocations: 69.55 kB / 0.9801 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.2222, allocations: 154.8 kB / 0.9802 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.375e-05/0.2222, allocations: 93.86 kB / 0.9803 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.2222, allocations: 33.7 kB / 0.9803 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.421e-05/0.2222, allocations: 80.14 kB / 0.9804 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.2223, allocations: 7.812 kB / 0.9804 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.2223, allocations: 0 / 0.9804 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.936e-05/0.2224, allocations: 322.8 kB / 0.9807 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.417e-05/0.2224, allocations: 3.938 kB / 0.9807 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.154e-05/0.2224, allocations: 48.22 kB / 0.9808 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.237e-05/0.2225, allocations: 7.953 kB / 0.9808 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2225, allocations: 0 / 0.9808 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001284/0.2226, allocations: 61.72 kB / 0.9808 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.2227, allocations: 8 kB / 0.9809 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2227, allocations: 4 kB / 0.9809 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.2227, allocations: 3.938 kB / 0.9809 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.2228, allocations: 11.98 kB / 0.9809 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.2229, allocations: 4 kB / 0.9809 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.317e-05/0.2229, allocations: 4 kB / 0.9809 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.2229, allocations: 4 kB / 0.9809 GB, free: 25.39 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.794e-05/0.223, allocations: 115 kB / 0.981 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.962e-05/0.223, allocations: 7.906 kB / 0.981 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002656/0.2233, allocations: 108.7 kB / 0.9811 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2233, allocations: 4 kB / 0.9811 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2233, allocations: 0 / 0.9811 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.2234, allocations: 160 / 0.9811 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.2235, allocations: 173.6 kB / 0.9813 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2235, allocations: 3.953 kB / 0.9813 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.2236, allocations: 16 kB / 0.9813 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.2237, allocations: 4 kB / 0.9813 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.2237, allocations: 0 / 0.9813 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.2237, allocations: 4 kB / 0.9813 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.2237, allocations: 3.984 kB / 0.9813 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.2239, allocations: 132.3 kB / 0.9814 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.898e-05/0.2239, allocations: 85.06 kB / 0.9815 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.2239, allocations: 0 / 0.9815 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.435e-05/0.224, allocations: 4 kB / 0.9815 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.868e-05/0.224, allocations: 7.984 kB / 0.9815 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.224, allocations: 8 kB / 0.9815 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.654e-05/0.2241, allocations: 79.28 kB / 0.9816 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2241, allocations: 0 / 0.9816 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002844/0.2244, allocations: 4 kB / 0.9816 GB, free: 24.54 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.0003997/0.2248, allocations: 0.6703 MB / 0.9823 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001326/0.2249, allocations: 35.86 kB / 0.9823 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2249, allocations: 0 / 0.9823 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.391e-05/0.225, allocations: 28.36 kB / 0.9823 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.2252, allocations: 12.19 kB / 0.9823 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004504/0.2257, allocations: 187.7 kB / 0.9825 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.2258, allocations: 0.6809 MB / 0.9832 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.024e-05/0.2259, allocations: 12 kB / 0.9832 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.497e-05/0.226, allocations: 15.38 kB / 0.9832 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of SimCode: time 1.102e-06/0.226, allocations: 0 / 0.9832 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01976/0.2457, allocations: 1.217 MB / 0.9844 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002586/0.2461, allocations: 183.9 kB / 0.9846 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.608/2.854, allocations: 1.969 kB / 0.9846 GB, free: 21.45 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_Round.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1)