Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.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_psi,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",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.001171/0.001171, 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.001237/0.001236, allocations: 195.3 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.214/1.214, allocations: 205.1 MB / 222 MB, free: 4.98 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.553/1.553, allocations: 292.3 MB / 0.5484 GB, free: 13.65 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.001357/0.001357, allocations: 69.33 kB / 0.6709 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1887, allocations: 114.6 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002035/0.1908, allocations: 0.8983 MB / 0.7837 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 9.602e-05/0.1909, allocations: 43.72 kB / 0.7837 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.749e-05/0.191, allocations: 8 kB / 0.7837 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.816e-05/0.191, allocations: 7.922 kB / 0.7837 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.007e-05/0.1911, allocations: 7.938 kB / 0.7838 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.963e-05/0.1911, allocations: 15.98 kB / 0.7838 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.762e-05/0.1912, allocations: 63.78 kB / 0.7838 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.1914, allocations: 45.38 kB / 0.7839 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.216e-05/0.1914, allocations: 23.86 kB / 0.7839 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.434e-05/0.1915, allocations: 31.8 kB / 0.7839 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.1915, allocations: 4 kB / 0.7839 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.064e-05/0.1915, allocations: 7.938 kB / 0.7839 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.1915, allocations: 11.92 kB / 0.7839 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.94e-05/0.1916, allocations: 35.8 kB / 0.784 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.176e-05/0.1917, allocations: 79.84 kB / 0.7841 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1917, allocations: 8 kB / 0.7841 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.12e-07/0.1917, allocations: 0 / 0.7841 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.1917, allocations: 0 / 0.7841 GB, free: 12.61 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.0004175/0.1921, allocations: 391.1 kB / 0.7844 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.1922, allocations: 8.031 kB / 0.7844 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.558e-05/0.1922, allocations: 42.73 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.633e-05/0.1922, allocations: 8.844 kB / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.1924, allocations: 196.1 kB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.223e-06/0.1925, allocations: 8.375 kB / 0.7847 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.1925, allocations: 8.375 kB / 0.7847 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.1926, allocations: 102.5 kB / 0.7848 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.1926, allocations: 3.938 kB / 0.7848 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1927, allocations: 8 kB / 0.7848 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1927, allocations: 0 / 0.7848 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.589e-05/0.1927, allocations: 39.92 kB / 0.7848 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005004/0.1933, allocations: 445.7 kB / 0.7853 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.622e-05/0.1933, allocations: 41.25 kB / 0.7853 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.414e-05/0.1934, allocations: 13.72 kB / 0.7853 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.1934, allocations: 12.05 kB / 0.7853 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.1934, allocations: 34.55 kB / 0.7854 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1934, allocations: 0 / 0.7854 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001632/0.1936, allocations: 61.39 kB / 0.7854 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.1936, allocations: 81.11 kB / 0.7855 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.1938, allocations: 167.3 kB / 0.7857 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.1938, allocations: 25.95 kB / 0.7857 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.01e-05/0.1939, allocations: 116 kB / 0.7858 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.196e-06/0.1939, allocations: 7.891 kB / 0.7858 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.1939, allocations: 17.72 kB / 0.7858 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1941, allocations: 318.8 kB / 0.7861 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.881e-05/0.1941, allocations: 4 kB / 0.7861 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.307e-05/0.1941, allocations: 21.72 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.614e-05/0.1942, allocations: 33.66 kB / 0.7862 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1942, allocations: 0 / 0.7862 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.715e-05/0.1943, allocations: 65.53 kB / 0.7862 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.1943, allocations: 7.938 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.1943, allocations: 0 / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.1943, allocations: 7.938 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.147e-05/0.1944, allocations: 4 kB / 0.7863 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.1944, allocations: 0 / 0.7863 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.207e-05/0.1944, allocations: 7.969 kB / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.1944, allocations: 4 kB / 0.7863 GB, free: 10.07 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 7.461e-05/0.1945, allocations: 121.8 kB / 0.7864 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.1946, allocations: 15.78 kB / 0.7864 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.282e-05/0.1946, allocations: 12.56 kB / 0.7864 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.1946, allocations: 0 / 0.7864 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1946, allocations: 4 kB / 0.7864 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1946, allocations: 4 kB / 0.7864 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003672/0.195, allocations: 478.8 kB / 0.7869 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.195, allocations: 0 / 0.7869 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.155e-05/0.195, allocations: 4 kB / 0.7869 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.195, allocations: 0 / 0.7869 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.195, allocations: 4 kB / 0.7869 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.195, allocations: 0 / 0.7869 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.195, allocations: 3.938 kB / 0.7869 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.429e-05/0.1951, allocations: 93.8 kB / 0.787 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.362e-05/0.1952, allocations: 85 kB / 0.7871 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.1952, allocations: 4 kB / 0.7871 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.55e-05/0.1952, allocations: 4 kB / 0.7871 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.758e-06/0.1953, allocations: 0 / 0.7871 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.1953, allocations: 0 / 0.7871 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.911e-05/0.1954, allocations: 124 kB / 0.7872 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1954, allocations: 32 / 0.7872 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001829/0.1955, allocations: 12 kB / 0.7872 GB, free: 9.008 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.0003532/0.1959, allocations: 0.617 MB / 0.7878 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.873e-05/0.196, allocations: 24.03 kB / 0.7878 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.196, allocations: 0 / 0.7878 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.554e-05/0.196, allocations: 11.92 kB / 0.7878 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.1962, allocations: 8 kB / 0.7878 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.1973, allocations: 1.393 MB / 0.7892 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.1976, allocations: 0.6965 MB / 0.7899 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.554e-05/0.1976, allocations: 12.42 kB / 0.7899 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/0.1977, allocations: 19.44 kB / 0.7899 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.1977, allocations: 0 / 0.7899 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01038/0.2081, allocations: 1.533 MB / 0.7914 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.2083, allocations: 205.1 kB / 0.7916 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/1.762, allocations: 3.938 kB / 0.7916 GB, free: 4.395 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1)