Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.638/1.638, allocations: 288.4 MB / 303.6 MB, free: 8.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 184.4 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.4 MB / 0.631 GB, free: 9.871 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008184/0.0008184, allocations: 100.9 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.000357, allocations: 15.56 kB / 0.8676 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1855, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001101/0.1866, allocations: 0.9862 MB / 0.9812 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004319/0.1871, allocations: 275.4 kB / 0.9814 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.912e-05/0.1871, allocations: 0 / 0.9814 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.014e-05/0.1872, allocations: 0 / 0.9814 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.354e-05/0.1872, allocations: 3.938 kB / 0.9814 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.1875, allocations: 43.83 kB / 0.9815 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.493e-05/0.1875, allocations: 15.92 kB / 0.9815 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.571e-05/0.1876, allocations: 0 / 0.9815 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.125e-05/0.1876, allocations: 15.92 kB / 0.9815 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.313e-05/0.1876, allocations: 4 kB / 0.9815 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.1877, allocations: 0 / 0.9815 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.1878, allocations: 55.94 kB / 0.9816 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.776e-06/0.1878, allocations: 8 kB / 0.9816 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.492e-05/0.1878, allocations: 33.64 kB / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.128e-05/0.1879, allocations: 36.19 kB / 0.9816 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1879, allocations: 7.984 kB / 0.9816 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.532e-06/0.1879, allocations: 0 / 0.9816 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.1879, allocations: 0 / 0.9816 GB, free: 25.74 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002984/0.1882, allocations: 323.6 kB / 0.9819 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1883, allocations: 12.02 kB / 0.982 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.827e-05/0.1883, allocations: 38.75 kB / 0.982 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001974/0.1885, allocations: 20.83 kB / 0.982 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.837e-05/0.1886, allocations: 168.4 kB / 0.9822 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.1886, allocations: 4.312 kB / 0.9822 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.1886, allocations: 384 / 0.9822 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.1887, allocations: 50.17 kB / 0.9822 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1888, allocations: 3.938 kB / 0.9822 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.1888, allocations: 0 / 0.9822 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1888, allocations: 0 / 0.9822 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.032e-05/0.1888, allocations: 16 kB / 0.9822 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001078/0.1889, allocations: 157.7 kB / 0.9824 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/0.1906, allocations: 266.5 kB / 0.9826 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.691e-05/0.1907, allocations: 24.83 kB / 0.9827 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.1907, allocations: 8 kB / 0.9827 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.196e-05/0.1907, allocations: 38.5 kB / 0.9827 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.1907, allocations: 3.938 kB / 0.9827 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001368/0.1909, allocations: 61.62 kB / 0.9828 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.1909, allocations: 51.41 kB / 0.9828 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.606e-05/0.191, allocations: 93.86 kB / 0.9829 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.191, allocations: 25.7 kB / 0.9829 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.466e-05/0.191, allocations: 84.27 kB / 0.983 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.191, allocations: 15.8 kB / 0.983 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.191, allocations: 4 kB / 0.983 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.118e-05/0.1911, allocations: 310.8 kB / 0.9833 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.557e-05/0.1911, allocations: 4 kB / 0.9833 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.523e-05/0.1911, allocations: 12 kB / 0.9834 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.012e-05/0.1912, allocations: 28.78 kB / 0.9834 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1912, allocations: 0 / 0.9834 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.433e-05/0.1912, allocations: 53.69 kB / 0.9834 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1913, allocations: 13.81 kB / 0.9834 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1913, allocations: 0 / 0.9834 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.1913, allocations: 4 kB / 0.9834 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.262e-05/0.1913, allocations: 4 kB / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.1914, allocations: 0 / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/0.1914, allocations: 4 kB / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-06/0.1914, allocations: 4 kB / 0.9835 GB, free: 23.64 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.036e-05/0.1914, allocations: 117.7 kB / 0.9836 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.508e-06/0.1915, allocations: 7.875 kB / 0.9836 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.417e-05/0.1915, allocations: 15.48 kB / 0.9836 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1915, allocations: 4 kB / 0.9836 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1915, allocations: 0 / 0.9836 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1915, allocations: 0 / 0.9836 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.061e-05/0.1916, allocations: 153.7 kB / 0.9837 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1916, allocations: 0 / 0.9837 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.339e-05/0.1916, allocations: 8 kB / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1916, allocations: 3.938 kB / 0.9838 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.1917, allocations: 0 / 0.9838 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.1917, allocations: 0 / 0.9838 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1917, allocations: 0 / 0.9838 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.457e-05/0.1917, allocations: 85.03 kB / 0.9838 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.1918, allocations: 85.09 kB / 0.9839 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.1918, allocations: 3.938 kB / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.89e-05/0.1919, allocations: 7.938 kB / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.1919, allocations: 384 / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.1919, allocations: 8 kB / 0.9839 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.36e-05/0.1919, allocations: 79.28 kB / 0.984 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.1919, allocations: 0 / 0.984 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001648/0.1921, allocations: 11.94 kB / 0.984 GB, free: 22.97 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002146/0.1923, allocations: 0.6163 MB / 0.9846 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.287e-05/0.1924, allocations: 23.94 kB / 0.9846 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1924, allocations: 8.094 kB / 0.9847 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.775e-05/0.1924, allocations: 11.98 kB / 0.9847 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.1926, allocations: 13.67 kB / 0.9847 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.193, allocations: 166.1 kB / 0.9848 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.947e-05/0.1931, allocations: 0.6731 MB / 0.9855 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.699e-05/0.1931, allocations: 4 kB / 0.9855 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.1932, allocations: 11.44 kB / 0.9855 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of SimCode: time 2.81e-07/0.1932, allocations: 0 / 0.9855 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01047/0.2036, allocations: 1.098 MB / 0.9866 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000135/0.2038, allocations: 203 kB / 0.9868 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.453/1.657, allocations: 6.812 kB / 0.9868 GB, free: 20.17 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)