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.001541/0.001541, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.002186/0.002186, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.471/3.471, allocations: 205.4 MB / 222.1 MB, free: 5.648 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 3.462/3.462, allocations: 292.6 MB / 0.5497 GB, free: 14.6 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.001068/0.001068, allocations: 15.75 kB / 0.6737 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4886/0.4897, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001203/0.491, allocations: 329.8 kB / 0.7876 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003213/0.4914, allocations: 57.56 kB / 0.7876 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.665e-05/0.4914, allocations: 0 / 0.7876 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.73e-05/0.4914, allocations: 0 / 0.7876 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 1.45e-05/0.4915, allocations: 0 / 0.7876 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003492/0.4918, allocations: 31.78 kB / 0.7876 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.991e-05/0.4919, allocations: 7.984 kB / 0.7877 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.734e-05/0.492, allocations: 4 kB / 0.7877 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.59e-05/0.492, allocations: 4 kB / 0.7877 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.472e-05/0.4921, allocations: 11.94 kB / 0.7877 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.4922, allocations: 0 / 0.7877 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.4923, allocations: 15.97 kB / 0.7877 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.373e-05/0.4923, allocations: 7.984 kB / 0.7877 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.976e-05/0.4924, allocations: 25.7 kB / 0.7877 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.4925, allocations: 11.98 kB / 0.7877 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4926, allocations: 4 kB / 0.7877 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.288e-06/0.4926, allocations: 0 / 0.7877 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.4926, allocations: 0 / 0.7877 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.0006353/0.4932, allocations: 319.4 kB / 0.788 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.857e-05/0.4933, allocations: 12.03 kB / 0.788 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.379e-05/0.4934, allocations: 34.56 kB / 0.7881 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.47e-05/0.4934, allocations: 0 / 0.7881 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.4936, allocations: 163.3 kB / 0.7882 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.4936, allocations: 0 / 0.7882 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.4937, allocations: 7.938 kB / 0.7882 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.4939, allocations: 77.97 kB / 0.7883 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4939, allocations: 0 / 0.7883 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.4939, allocations: 4 kB / 0.7883 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.4939, allocations: 0 / 0.7883 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.308e-05/0.494, allocations: 11.94 kB / 0.7883 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004849/0.4945, allocations: 196.9 kB / 0.7885 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.4947, allocations: 93.08 kB / 0.7886 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003086/0.495, allocations: 93.27 kB / 0.7887 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.572e-05/0.4951, allocations: 38.5 kB / 0.7887 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 4.458e-06/0.4951, allocations: 0 / 0.7887 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0003149/0.4954, allocations: 78.08 kB / 0.7888 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.4956, allocations: 158.2 kB / 0.789 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.639e-05/0.4957, allocations: 89.86 kB / 0.789 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.4957, allocations: 29.7 kB / 0.7891 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/0.4958, allocations: 80.14 kB / 0.7892 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.182e-05/0.4958, allocations: 15.75 kB / 0.7892 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.4958, allocations: 0 / 0.7892 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.4961, allocations: 318.8 kB / 0.7895 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.615e-05/0.4961, allocations: 4 kB / 0.7895 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.462e-05/0.4962, allocations: 32.3 kB / 0.7895 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.268e-05/0.4962, allocations: 15.98 kB / 0.7895 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4962, allocations: 0 / 0.7895 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001711/0.4964, allocations: 73.48 kB / 0.7896 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.4965, allocations: 6.812 kB / 0.7896 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.4965, allocations: 4 kB / 0.7896 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.4965, allocations: 0 / 0.7896 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.4967, allocations: 11.98 kB / 0.7896 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.4967, allocations: 0 / 0.7896 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.28e-05/0.4967, allocations: 4 kB / 0.7896 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.4968, allocations: 8 kB / 0.7896 GB, free: 9.062 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 0.0001641/0.4969, allocations: 113.8 kB / 0.7897 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.497, allocations: 15.86 kB / 0.7897 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003829/0.4974, allocations: 96.66 kB / 0.7898 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4974, allocations: 0 / 0.7898 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/0.4974, allocations: 4.156 kB / 0.7898 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.4975, allocations: 8.109 kB / 0.7899 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/0.4977, allocations: 161.7 kB / 0.79 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.4978, allocations: 4 kB / 0.79 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.821e-05/0.4979, allocations: 19.98 kB / 0.79 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.4979, allocations: 3.953 kB / 0.79 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.4979, allocations: 4 kB / 0.79 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.4979, allocations: 3.938 kB / 0.79 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.4979, allocations: 4 kB / 0.79 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003125/0.4983, allocations: 171.2 kB / 0.7902 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.131e-05/0.4984, allocations: 81.11 kB / 0.7903 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.4984, allocations: 8 kB / 0.7903 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.937e-05/0.4985, allocations: 3.938 kB / 0.7903 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.4985, allocations: 15.94 kB / 0.7903 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.4985, allocations: 0 / 0.7903 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.421e-05/0.4986, allocations: 75.28 kB / 0.7904 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4986, allocations: 4 kB / 0.7904 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004259/0.499, allocations: 8 kB / 0.7904 GB, free: 8.129 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.001095/0.5002, allocations: 0.999 MB / 0.7914 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000168/0.5003, allocations: 31.92 kB / 0.7914 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.5004, allocations: 0 / 0.7914 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.281e-05/0.5004, allocations: 27.92 kB / 0.7914 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.5006, allocations: 4.625 kB / 0.7914 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009094/0.5015, allocations: 185 kB / 0.7916 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005361/0.5021, allocations: 0.6809 MB / 0.7923 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.033e-05/0.5022, allocations: 8 kB / 0.7923 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.686e-05/0.5023, allocations: 19.42 kB / 0.7923 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.5023, allocations: 0 / 0.7923 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.5273, allocations: 1.186 MB / 0.7935 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004693/0.5279, allocations: 181.9 kB / 0.7936 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.149/3.677, allocations: 3.938 kB / 0.7936 GB, free: 4.727 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: