Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.778/1.778, allocations: 288.2 MB / 303.2 MB, free: 8.184 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.001219/0.001219, allocations: 183.8 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.762/1.762, allocations: 205.4 MB / 0.6305 GB, free: 10 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.0008375/0.0008372, allocations: 93.52 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003755, allocations: 11.31 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1897, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.0009339/0.1907, allocations: 0.5329 MB / 0.98 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001147/0.1909, allocations: 47.73 kB / 0.98 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.132e-05/0.1909, allocations: 0 / 0.98 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.178e-05/0.191, allocations: 7.875 kB / 0.9801 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.1911, allocations: 15.97 kB / 0.9801 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.819e-05/0.1911, allocations: 15.98 kB / 0.9801 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.19e-05/0.1912, allocations: 39.91 kB / 0.9801 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.1913, allocations: 33.55 kB / 0.9802 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.452e-05/0.1914, allocations: 19.81 kB / 0.9802 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.779e-05/0.1914, allocations: 19.86 kB / 0.9802 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.1914, allocations: 8 kB / 0.9802 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.195e-06/0.1915, allocations: 0 / 0.9802 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.1915, allocations: 15.92 kB / 0.9802 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.1915, allocations: 37.64 kB / 0.9802 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.813e-05/0.1916, allocations: 56.09 kB / 0.9803 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.1916, allocations: 0 / 0.9803 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.114e-06/0.1916, allocations: 0 / 0.9803 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.1916, allocations: 0 / 0.9803 GB, free: 26.74 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003587/0.192, allocations: 383 kB / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.192, allocations: 12.02 kB / 0.9807 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.324e-05/0.1921, allocations: 38.56 kB / 0.9807 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.1921, allocations: 11.89 kB / 0.9807 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.1923, allocations: 194.8 kB / 0.9809 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1923, allocations: 4 kB / 0.9809 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.1923, allocations: 12 kB / 0.9809 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.1924, allocations: 91.31 kB / 0.981 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.1924, allocations: 0 / 0.981 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.1925, allocations: 8 kB / 0.981 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.1925, allocations: 4 kB / 0.981 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.964e-05/0.1925, allocations: 35.98 kB / 0.9811 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.193, allocations: 448.5 kB / 0.9815 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.3e-05/0.193, allocations: 41.11 kB / 0.9815 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.193, allocations: 0 / 0.9815 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.1931, allocations: 38.78 kB / 0.9816 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.1931, allocations: 3.938 kB / 0.9816 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001534/0.1932, allocations: 49.61 kB / 0.9816 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.1933, allocations: 89.28 kB / 0.9817 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.1934, allocations: 169.9 kB / 0.9819 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.414e-06/0.1934, allocations: 25.7 kB / 0.9819 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.1935, allocations: 107.9 kB / 0.982 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.171e-06/0.1935, allocations: 4 kB / 0.982 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.1935, allocations: 0 / 0.982 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.829e-05/0.1935, allocations: 330.8 kB / 0.9823 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.819e-05/0.1936, allocations: 7.938 kB / 0.9823 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.119e-05/0.1936, allocations: 25.7 kB / 0.9823 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.3e-05/0.1936, allocations: 12 kB / 0.9824 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1936, allocations: 0 / 0.9824 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.472e-05/0.1937, allocations: 73.39 kB / 0.9824 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1937, allocations: 9.25 kB / 0.9824 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1937, allocations: 0 / 0.9824 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1937, allocations: 0 / 0.9824 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-05/0.1938, allocations: 4 kB / 0.9824 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1938, allocations: 8.062 kB / 0.9824 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.206e-05/0.1939, allocations: 3.984 kB / 0.9824 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.1939, allocations: 4 kB / 0.9825 GB, free: 24.29 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 5.052e-05/0.1939, allocations: 109.8 kB / 0.9826 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/0.194, allocations: 15.86 kB / 0.9826 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.176e-05/0.194, allocations: 8.562 kB / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.194, allocations: 4 kB / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.194, allocations: 0 / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.194, allocations: 0 / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.1943, allocations: 490.6 kB / 0.9831 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1943, allocations: 0 / 0.9831 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.293e-05/0.1944, allocations: 4 kB / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1944, allocations: 3.938 kB / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.1944, allocations: 4 kB / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.1944, allocations: 0 / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1944, allocations: 0 / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.611e-05/0.1945, allocations: 95.62 kB / 0.9832 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.144e-05/0.1945, allocations: 93 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.1945, allocations: 0 / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.365e-05/0.1946, allocations: 0 / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.1946, allocations: 4 kB / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.1946, allocations: 4.031 kB / 0.9833 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.648e-05/0.1947, allocations: 128.9 kB / 0.9834 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1947, allocations: 0 / 0.9834 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001943/0.1949, allocations: 8 kB / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0002434/0.1951, allocations: 0.703 MB / 0.9841 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.2e-05/0.1952, allocations: 19.94 kB / 0.9841 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1952, allocations: 3.938 kB / 0.9841 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.204e-05/0.1952, allocations: 11.98 kB / 0.9841 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001129/0.1953, allocations: 12.45 kB / 0.9841 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006915/0.196, allocations: 0.7403 MB / 0.9848 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.1962, allocations: 0.6965 MB / 0.9855 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.101e-05/0.1962, allocations: 4.438 kB / 0.9855 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/0.1962, allocations: 27.42 kB / 0.9855 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.1962, allocations: 0 / 0.9855 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01056/0.2068, allocations: 1.582 MB / 0.9871 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001446/0.207, allocations: 203.2 kB / 0.9873 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.466/1.673, allocations: 2.531 kB / 0.9873 GB, free: 19.21 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1)