Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.HumidityRatioPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.001098/0.001098, allocations: 109.4 kB / 15.69 MB, free: 128 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.001171/0.001171, allocations: 189.8 kB / 16.62 MB, free: 6.613 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.369/1.369, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.739/1.739, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.00157/0.00157, allocations: 64.98 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2113, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002976/0.2143, allocations: 1.667 MB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000767/0.2151, allocations: 399.8 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.552e-05/0.2152, allocations: 0 / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.2154, allocations: 15.88 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.492e-05/0.2154, allocations: 23.72 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004281/0.2159, allocations: 130.3 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.216, allocations: 107.6 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.2162, allocations: 40.2 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.686e-05/0.2163, allocations: 47.83 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.318e-05/0.2163, allocations: 39.84 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.2164, allocations: 8 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.2165, allocations: 55.95 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.088e-05/0.2165, allocations: 23.92 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.557e-05/0.2166, allocations: 47.77 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.2168, allocations: 135.5 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2168, allocations: 0 / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2168, allocations: 0 / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.2168, allocations: 0 / 0.7863 GB, free: 10.52 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005564/0.2174, allocations: 419.1 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2175, allocations: 8.031 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.082e-05/0.2175, allocations: 38.75 kB / 0.7867 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/0.2177, allocations: 32.75 kB / 0.7867 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.218, allocations: 200.2 kB / 0.7869 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.822e-05/0.218, allocations: 38.27 kB / 0.787 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.2181, allocations: 8.375 kB / 0.787 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.2183, allocations: 105.9 kB / 0.7871 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2184, allocations: 0 / 0.7871 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.2184, allocations: 0 / 0.7871 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.2184, allocations: 4 kB / 0.7871 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002582/0.2187, allocations: 83.78 kB / 0.7872 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000688/0.2194, allocations: 380.5 kB / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004991/0.2199, allocations: 134.5 kB / 0.7877 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.22, allocations: 44.83 kB / 0.7877 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.22, allocations: 4 kB / 0.7877 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.22, allocations: 30.72 kB / 0.7877 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.2201, allocations: 0 / 0.7877 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004049/0.2205, allocations: 133.6 kB / 0.7879 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.2205, allocations: 63.34 kB / 0.7879 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.2206, allocations: 140.3 kB / 0.7881 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.2206, allocations: 29.7 kB / 0.7881 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.2207, allocations: 96.05 kB / 0.7882 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.2207, allocations: 27.64 kB / 0.7882 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.2208, allocations: 21.66 kB / 0.7882 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.396e-05/0.2209, allocations: 318.8 kB / 0.7885 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.221, allocations: 31.98 kB / 0.7886 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.2211, allocations: 45.69 kB / 0.7886 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.2213, allocations: 82.08 kB / 0.7887 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2213, allocations: 0 / 0.7887 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002565/0.2216, allocations: 113.5 kB / 0.7888 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.2216, allocations: 8 kB / 0.7888 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.2216, allocations: 0 / 0.7888 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.2216, allocations: 3.938 kB / 0.7888 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.2218, allocations: 23.92 kB / 0.7888 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2218, allocations: 0 / 0.7888 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.085e-05/0.2219, allocations: 15.92 kB / 0.7888 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.2219, allocations: 4 kB / 0.7888 GB, free: 7.633 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 (8): * Single equations (assignments): 8 * 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 8.357e-05/0.222, allocations: 118.5 kB / 0.7889 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.222, allocations: 7.906 kB / 0.789 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.727e-05/0.222, allocations: 12.72 kB / 0.789 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2221, allocations: 3.938 kB / 0.789 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.2221, allocations: 3.984 kB / 0.789 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2221, allocations: 4 kB / 0.789 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.2223, allocations: 197.5 kB / 0.7892 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2223, allocations: 0 / 0.7892 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.888e-05/0.2224, allocations: 15.98 kB / 0.7892 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2224, allocations: 11.94 kB / 0.7892 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.2224, allocations: 0 / 0.7892 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.2224, allocations: 3.938 kB / 0.7892 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2224, allocations: 0 / 0.7892 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.2227, allocations: 203.4 kB / 0.7894 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/0.2228, allocations: 85.02 kB / 0.7895 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.2228, allocations: 4 kB / 0.7895 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.223, allocations: 15.92 kB / 0.7895 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.223, allocations: 11.92 kB / 0.7895 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.223, allocations: 4 kB / 0.7895 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.384e-05/0.2231, allocations: 106.1 kB / 0.7896 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.293e-06/0.2231, allocations: 0 / 0.7896 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002709/0.2234, allocations: 23.94 kB / 0.7896 GB, free: 6.723 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 (7): * Single equations (assignments): 7 * 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.0005287/0.2239, allocations: 0.7319 MB / 0.7903 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002577/0.2242, allocations: 75.89 kB / 0.7904 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2242, allocations: 0 / 0.7904 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.2243, allocations: 48.02 kB / 0.7905 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.2247, allocations: 31.84 kB / 0.7905 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.2264, allocations: 1.552 MB / 0.792 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.2266, allocations: 0.6924 MB / 0.7927 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.813e-05/0.2267, allocations: 16.66 kB / 0.7927 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.541e-05/0.2268, allocations: 23.44 kB / 0.7927 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.2268, allocations: 0 / 0.7927 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01791/0.2447, allocations: 2.711 MB / 0.7954 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/7.848, allocations: 8.047 kB / 0.7954 GB, free: 0.832 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)