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.001188/0.001188, allocations: 108 kB / 15.6 MB, free: 132 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.001481/0.001481, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.618/1.618, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.854/1.854, allocations: 292.3 MB / 0.5489 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.001576/0.001576, allocations: 70.33 kB / 0.6716 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2689, allocations: 114.6 MB / 0.7835 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.00178/0.2708, allocations: 0.6056 MB / 0.7841 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002283/0.271, allocations: 63.78 kB / 0.7841 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.606e-05/0.271, allocations: 0 / 0.7841 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.2711, allocations: 0 / 0.7841 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.81e-06/0.2711, allocations: 0 / 0.7841 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.2713, allocations: 23.91 kB / 0.7842 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.18e-05/0.2714, allocations: 11.98 kB / 0.7842 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.148e-05/0.2714, allocations: 4 kB / 0.7842 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.813e-05/0.2714, allocations: 7.938 kB / 0.7842 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.69e-05/0.2715, allocations: 11.97 kB / 0.7842 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.2715, allocations: 4 kB / 0.7842 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.138e-05/0.2716, allocations: 15.98 kB / 0.7842 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.969e-06/0.2716, allocations: 0 / 0.7842 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.952e-05/0.2716, allocations: 11.94 kB / 0.7842 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.378e-05/0.2717, allocations: 15.97 kB / 0.7842 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2717, allocations: 0 / 0.7842 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2717, allocations: 0 / 0.7842 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.2717, allocations: 0 / 0.7842 GB, free: 12.51 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.0003261/0.272, allocations: 327.6 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.2721, allocations: 19.97 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.014e-05/0.2721, allocations: 34.69 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.157e-05/0.2722, allocations: 0.9375 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.889e-05/0.2722, allocations: 164.7 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.2723, allocations: 4.375 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-06/0.2723, allocations: 384 / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.2724, allocations: 70.53 kB / 0.7848 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.2724, allocations: 11.88 kB / 0.7848 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.2724, allocations: 0 / 0.7848 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.2724, allocations: 11.92 kB / 0.7849 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.385e-05/0.2725, allocations: 11.94 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.2726, allocations: 185.1 kB / 0.785 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.2728, allocations: 101.1 kB / 0.7851 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.686e-05/0.2728, allocations: 32.3 kB / 0.7852 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001952/0.273, allocations: 85.11 kB / 0.7853 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.2731, allocations: 42.55 kB / 0.7853 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.2731, allocations: 0 / 0.7853 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0002411/0.2733, allocations: 69.44 kB / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.2734, allocations: 166.8 kB / 0.7855 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.804e-05/0.2735, allocations: 89.86 kB / 0.7856 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.2735, allocations: 25.7 kB / 0.7856 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.2736, allocations: 84.12 kB / 0.7857 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.802e-05/0.2736, allocations: 19.8 kB / 0.7857 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.2737, allocations: 13.72 kB / 0.7857 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.2738, allocations: 318.8 kB / 0.786 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.164e-05/0.2738, allocations: 4 kB / 0.7861 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.725e-05/0.2739, allocations: 32.42 kB / 0.7861 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.421e-05/0.274, allocations: 60.16 kB / 0.7861 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.274, allocations: 4 kB / 0.7861 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001146/0.2741, allocations: 57.62 kB / 0.7862 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.2741, allocations: 8.938 kB / 0.7862 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.2741, allocations: 3.938 kB / 0.7862 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.2742, allocations: 4 kB / 0.7862 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.386e-05/0.2743, allocations: 15.92 kB / 0.7862 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.2743, allocations: 0 / 0.7862 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.122e-05/0.2743, allocations: 0 / 0.7862 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.2743, allocations: 12.09 kB / 0.7862 GB, free: 10.08 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.247e-05/0.2744, allocations: 117.8 kB / 0.7864 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.2745, allocations: 3.906 kB / 0.7864 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.2747, allocations: 108.6 kB / 0.7865 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2747, allocations: 0 / 0.7865 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.2747, allocations: 4 kB / 0.7865 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2747, allocations: 0 / 0.7865 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.2749, allocations: 161.7 kB / 0.7866 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2749, allocations: 0 / 0.7866 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.995e-05/0.275, allocations: 19.94 kB / 0.7866 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.275, allocations: 0 / 0.7866 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.275, allocations: 11.94 kB / 0.7866 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.275, allocations: 4 kB / 0.7867 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.275, allocations: 4.156 kB / 0.7867 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.2752, allocations: 128.3 kB / 0.7868 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.255e-05/0.2752, allocations: 77.11 kB / 0.7869 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.2752, allocations: 11.94 kB / 0.7869 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.897e-05/0.2753, allocations: 4 kB / 0.7869 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.2753, allocations: 11.92 kB / 0.7869 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.2753, allocations: 4 kB / 0.7869 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.359e-05/0.2754, allocations: 75.28 kB / 0.787 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2754, allocations: 0 / 0.787 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002084/0.2756, allocations: 12 kB / 0.787 GB, free: 9.219 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.0004489/0.276, allocations: 0.6625 MB / 0.7876 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001171/0.2762, allocations: 40.05 kB / 0.7877 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.2762, allocations: 0 / 0.7877 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.7e-05/0.2762, allocations: 27.92 kB / 0.7877 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.2764, allocations: 8 kB / 0.7877 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.2768, allocations: 186.3 kB / 0.7879 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.277, allocations: 0.6768 MB / 0.7885 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.963e-05/0.277, allocations: 8 kB / 0.7885 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.2771, allocations: 19.42 kB / 0.7886 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of SimCode: time 1.443e-06/0.2771, allocations: 4 kB / 0.7886 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/0.2932, allocations: 1.39 MB / 0.7899 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.911/7.205, allocations: 8.359 kB / 0.7899 GB, free: 6.133 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)