Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.Functions.Examples.pW_X,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006973/0.0006974, allocations: 97.95 kB / 15.36 MB, free: 0.7305 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.0007616/0.0007616, allocations: 173.1 kB / 16.27 MB, free: 6.66 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.155/1.155, allocations: 205.4 MB / 222.4 MB, free: 5.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.511/1.511, allocations: 292.7 MB / 0.5502 GB, free: 14.43 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.0004674/0.0004675, allocations: 16.8 kB / 0.6744 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1889, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00111/0.1901, allocations: 0.9899 MB / 0.789 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004765/0.1905, allocations: 295 kB / 0.7892 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.135e-05/0.1906, allocations: 0 / 0.7892 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.261e-05/0.1906, allocations: 3.984 kB / 0.7893 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.646e-05/0.1906, allocations: 0 / 0.7893 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.1908, allocations: 47.83 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.375e-05/0.1909, allocations: 19.86 kB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.379e-05/0.1909, allocations: 4 kB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.067e-05/0.191, allocations: 11.98 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.672e-05/0.191, allocations: 3.938 kB / 0.7893 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.737e-06/0.191, allocations: 4 kB / 0.7893 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.1911, allocations: 51.95 kB / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.256e-06/0.1911, allocations: 0 / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/0.1912, allocations: 41.62 kB / 0.7894 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.1913, allocations: 52.17 kB / 0.7895 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1913, allocations: 0 / 0.7895 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.133e-06/0.1913, allocations: 0 / 0.7895 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.1913, allocations: 0 / 0.7895 GB, free: 9.93 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002884/0.1916, allocations: 331.5 kB / 0.7898 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.1916, allocations: 8.031 kB / 0.7898 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.298e-05/0.1917, allocations: 34.75 kB / 0.7898 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.1919, allocations: 28.81 kB / 0.7899 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.815e-05/0.192, allocations: 160.4 kB / 0.79 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-06/0.192, allocations: 384 / 0.79 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.158e-06/0.192, allocations: 8.312 kB / 0.79 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.641e-05/0.1921, allocations: 42.25 kB / 0.7901 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.1921, allocations: 3.938 kB / 0.7901 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.1921, allocations: 3.938 kB / 0.7901 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1921, allocations: 0 / 0.7901 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.258e-05/0.1922, allocations: 23.97 kB / 0.7901 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001238/0.1923, allocations: 157.7 kB / 0.7902 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.194, allocations: 270.3 kB / 0.7905 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.818e-05/0.1941, allocations: 24.86 kB / 0.7905 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.1941, allocations: 0 / 0.7905 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.1941, allocations: 34.56 kB / 0.7906 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.1941, allocations: 0 / 0.7906 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.000129/0.1943, allocations: 61.62 kB / 0.7906 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.1943, allocations: 55.41 kB / 0.7907 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.256e-05/0.1943, allocations: 93.84 kB / 0.7908 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.1944, allocations: 33.77 kB / 0.7908 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.231e-05/0.1944, allocations: 80.14 kB / 0.7909 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.1944, allocations: 15.81 kB / 0.7909 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.1945, allocations: 13.66 kB / 0.7909 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.898e-05/0.1945, allocations: 310.8 kB / 0.7912 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.982e-05/0.1946, allocations: 11.98 kB / 0.7912 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.641e-05/0.1946, allocations: 12 kB / 0.7912 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.099e-05/0.1946, allocations: 20.86 kB / 0.7912 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1946, allocations: 0 / 0.7912 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.061e-05/0.1947, allocations: 57.69 kB / 0.7913 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.1947, allocations: 7.938 kB / 0.7913 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.1947, allocations: 4 kB / 0.7913 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.1948, allocations: 0 / 0.7913 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.151e-05/0.1948, allocations: 7.938 kB / 0.7913 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.1948, allocations: 0 / 0.7913 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.776e-05/0.1949, allocations: 3.984 kB / 0.7913 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.1949, allocations: 8 kB / 0.7913 GB, free: 7.805 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.574e-05/0.1949, allocations: 116.6 kB / 0.7914 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-06/0.195, allocations: 7.938 kB / 0.7914 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.195, allocations: 11.5 kB / 0.7915 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.195, allocations: 0 / 0.7915 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.195, allocations: 0 / 0.7915 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.195, allocations: 3.938 kB / 0.7915 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.761e-05/0.1951, allocations: 157.7 kB / 0.7916 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1951, allocations: 0 / 0.7916 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-05/0.1952, allocations: 8 kB / 0.7916 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1952, allocations: 3.938 kB / 0.7916 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-06/0.1952, allocations: 0 / 0.7916 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1952, allocations: 4 kB / 0.7916 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1952, allocations: 3.984 kB / 0.7916 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.759e-05/0.1953, allocations: 85.28 kB / 0.7917 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.1953, allocations: 85.11 kB / 0.7918 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.1954, allocations: 3.938 kB / 0.7918 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.472e-05/0.1954, allocations: 0 / 0.7918 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.1954, allocations: 7.984 kB / 0.7918 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.1954, allocations: 0 / 0.7918 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.68e-05/0.1955, allocations: 79.28 kB / 0.7919 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1955, allocations: 0 / 0.7919 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001655/0.1956, allocations: 8 kB / 0.7919 GB, free: 7.129 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.0003097/0.196, allocations: 0.6113 MB / 0.7925 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.819e-05/0.196, allocations: 39.95 kB / 0.7925 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1961, allocations: 0 / 0.7925 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.099e-05/0.1961, allocations: 12 kB / 0.7925 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.1963, allocations: 10.94 kB / 0.7925 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.1966, allocations: 170.1 kB / 0.7927 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.1969, allocations: 0.6848 MB / 0.7934 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.225e-05/0.1969, allocations: 4 kB / 0.7934 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.1969, allocations: 7.438 kB / 0.7934 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of SimCode: time 3.7e-07/0.1969, allocations: 0 / 0.7934 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.152/1.349, allocations: 1.109 MB / 0.7945 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003049/1.349, allocations: 212.8 kB / 0.7947 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/2.991, allocations: 0 / 0.7947 GB, free: 4.262 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)