Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",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.0009577/0.0009577, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.000988/0.0009881, allocations: 194.7 kB / 16.14 MB, free: 6.707 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.242/1.242, allocations: 205.1 MB / 222 MB, free: 4.762 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.554/1.554, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001348/0.001349, allocations: 68.34 kB / 0.6709 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1914, allocations: 114.6 MB / 0.7828 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001893/0.1933, allocations: 0.9177 MB / 0.7837 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 9.749e-05/0.1934, allocations: 43.78 kB / 0.7837 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.316e-05/0.1935, allocations: 0 / 0.7837 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.654e-05/0.1935, allocations: 3.938 kB / 0.7837 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.154e-05/0.1936, allocations: 7.922 kB / 0.7837 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.196e-05/0.1936, allocations: 16 kB / 0.7838 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.41e-05/0.1937, allocations: 71.78 kB / 0.7838 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.1939, allocations: 33.38 kB / 0.7839 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.116e-05/0.1939, allocations: 27.88 kB / 0.7839 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.065e-05/0.194, allocations: 31.78 kB / 0.7839 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.194, allocations: 8 kB / 0.7839 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.017e-05/0.194, allocations: 4 kB / 0.7839 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.054e-05/0.194, allocations: 15.92 kB / 0.7839 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.384e-05/0.1941, allocations: 27.8 kB / 0.784 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.655e-05/0.1941, allocations: 79.92 kB / 0.7841 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1942, allocations: 0 / 0.7841 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.11e-07/0.1942, allocations: 0 / 0.7841 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.1942, allocations: 0 / 0.7841 GB, free: 12.59 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003707/0.1945, allocations: 395.1 kB / 0.7844 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.1946, allocations: 8.031 kB / 0.7844 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.577e-05/0.1946, allocations: 42.73 kB / 0.7845 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.576e-05/0.1947, allocations: 20.62 kB / 0.7845 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.1948, allocations: 196.2 kB / 0.7847 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.1949, allocations: 4.375 kB / 0.7847 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.1949, allocations: 8.375 kB / 0.7847 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.195, allocations: 99.88 kB / 0.7848 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.195, allocations: 11.94 kB / 0.7848 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.195, allocations: 0 / 0.7848 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1951, allocations: 0 / 0.7848 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.347e-05/0.1951, allocations: 39.92 kB / 0.7848 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.1956, allocations: 445.7 kB / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.709e-05/0.1957, allocations: 41.22 kB / 0.7853 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.501e-05/0.1957, allocations: 17.81 kB / 0.7853 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-06/0.1957, allocations: 0 / 0.7853 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.1957, allocations: 34.56 kB / 0.7854 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.1957, allocations: 0 / 0.7854 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001522/0.1959, allocations: 65.47 kB / 0.7854 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.1959, allocations: 77.11 kB / 0.7855 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.1961, allocations: 171.2 kB / 0.7857 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.1961, allocations: 29.7 kB / 0.7857 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.762e-05/0.1962, allocations: 108 kB / 0.7858 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.955e-06/0.1962, allocations: 7.906 kB / 0.7858 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.1962, allocations: 13.72 kB / 0.7858 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.026e-05/0.1963, allocations: 323.1 kB / 0.7861 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/0.1963, allocations: 12 kB / 0.7861 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.315e-05/0.1963, allocations: 21.7 kB / 0.7861 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.192e-05/0.1964, allocations: 29.66 kB / 0.7862 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1964, allocations: 0 / 0.7862 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.404e-05/0.1965, allocations: 65.53 kB / 0.7862 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1965, allocations: 14.66 kB / 0.7862 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.1965, allocations: 4 kB / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.1965, allocations: 0 / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.848e-05/0.1966, allocations: 4 kB / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1966, allocations: 0 / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.08e-05/0.1966, allocations: 8 kB / 0.7863 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.289e-06/0.1967, allocations: 0 / 0.7863 GB, free: 10.04 MB / 0.6075 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 6.402e-05/0.1967, allocations: 121.7 kB / 0.7864 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.1968, allocations: 15.83 kB / 0.7864 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.1968, allocations: 20.55 kB / 0.7864 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1968, allocations: 0 / 0.7864 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1968, allocations: 4 kB / 0.7864 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.1968, allocations: 3.938 kB / 0.7864 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003652/0.1972, allocations: 486.7 kB / 0.7869 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1972, allocations: 0 / 0.7869 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.545e-05/0.1972, allocations: 4 kB / 0.7869 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1972, allocations: 0 / 0.7869 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.1973, allocations: 4.062 kB / 0.7869 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.1973, allocations: 0 / 0.7869 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1973, allocations: 0 / 0.7869 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.622e-05/0.1973, allocations: 85.78 kB / 0.787 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/0.1974, allocations: 92.91 kB / 0.7871 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.1974, allocations: 0 / 0.7871 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.419e-05/0.1974, allocations: 4.031 kB / 0.7871 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.004e-05/0.1975, allocations: 0 / 0.7871 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.1975, allocations: 7.984 kB / 0.7871 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.849e-05/0.1975, allocations: 124 kB / 0.7872 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1976, allocations: 0 / 0.7872 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001803/0.1977, allocations: 8 kB / 0.7872 GB, free: 8.969 MB / 0.6075 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.0003016/0.198, allocations: 0.6209 MB / 0.7878 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.798e-05/0.1981, allocations: 16 kB / 0.7878 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1981, allocations: 0 / 0.7878 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.721e-05/0.1982, allocations: 15.94 kB / 0.7878 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.1983, allocations: 6.953 kB / 0.7878 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.1994, allocations: 1.396 MB / 0.7892 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.1996, allocations: 0.7004 MB / 0.7899 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.069e-05/0.1996, allocations: 4.438 kB / 0.7899 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/0.1996, allocations: 27.42 kB / 0.7899 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.1997, allocations: 0 / 0.7899 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009745/0.2094, allocations: 1.527 MB / 0.7914 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/0.2096, allocations: 206 kB / 0.7916 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.514/1.724, allocations: 4 kB / 0.7916 GB, free: 4.352 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)