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.001627/0.001627, allocations: 109.4 kB / 15.69 MB, free: 128 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.00141/0.00141, allocations: 186.2 kB / 16.62 MB, free: 6.613 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.368/1.368, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.721/1.721, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.002321/0.002322, allocations: 73.38 kB / 0.6718 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2804, allocations: 114.6 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001888/0.2824, allocations: 0.6053 MB / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002679/0.2826, allocations: 67.77 kB / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.919e-05/0.2827, allocations: 0 / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.462e-05/0.2827, allocations: 0 / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.615e-06/0.2827, allocations: 4 kB / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.283, allocations: 19.92 kB / 0.7843 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.515e-05/0.283, allocations: 11.98 kB / 0.7843 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.34e-05/0.2831, allocations: 4 kB / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.281e-05/0.2831, allocations: 11.92 kB / 0.7844 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.836e-05/0.2832, allocations: 0 / 0.7844 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.2832, allocations: 4 kB / 0.7844 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-05/0.2833, allocations: 15.98 kB / 0.7844 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.2833, allocations: 8 kB / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.217e-05/0.2833, allocations: 11.91 kB / 0.7844 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.458e-05/0.2834, allocations: 15.98 kB / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2834, allocations: 0 / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2835, allocations: 0 / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.2835, allocations: 0 / 0.7844 GB, free: 12.46 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.0003943/0.2839, allocations: 323.6 kB / 0.7847 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.2839, allocations: 15.97 kB / 0.7847 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.615e-05/0.2839, allocations: 34.75 kB / 0.7848 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.346e-05/0.284, allocations: 0.9375 kB / 0.7848 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.2841, allocations: 168.6 kB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.2841, allocations: 8.375 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.2841, allocations: 384 / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.2843, allocations: 66.55 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2843, allocations: 7.875 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.2843, allocations: 4 kB / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.2843, allocations: 4 kB / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.589e-05/0.2843, allocations: 15.92 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.2845, allocations: 193.1 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.888e-05/0.2846, allocations: 93.08 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.586e-05/0.2847, allocations: 32.3 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002146/0.2849, allocations: 89.09 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.285, allocations: 34.56 kB / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.285, allocations: 0 / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0002125/0.2852, allocations: 81.42 kB / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.289e-05/0.2853, allocations: 162.2 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.015e-05/0.2853, allocations: 90.48 kB / 0.7858 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.2853, allocations: 25.7 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.637e-05/0.2854, allocations: 84.14 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.2854, allocations: 15.81 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.2854, allocations: 17.7 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2856, allocations: 314.8 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.2856, allocations: 4 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.304e-05/0.2856, allocations: 36.28 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.496e-05/0.2857, allocations: 48.23 kB / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2857, allocations: 0 / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.634e-05/0.2858, allocations: 69.64 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2858, allocations: 8 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.2858, allocations: 3.938 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.2859, allocations: 4 kB / 0.7864 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.947e-05/0.2859, allocations: 8 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.2859, allocations: 3.938 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.968e-05/0.286, allocations: 4.125 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.286, allocations: 15.92 kB / 0.7864 GB, free: 10.03 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 6.856e-05/0.2861, allocations: 113.8 kB / 0.7865 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.2861, allocations: 7.969 kB / 0.7865 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001966/0.2863, allocations: 104.6 kB / 0.7866 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2863, allocations: 0 / 0.7866 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2863, allocations: 0 / 0.7866 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.2863, allocations: 4.156 kB / 0.7866 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.2865, allocations: 165.7 kB / 0.7868 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2865, allocations: 0 / 0.7868 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.026e-05/0.2865, allocations: 27.92 kB / 0.7868 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2865, allocations: 0 / 0.7868 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.2865, allocations: 7.938 kB / 0.7868 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.2866, allocations: 0 / 0.7868 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2866, allocations: 0 / 0.7868 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.2867, allocations: 128.4 kB / 0.7869 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.261e-05/0.2868, allocations: 81.11 kB / 0.787 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.2868, allocations: 11.92 kB / 0.787 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.614e-05/0.2868, allocations: 0 / 0.787 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.639e-05/0.2868, allocations: 8.078 kB / 0.787 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.2868, allocations: 19.94 kB / 0.787 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.001e-05/0.2869, allocations: 79.22 kB / 0.7871 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2869, allocations: 0 / 0.7871 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001976/0.2871, allocations: 8 kB / 0.7871 GB, free: 9.16 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.0004329/0.2875, allocations: 0.6625 MB / 0.7878 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.2876, allocations: 35.92 kB / 0.7878 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2876, allocations: 0 / 0.7878 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.117e-05/0.2877, allocations: 20.44 kB / 0.7878 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.2879, allocations: 20.98 kB / 0.7879 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004094/0.2883, allocations: 173.9 kB / 0.788 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.2886, allocations: 0.6807 MB / 0.7887 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.314e-05/0.2886, allocations: 11.98 kB / 0.7887 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.2886, allocations: 15.44 kB / 0.7887 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of SimCode: time 2.014e-06/0.2887, allocations: 4 kB / 0.7887 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01751/0.3062, allocations: 1.413 MB / 0.7901 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.158/7.464, allocations: 5.234 kB / 0.7901 GB, free: 6.082 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/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)