Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX",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.001394/0.001394, allocations: 100.6 kB / 15.05 MB, free: 1.105 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.001313/0.001314, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 223.2 MB / 239.9 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.088/1.088, allocations: 143.3 MB / 434.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003406, allocations: 16 kB / 0.5159 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1856, allocations: 83.41 MB / 0.5974 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001312/0.1869, allocations: 0.9862 MB / 0.5983 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1881, allocations: 0.7258 MB / 0.599 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.888e-05/0.1881, allocations: 0 / 0.599 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.1881, allocations: 0 / 0.599 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.276e-05/0.1882, allocations: 11.92 kB / 0.599 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.1886, allocations: 111.6 kB / 0.5992 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.152e-05/0.1887, allocations: 15.97 kB / 0.5992 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.1887, allocations: 4 kB / 0.5992 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.034e-05/0.1888, allocations: 8 kB / 0.5992 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.923e-05/0.1888, allocations: 15.91 kB / 0.5992 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.1889, allocations: 0 / 0.5992 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003383/0.1892, allocations: 183.8 kB / 0.5994 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/0.1892, allocations: 7.922 kB / 0.5994 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.1893, allocations: 33.7 kB / 0.5994 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.1894, allocations: 76.14 kB / 0.5995 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1895, allocations: 0 / 0.5995 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.963e-06/0.1895, allocations: 0 / 0.5995 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.1895, allocations: 0 / 0.5995 GB, free: 5.539 MB / 0.4981 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.0004252/0.1899, allocations: 355.3 kB / 0.5998 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.19, allocations: 8.031 kB / 0.5998 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.718e-05/0.19, allocations: 38.56 kB / 0.5999 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.1901, allocations: 7.859 kB / 0.5999 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.1903, allocations: 171 kB / 0.6 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.1904, allocations: 25.7 kB / 0.6001 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.1904, allocations: 11.94 kB / 0.6001 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.1906, allocations: 41.67 kB / 0.6001 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1906, allocations: 0 / 0.6001 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.1906, allocations: 4 kB / 0.6001 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.423e-06/0.1906, allocations: 0 / 0.6001 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.1908, allocations: 23.94 kB / 0.6001 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002/0.191, allocations: 157.7 kB / 0.6003 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.1912, allocations: 46.5 kB / 0.6003 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003211/0.1915, allocations: 190.2 kB / 0.6005 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.1916, allocations: 34.56 kB / 0.6005 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1916, allocations: 0 / 0.6005 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.000258/0.1918, allocations: 65.67 kB / 0.6006 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.1919, allocations: 51.41 kB / 0.6007 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.222e-05/0.192, allocations: 101.8 kB / 0.6008 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.192, allocations: 25.7 kB / 0.6008 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.1921, allocations: 84.14 kB / 0.6009 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.1921, allocations: 7.812 kB / 0.6009 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.1921, allocations: 8 kB / 0.6009 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1922, allocations: 314.8 kB / 0.6012 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.896e-05/0.1923, allocations: 11.98 kB / 0.6012 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.866e-05/0.1923, allocations: 8 kB / 0.6012 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.89e-05/0.1924, allocations: 11.98 kB / 0.6012 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1924, allocations: 0 / 0.6012 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001281/0.1925, allocations: 57.69 kB / 0.6013 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.1926, allocations: 4 kB / 0.6013 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1926, allocations: 4 kB / 0.6013 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1926, allocations: 0.5156 kB / 0.6013 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.006e-05/0.1927, allocations: 15.92 kB / 0.6013 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.1927, allocations: 0 / 0.6013 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.069e-05/0.1927, allocations: 3.938 kB / 0.6013 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.1927, allocations: 4 kB / 0.6013 GB, free: 3.418 MB / 0.4981 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 7.92e-05/0.1928, allocations: 111.9 kB / 0.6014 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.1928, allocations: 3.906 kB / 0.6014 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.193, allocations: 77.16 kB / 0.6015 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.193, allocations: 0 / 0.6015 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.193, allocations: 0 / 0.6015 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.193, allocations: 0 / 0.6015 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.1932, allocations: 161.6 kB / 0.6016 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.1932, allocations: 7.984 kB / 0.6016 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.749e-05/0.1932, allocations: 7.938 kB / 0.6016 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.1932, allocations: 4 kB / 0.6016 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.1933, allocations: 0 / 0.6016 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1933, allocations: 3.938 kB / 0.6017 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1933, allocations: 4 kB / 0.6017 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.1935, allocations: 89 kB / 0.6017 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.1935, allocations: 81.02 kB / 0.6018 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.1936, allocations: 3.984 kB / 0.6018 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.705e-05/0.1936, allocations: 4 kB / 0.6018 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.1937, allocations: 4 kB / 0.6018 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.1937, allocations: 4 kB / 0.6018 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.834e-05/0.1937, allocations: 83.27 kB / 0.6019 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1937, allocations: 0 / 0.6019 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000235/0.194, allocations: 31.94 kB / 0.6019 GB, free: 2.648 MB / 0.4981 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.0005861/0.1946, allocations: 0.667 MB / 0.6026 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001391/0.1947, allocations: 23.98 kB / 0.6026 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1947, allocations: 0 / 0.6026 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.413e-05/0.1948, allocations: 15.94 kB / 0.6026 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.195, allocations: 7.984 kB / 0.6026 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000426/0.1954, allocations: 180.1 kB / 0.6028 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.1957, allocations: 0.6848 MB / 0.6035 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.701e-05/0.1957, allocations: 4 kB / 0.6035 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.1958, allocations: 11.44 kB / 0.6035 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1958, allocations: 0 / 0.6035 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2802/0.476, allocations: 1.731 MB / 0.6052 GB, free: 39.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/0.4763, allocations: 202.7 kB / 0.6054 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/2.16, allocations: 2.469 kB / 0.6054 GB, free: 39.27 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) Environment - environmentSimulation: