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.001271/0.001271, allocations: 108 kB / 15.6 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.001137/0.001137, allocations: 196.4 kB / 16.53 MB, free: 6.672 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.456/1.456, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.7/1.7, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.002237/0.002238, allocations: 67.58 kB / 0.6716 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2286, allocations: 114.6 MB / 0.7835 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003012/0.2317, allocations: 1.667 MB / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006955/0.2324, allocations: 395.8 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.19e-05/0.2325, allocations: 4 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.2326, allocations: 7.875 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.768e-05/0.2327, allocations: 27.72 kB / 0.7855 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004463/0.2331, allocations: 119.6 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.2333, allocations: 119.6 kB / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.2334, allocations: 36.2 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.992e-05/0.2335, allocations: 35.86 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.735e-05/0.2336, allocations: 39.83 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.2336, allocations: 8 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.2337, allocations: 67.94 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.975e-05/0.2338, allocations: 23.92 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.393e-05/0.2338, allocations: 43.8 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.234, allocations: 131.6 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.234, allocations: 0 / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.183e-06/0.234, allocations: 0 / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.2341, allocations: 0 / 0.7861 GB, free: 10.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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00057/0.2346, allocations: 415.1 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.2347, allocations: 16.03 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.882e-05/0.2347, allocations: 38.73 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002229/0.2349, allocations: 24.83 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.2351, allocations: 203.5 kB / 0.7868 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.152e-05/0.2352, allocations: 30.27 kB / 0.7868 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.2352, allocations: 8.375 kB / 0.7868 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.2355, allocations: 106.9 kB / 0.7869 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.2355, allocations: 11.94 kB / 0.7869 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.2355, allocations: 3.938 kB / 0.7869 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2355, allocations: 4 kB / 0.7869 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002465/0.2358, allocations: 87.83 kB / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006734/0.2365, allocations: 388.4 kB / 0.7874 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005271/0.237, allocations: 126.5 kB / 0.7875 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.2372, allocations: 44.88 kB / 0.7876 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.2372, allocations: 4 kB / 0.7876 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.2372, allocations: 30.56 kB / 0.7876 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.2372, allocations: 0 / 0.7876 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.00041/0.2376, allocations: 133.8 kB / 0.7877 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.2377, allocations: 55.34 kB / 0.7878 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.2378, allocations: 140.5 kB / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.2378, allocations: 33.64 kB / 0.7879 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.2379, allocations: 104 kB / 0.788 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.2379, allocations: 23.66 kB / 0.7881 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.2379, allocations: 17.72 kB / 0.7881 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.22e-05/0.238, allocations: 322.8 kB / 0.7884 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.2381, allocations: 27.97 kB / 0.7884 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.2383, allocations: 45.7 kB / 0.7884 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.2385, allocations: 73.67 kB / 0.7885 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2385, allocations: 0 / 0.7885 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002471/0.2387, allocations: 113.5 kB / 0.7886 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.2388, allocations: 8.031 kB / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.2388, allocations: 0 / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2388, allocations: 3.938 kB / 0.7886 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.2389, allocations: 19.98 kB / 0.7887 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.882e-06/0.2389, allocations: 0 / 0.7887 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.244e-05/0.239, allocations: 15.92 kB / 0.7887 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.239, allocations: 4 kB / 0.7887 GB, free: 7.734 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 7.675e-05/0.2391, allocations: 117.8 kB / 0.7888 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.562e-05/0.2391, allocations: 7.906 kB / 0.7888 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.308e-05/0.2392, allocations: 20.7 kB / 0.7888 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2392, allocations: 11.88 kB / 0.7888 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2392, allocations: 0 / 0.7888 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2392, allocations: 0 / 0.7888 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.2394, allocations: 197.5 kB / 0.789 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2394, allocations: 7.984 kB / 0.789 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.741e-05/0.2395, allocations: 12 kB / 0.789 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2395, allocations: 0 / 0.789 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.2395, allocations: 3.984 kB / 0.789 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.2395, allocations: 3.938 kB / 0.789 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2395, allocations: 4 kB / 0.789 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.2398, allocations: 203.8 kB / 0.7892 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.2399, allocations: 85.02 kB / 0.7893 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.2399, allocations: 8 kB / 0.7893 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.2401, allocations: 15.92 kB / 0.7893 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.2401, allocations: 7.984 kB / 0.7894 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.2401, allocations: 4 kB / 0.7894 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7e-05/0.2402, allocations: 110.4 kB / 0.7895 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2402, allocations: 0 / 0.7895 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002387/0.2405, allocations: 20 kB / 0.7895 GB, free: 6.816 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.0005639/0.241, allocations: 0.7397 MB / 0.7902 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002562/0.2413, allocations: 71.94 kB / 0.7903 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2413, allocations: 0 / 0.7903 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.2414, allocations: 39.92 kB / 0.7903 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.2418, allocations: 39.91 kB / 0.7903 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.2436, allocations: 1.543 MB / 0.7919 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.2438, allocations: 0.6963 MB / 0.7925 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.952e-05/0.2439, allocations: 16.66 kB / 0.7926 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.747e-05/0.244, allocations: 27.42 kB / 0.7926 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.244, allocations: 0 / 0.7926 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.262, allocations: 2.68 MB / 0.7952 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.189/7.451, allocations: 11.53 kB / 0.7952 GB, free: 0.9297 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)