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.001223/0.001223, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001061/0.001061, allocations: 194.8 kB / 16.26 MB, free: 6.621 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.258/1.258, allocations: 205.1 MB / 222.1 MB, free: 4.68 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.62/1.62, allocations: 292.3 MB / 0.5486 GB, free: 13.59 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.001334/0.001334, allocations: 69.72 kB / 0.6711 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1885, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001933/0.1905, allocations: 0.9046 MB / 0.7839 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001127/0.1906, allocations: 51.7 kB / 0.7839 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.341e-05/0.1907, allocations: 4 kB / 0.7839 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.715e-05/0.1907, allocations: 3.938 kB / 0.7839 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.379e-05/0.1908, allocations: 7.938 kB / 0.7839 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.746e-05/0.1908, allocations: 19.98 kB / 0.7839 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.621e-05/0.1909, allocations: 63.83 kB / 0.784 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.1911, allocations: 41.39 kB / 0.784 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.502e-05/0.1911, allocations: 35.73 kB / 0.7841 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.45e-05/0.1912, allocations: 27.86 kB / 0.7841 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.1912, allocations: 4 kB / 0.7841 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.758e-06/0.1912, allocations: 8 kB / 0.7841 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.003e-05/0.1912, allocations: 19.92 kB / 0.7841 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.684e-05/0.1913, allocations: 35.73 kB / 0.7842 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.399e-05/0.1914, allocations: 83.91 kB / 0.7843 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1914, allocations: 0 / 0.7843 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1914, allocations: 4 kB / 0.7843 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.1914, allocations: 0 / 0.7843 GB, free: 12.48 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.0003871/0.1918, allocations: 383.2 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.1918, allocations: 12.03 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.261e-05/0.1919, allocations: 38.73 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.587e-05/0.1919, allocations: 12.75 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.1921, allocations: 204.1 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.1921, allocations: 4.375 kB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.1921, allocations: 16.38 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.1923, allocations: 95.95 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.1923, allocations: 7.875 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.1923, allocations: 3.938 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.1923, allocations: 4 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.223e-05/0.1924, allocations: 39.92 kB / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004928/0.1929, allocations: 449.7 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.916e-05/0.193, allocations: 37.16 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.438e-05/0.193, allocations: 13.84 kB / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.193, allocations: 0 / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.1931, allocations: 46.48 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.1931, allocations: 0 / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001522/0.1932, allocations: 53.55 kB / 0.7856 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.1933, allocations: 85.05 kB / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.1934, allocations: 175.2 kB / 0.7859 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.1934, allocations: 25.7 kB / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.078e-05/0.1935, allocations: 108.2 kB / 0.786 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.648e-06/0.1935, allocations: 11.89 kB / 0.786 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.1935, allocations: 13.72 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.1936, allocations: 322.8 kB / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.943e-05/0.1937, allocations: 8 kB / 0.7863 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.21e-05/0.1937, allocations: 17.72 kB / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.022e-05/0.1937, allocations: 29.72 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1937, allocations: 3.938 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.091e-05/0.1938, allocations: 61.59 kB / 0.7864 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1939, allocations: 7.938 kB / 0.7864 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1939, allocations: 0 / 0.7864 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.1939, allocations: 96 / 0.7864 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.984e-05/0.1939, allocations: 8 kB / 0.7865 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1939, allocations: 3.938 kB / 0.7865 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.196e-05/0.194, allocations: 7.891 kB / 0.7865 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.194, allocations: 8.062 kB / 0.7865 GB, free: 9.934 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.476e-05/0.1941, allocations: 121.8 kB / 0.7866 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/0.1941, allocations: 11.84 kB / 0.7866 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.31e-05/0.1941, allocations: 12.56 kB / 0.7866 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1942, allocations: 0 / 0.7866 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1942, allocations: 0 / 0.7866 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.1942, allocations: 0 / 0.7866 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.1945, allocations: 486.8 kB / 0.7871 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1945, allocations: 0 / 0.7871 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.343e-05/0.1946, allocations: 7.938 kB / 0.7871 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1946, allocations: 0 / 0.7871 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.1946, allocations: 0 / 0.7871 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1946, allocations: 3.938 kB / 0.7871 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1946, allocations: 4 kB / 0.7871 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.683e-05/0.1947, allocations: 85.83 kB / 0.7872 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.359e-05/0.1947, allocations: 96.91 kB / 0.7873 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.1948, allocations: 4 kB / 0.7873 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.434e-05/0.1948, allocations: 0 / 0.7873 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.013e-05/0.1948, allocations: 4 kB / 0.7873 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.1948, allocations: 0 / 0.7873 GB, free: 9 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.453e-05/0.1949, allocations: 128 kB / 0.7874 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1949, allocations: 0 / 0.7874 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001811/0.1951, allocations: 8 kB / 0.7874 GB, free: 8.867 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.0003439/0.1954, allocations: 0.6171 MB / 0.788 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.908e-05/0.1955, allocations: 19.94 kB / 0.788 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1955, allocations: 4.156 kB / 0.788 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.601e-05/0.1956, allocations: 11.98 kB / 0.788 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.1957, allocations: 11.94 kB / 0.788 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.1969, allocations: 1.383 MB / 0.7894 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.1972, allocations: 0.6963 MB / 0.7901 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.327e-05/0.1972, allocations: 8.422 kB / 0.7901 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.1973, allocations: 27.44 kB / 0.7901 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.1973, allocations: 0 / 0.7901 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0105/0.2078, allocations: 1.582 MB / 0.7917 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002274/0.208, allocations: 210.3 kB / 0.7919 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/1.827, allocations: 0 / 0.7919 GB, free: 4.223 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)