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.001375/0.001375, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 192.5 kB / 16.64 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 205.1 MB / 222.5 MB, free: 4.578 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.73/1.73, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001386/0.001386, allocations: 77.39 kB / 0.6718 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2368, allocations: 114.6 MB / 0.7837 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.002004/0.2388, allocations: 0.6042 MB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002493/0.2391, allocations: 59.78 kB / 0.7843 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.661e-05/0.2391, allocations: 7.938 kB / 0.7843 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.616e-05/0.2391, allocations: 3.938 kB / 0.7843 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.794e-06/0.2391, allocations: 0 / 0.7843 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.2394, allocations: 23.92 kB / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.502e-05/0.2395, allocations: 15.91 kB / 0.7843 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.2395, allocations: 4 kB / 0.7844 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.734e-05/0.2395, allocations: 4 kB / 0.7844 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.576e-05/0.2396, allocations: 7.984 kB / 0.7844 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.2396, allocations: 4 kB / 0.7844 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.58e-05/0.2397, allocations: 15.98 kB / 0.7844 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.2397, allocations: 11.92 kB / 0.7844 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.865e-05/0.2398, allocations: 0 / 0.7844 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.499e-05/0.2398, allocations: 19.92 kB / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2399, allocations: 0 / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2399, allocations: 4 kB / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.2399, allocations: 0 / 0.7844 GB, free: 12.48 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.00047/0.2403, allocations: 327.6 kB / 0.7847 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.2404, allocations: 12.03 kB / 0.7847 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.337e-05/0.2404, allocations: 30.75 kB / 0.7848 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.369e-05/0.2405, allocations: 0.9375 kB / 0.7848 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.2406, allocations: 160.7 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.2406, allocations: 4.375 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.2406, allocations: 12.31 kB / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.2407, allocations: 74.53 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2408, allocations: 3.938 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.2408, allocations: 0 / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.2408, allocations: 0 / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.227e-05/0.2408, allocations: 11.94 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001866/0.241, allocations: 196.9 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.2411, allocations: 101.3 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.142e-05/0.2412, allocations: 32.3 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000181/0.2414, allocations: 85.05 kB / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.2414, allocations: 34.55 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.2414, allocations: 4 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0001919/0.2416, allocations: 73.5 kB / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.212e-05/0.2417, allocations: 162.2 kB / 0.7857 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.495e-05/0.2417, allocations: 89.86 kB / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.2418, allocations: 29.69 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.482e-05/0.2418, allocations: 84.77 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.2418, allocations: 11.81 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.2419, allocations: 21.72 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.242, allocations: 318.8 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/0.242, allocations: 4 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.278e-05/0.242, allocations: 36.23 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.624e-05/0.2421, allocations: 52.22 kB / 0.7863 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2421, allocations: 0 / 0.7863 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001018/0.2422, allocations: 65.56 kB / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.2423, allocations: 8 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2423, allocations: 8.094 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.2423, allocations: 0 / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.594e-05/0.2424, allocations: 11.98 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.2424, allocations: 4 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.761e-05/0.2424, allocations: 0 / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.2424, allocations: 4 kB / 0.7864 GB, free: 10.06 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.844e-05/0.2425, allocations: 121.7 kB / 0.7865 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.2426, allocations: 3.906 kB / 0.7865 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.2428, allocations: 108.7 kB / 0.7866 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.2428, allocations: 4 kB / 0.7866 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.2428, allocations: 0 / 0.7866 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.2428, allocations: 4 kB / 0.7866 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.2429, allocations: 169.6 kB / 0.7868 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.2429, allocations: 160 / 0.7868 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.03e-05/0.243, allocations: 19.94 kB / 0.7868 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.243, allocations: 4 kB / 0.7868 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.243, allocations: 3.938 kB / 0.7868 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.243, allocations: 4 kB / 0.7868 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.243, allocations: 3.984 kB / 0.7868 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.2432, allocations: 124.4 kB / 0.7869 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.76e-05/0.2432, allocations: 81.11 kB / 0.787 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.2432, allocations: 7.938 kB / 0.787 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.029e-05/0.2433, allocations: 7.984 kB / 0.787 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.415e-05/0.2433, allocations: 4 kB / 0.787 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.2433, allocations: 4 kB / 0.787 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.318e-05/0.2433, allocations: 75.28 kB / 0.7871 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2433, allocations: 4 kB / 0.7871 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002107/0.2436, allocations: 8 kB / 0.7871 GB, free: 9.195 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005152/0.2441, allocations: 0.6781 MB / 0.7878 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001138/0.2442, allocations: 31.92 kB / 0.7878 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2442, allocations: 0 / 0.7878 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.398e-05/0.2443, allocations: 27.92 kB / 0.7878 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.2444, allocations: 4 kB / 0.7879 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003797/0.2448, allocations: 186.5 kB / 0.788 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.2451, allocations: 0.6807 MB / 0.7887 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.836e-05/0.2451, allocations: 12 kB / 0.7887 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.2451, allocations: 19.42 kB / 0.7887 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.2452, allocations: 0 / 0.7887 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.2631, allocations: 1.415 MB / 0.7901 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.359/7.622, allocations: 9.109 kB / 0.7901 GB, free: 6.094 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_Round.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1)