Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.313/1.313, allocations: 251.5 MB / 266.7 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008286/0.0008285, allocations: 188.7 kB / 325.9 MB, free: 2.641 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205 MB / 0.576 GB, free: 20.93 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007634/0.0007634, allocations: 91.72 kB / 0.6797 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.000368, allocations: 15.09 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1891, allocations: 105.4 MB / 0.8962 GB, free: 68.01 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.0009098/0.1901, allocations: 0.5959 MB / 0.8968 GB, free: 67.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 9.394e-05/0.1902, allocations: 47.7 kB / 0.8968 GB, free: 67.36 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.441e-05/0.1902, allocations: 4 kB / 0.8968 GB, free: 67.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.186e-05/0.1903, allocations: 3.938 kB / 0.8968 GB, free: 67.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.335e-05/0.1904, allocations: 3.938 kB / 0.8968 GB, free: 67.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.767e-05/0.1904, allocations: 19.98 kB / 0.8969 GB, free: 67.33 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.018e-05/0.1905, allocations: 63.84 kB / 0.8969 GB, free: 67.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.1906, allocations: 41.55 kB / 0.897 GB, free: 67.22 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.73e-05/0.1907, allocations: 27.8 kB / 0.897 GB, free: 67.2 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.016e-05/0.1907, allocations: 23.8 kB / 0.897 GB, free: 67.17 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.1907, allocations: 4 kB / 0.897 GB, free: 67.17 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.973e-06/0.1908, allocations: 0 / 0.897 GB, free: 67.17 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.1908, allocations: 11.94 kB / 0.897 GB, free: 67.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.1908, allocations: 35.72 kB / 0.8971 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.339e-05/0.1909, allocations: 67.69 kB / 0.8971 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1909, allocations: 0 / 0.8971 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1909, allocations: 0 / 0.8971 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.1909, allocations: 0 / 0.8971 GB, free: 67.05 MB / 0.6042 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.0003083/0.1912, allocations: 371.3 kB / 0.8975 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1913, allocations: 12.03 kB / 0.8975 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.569e-05/0.1913, allocations: 38.73 kB / 0.8975 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.226e-05/0.1913, allocations: 12.75 kB / 0.8975 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.1915, allocations: 202.5 kB / 0.8977 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.1915, allocations: 8.375 kB / 0.8977 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.1915, allocations: 8.375 kB / 0.8978 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.1916, allocations: 92.7 kB / 0.8978 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1916, allocations: 7.938 kB / 0.8978 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.1917, allocations: 4 kB / 0.8979 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1917, allocations: 4 kB / 0.8979 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.146e-05/0.1917, allocations: 35.98 kB / 0.8979 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.1921, allocations: 448.5 kB / 0.8983 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.123e-05/0.1922, allocations: 33.16 kB / 0.8984 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.209e-05/0.1922, allocations: 17.84 kB / 0.8984 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-06/0.1922, allocations: 0 / 0.8984 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.1922, allocations: 42.58 kB / 0.8984 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.1922, allocations: 0 / 0.8984 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001444/0.1924, allocations: 61.48 kB / 0.8985 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.1924, allocations: 81.11 kB / 0.8985 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.1925, allocations: 166.2 kB / 0.8987 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.784e-06/0.1926, allocations: 29.69 kB / 0.8987 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.076e-05/0.1926, allocations: 107.9 kB / 0.8988 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.994e-06/0.1926, allocations: 7.891 kB / 0.8988 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.781e-05/0.1926, allocations: 17.72 kB / 0.8989 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.088e-05/0.1927, allocations: 327.1 kB / 0.8992 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.456e-05/0.1927, allocations: 4 kB / 0.8992 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.831e-05/0.1927, allocations: 21.72 kB / 0.8992 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.365e-05/0.1928, allocations: 33.59 kB / 0.8992 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1928, allocations: 0 / 0.8992 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.492e-05/0.1928, allocations: 57.59 kB / 0.8993 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.1929, allocations: 15.94 kB / 0.8993 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1929, allocations: 0 / 0.8993 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1929, allocations: 4 kB / 0.8993 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.184e-05/0.193, allocations: 11.94 kB / 0.8993 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.193, allocations: 0 / 0.8993 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.927e-05/0.193, allocations: 7.938 kB / 0.8993 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.193, allocations: 0 / 0.8993 GB, free: 64.54 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.579e-05/0.1931, allocations: 117.8 kB / 0.8994 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.1931, allocations: 15.75 kB / 0.8994 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.1932, allocations: 16.56 kB / 0.8995 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1932, allocations: 4 kB / 0.8995 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1932, allocations: 0 / 0.8995 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1932, allocations: 4 kB / 0.8995 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.1934, allocations: 474.8 kB / 0.8999 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1934, allocations: 0 / 0.8999 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.033e-05/0.1935, allocations: 4 kB / 0.8999 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.1935, allocations: 4.062 kB / 0.8999 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.1935, allocations: 4 kB / 0.8999 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1935, allocations: 0 / 0.8999 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1935, allocations: 0 / 0.8999 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.915e-05/0.1936, allocations: 89.77 kB / 0.9 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.1936, allocations: 81.02 kB / 0.9001 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.1936, allocations: 7.984 kB / 0.9001 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.237e-05/0.1936, allocations: 4.031 kB / 0.9001 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.033e-05/0.1937, allocations: 96 / 0.9001 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.1937, allocations: 7.984 kB / 0.9001 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.839e-05/0.1937, allocations: 124.9 kB / 0.9002 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1937, allocations: 0 / 0.9002 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001678/0.1939, allocations: 8 kB / 0.9002 GB, free: 63.48 MB / 0.6042 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 (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.000222/0.1941, allocations: 0.6248 MB / 0.9009 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.082e-05/0.1942, allocations: 20 kB / 0.9009 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1942, allocations: 0 / 0.9009 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.077e-05/0.1942, allocations: 7.938 kB / 0.9009 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.1944, allocations: 11.98 kB / 0.9009 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008361/0.1952, allocations: 1.4 MB / 0.9023 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.1953, allocations: 0.7004 MB / 0.9029 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.195e-05/0.1954, allocations: 8.422 kB / 0.903 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.897e-05/0.1954, allocations: 23.38 kB / 0.903 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/0.1954, allocations: 0 / 0.903 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1198/0.3152, allocations: 1.455 MB / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/0.3154, allocations: 223.7 kB / 0.9046 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/1.899, allocations: 0 / 0.9046 GB, free: 58.97 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_ton.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)