Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",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.00138/0.00138, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.00145, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.283/1.283, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.631/1.631, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001583/0.001583, allocations: 67.25 kB / 0.6716 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1887, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002515/0.1913, allocations: 1.492 MB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002725/0.1916, allocations: 135.6 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.923e-05/0.1916, allocations: 0 / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.489e-05/0.1917, allocations: 3.938 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.235e-05/0.1917, allocations: 3.938 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.192, allocations: 71.78 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.998e-05/0.1921, allocations: 59.89 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.233e-05/0.1922, allocations: 15.98 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.027e-05/0.1923, allocations: 31.92 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.906e-05/0.1923, allocations: 19.86 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.1923, allocations: 4 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.677e-05/0.1924, allocations: 8 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.589e-05/0.1924, allocations: 15.97 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.1924, allocations: 31.8 kB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.841e-05/0.1925, allocations: 52.08 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1925, allocations: 4 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1925, allocations: 0 / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.1925, allocations: 3.984 kB / 0.7854 GB, free: 11.41 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004511/0.193, allocations: 375.2 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.193, allocations: 8.031 kB / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.197e-05/0.1931, allocations: 34.75 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.1931, allocations: 8.922 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.1932, allocations: 164.3 kB / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.281e-05/0.1933, allocations: 34.27 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-06/0.1933, allocations: 8.312 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.1935, allocations: 77.97 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1935, allocations: 3.938 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.1936, allocations: 4 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1936, allocations: 0 / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.1937, allocations: 47.95 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005275/0.1943, allocations: 320.8 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.1944, allocations: 50.48 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.206e-05/0.1945, allocations: 28.94 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.367e-06/0.1945, allocations: 3.984 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.1946, allocations: 38.56 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.1946, allocations: 0 / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003328/0.1949, allocations: 97.55 kB / 0.7866 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.1949, allocations: 51.41 kB / 0.7867 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.869e-05/0.195, allocations: 109.8 kB / 0.7868 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.195, allocations: 29.7 kB / 0.7868 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.1951, allocations: 99.97 kB / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.1951, allocations: 11.91 kB / 0.7869 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/0.1951, allocations: 9.719 kB / 0.7869 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.376e-05/0.1952, allocations: 322.8 kB / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.078e-05/0.1953, allocations: 23.97 kB / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.779e-05/0.1954, allocations: 29.7 kB / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.1956, allocations: 61.67 kB / 0.7873 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1956, allocations: 0 / 0.7873 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002026/0.1958, allocations: 89.5 kB / 0.7874 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.1958, allocations: 4 kB / 0.7874 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1958, allocations: 0 / 0.7874 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.1958, allocations: 0 / 0.7874 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.265e-05/0.1959, allocations: 20.14 kB / 0.7874 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1959, allocations: 0 / 0.7874 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.67e-05/0.196, allocations: 11.98 kB / 0.7875 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.196, allocations: 8 kB / 0.7875 GB, free: 9.02 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 (5): * Single equations (assignments): 5 * 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.297e-05/0.1961, allocations: 121.7 kB / 0.7876 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.1961, allocations: 7.906 kB / 0.7876 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.346e-05/0.1962, allocations: 7.906 kB / 0.7876 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1962, allocations: 0 / 0.7876 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1962, allocations: 11.88 kB / 0.7876 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1962, allocations: 0 / 0.7876 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.1963, allocations: 177.6 kB / 0.7878 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1963, allocations: 0 / 0.7878 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.846e-05/0.1964, allocations: 11.98 kB / 0.7878 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1964, allocations: 0 / 0.7878 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1964, allocations: 4 kB / 0.7878 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.1964, allocations: 4 kB / 0.7878 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1964, allocations: 0 / 0.7878 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.1967, allocations: 175.7 kB / 0.788 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.08e-05/0.1967, allocations: 85.06 kB / 0.788 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.1967, allocations: 3.984 kB / 0.788 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.1969, allocations: 11.98 kB / 0.7881 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.1969, allocations: 7.938 kB / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.1969, allocations: 3.984 kB / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.686e-05/0.197, allocations: 91.28 kB / 0.7882 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.197, allocations: 0 / 0.7882 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002175/0.1972, allocations: 8 kB / 0.7882 GB, free: 8.199 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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 Backend phase and start with SimCode phase: time 0.0004622/0.1976, allocations: 0.7046 MB / 0.7888 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002125/0.1979, allocations: 55.89 kB / 0.7889 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1979, allocations: 0 / 0.7889 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.49e-05/0.198, allocations: 23.98 kB / 0.7889 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.1982, allocations: 8 kB / 0.7889 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.1995, allocations: 1.332 MB / 0.7902 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.1997, allocations: 0.6879 MB / 0.7909 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.682e-05/0.1997, allocations: 8 kB / 0.7909 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.1998, allocations: 15.42 kB / 0.7909 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.1998, allocations: 0 / 0.7909 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04018/0.2399, allocations: 1.755 MB / 0.7926 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.92/9.16, allocations: 11.73 kB / 0.7927 GB, free: 3.551 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)