Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 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.pW_X,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0007936/0.0007936, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009464/0.0009464, allocations: 168.7 kB / 15.95 MB, free: 204 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.363/1.363, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.034/1.034, allocations: 143.4 MB / 434.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003183, allocations: 8 kB / 0.5161 GB, free: 11.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1858, allocations: 83.42 MB / 0.5976 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001315/0.1872, allocations: 0.9784 MB / 0.5985 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005174/0.1877, allocations: 279.3 kB / 0.5988 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.575e-05/0.1877, allocations: 0 / 0.5988 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.306e-05/0.1878, allocations: 4 kB / 0.5988 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.332e-05/0.1878, allocations: 7.938 kB / 0.5988 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.1881, allocations: 39.81 kB / 0.5988 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.025e-05/0.1881, allocations: 15.94 kB / 0.5988 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.261e-05/0.1882, allocations: 7.984 kB / 0.5988 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.447e-05/0.1882, allocations: 4 kB / 0.5989 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.045e-05/0.1883, allocations: 3.938 kB / 0.5989 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.1883, allocations: 4 kB / 0.5989 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1884, allocations: 55.95 kB / 0.5989 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.207e-06/0.1884, allocations: 3.984 kB / 0.5989 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.1885, allocations: 25.7 kB / 0.5989 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.888e-05/0.1886, allocations: 40.19 kB / 0.599 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1886, allocations: 3.938 kB / 0.599 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.863e-06/0.1886, allocations: 4 kB / 0.599 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.1886, allocations: 0 / 0.599 GB, free: 6.188 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.0003373/0.1889, allocations: 319.4 kB / 0.5993 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.189, allocations: 8.031 kB / 0.5993 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.863e-05/0.189, allocations: 38.56 kB / 0.5993 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.1892, allocations: 27.92 kB / 0.5994 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.1893, allocations: 174.9 kB / 0.5995 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.775e-06/0.1894, allocations: 0 / 0.5995 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.1894, allocations: 0 / 0.5995 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.1895, allocations: 41.69 kB / 0.5996 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1895, allocations: 0 / 0.5996 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.1895, allocations: 0 / 0.5996 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1895, allocations: 0 / 0.5996 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.09e-05/0.1896, allocations: 23.97 kB / 0.5996 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.1897, allocations: 169.6 kB / 0.5998 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/0.1913, allocations: 270.4 kB / 0.6 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.105e-05/0.1914, allocations: 16.86 kB / 0.6 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.679e-06/0.1914, allocations: 0 / 0.6 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.1914, allocations: 42.55 kB / 0.6001 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.1914, allocations: 0 / 0.6001 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001585/0.1916, allocations: 57.69 kB / 0.6001 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.1917, allocations: 55.34 kB / 0.6002 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.891e-05/0.1917, allocations: 97.86 kB / 0.6003 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.1918, allocations: 25.7 kB / 0.6003 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.959e-05/0.1918, allocations: 80.14 kB / 0.6004 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.1918, allocations: 11.81 kB / 0.6004 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.1918, allocations: 4 kB / 0.6004 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.192, allocations: 318.8 kB / 0.6007 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/0.192, allocations: 4 kB / 0.6007 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.604e-05/0.192, allocations: 8 kB / 0.6007 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.337e-05/0.1921, allocations: 16.12 kB / 0.6007 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1921, allocations: 0 / 0.6007 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.554e-05/0.1921, allocations: 49.69 kB / 0.6008 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1922, allocations: 8 kB / 0.6008 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1922, allocations: 0 / 0.6008 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1922, allocations: 0 / 0.6008 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.49e-05/0.1923, allocations: 7.938 kB / 0.6008 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1923, allocations: 3.984 kB / 0.6008 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.529e-05/0.1923, allocations: 4 kB / 0.6008 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.1923, allocations: 0 / 0.6008 GB, free: 4.117 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.185e-05/0.1924, allocations: 117.8 kB / 0.6009 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.036e-05/0.1924, allocations: 7.938 kB / 0.6009 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.1924, allocations: 7.5 kB / 0.6009 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1924, allocations: 0 / 0.6009 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1925, allocations: 0 / 0.6009 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1925, allocations: 0 / 0.6009 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.1926, allocations: 165.5 kB / 0.6011 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1926, allocations: 4 kB / 0.6011 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.03e-05/0.1926, allocations: 4 kB / 0.6011 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1926, allocations: 0 / 0.6011 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.1927, allocations: 7.984 kB / 0.6011 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1927, allocations: 0 / 0.6011 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1927, allocations: 0 / 0.6011 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.1928, allocations: 93.25 kB / 0.6012 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.182e-05/0.1929, allocations: 81.14 kB / 0.6013 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.1929, allocations: 0 / 0.6013 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.008e-05/0.1929, allocations: 4 kB / 0.6013 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/0.193, allocations: 7.984 kB / 0.6013 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.193, allocations: 4 kB / 0.6013 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.469e-05/0.193, allocations: 75.28 kB / 0.6013 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.193, allocations: 0 / 0.6013 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001836/0.1932, allocations: 12 kB / 0.6013 GB, free: 3.441 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.000362/0.1936, allocations: 0.6164 MB / 0.602 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.77e-05/0.1937, allocations: 23.98 kB / 0.602 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1937, allocations: 0 / 0.602 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.233e-05/0.1937, allocations: 12 kB / 0.602 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.194, allocations: 11.98 kB / 0.602 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.1943, allocations: 170.2 kB / 0.6022 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.1946, allocations: 0.6808 MB / 0.6028 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.849e-05/0.1946, allocations: 4 kB / 0.6028 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.1947, allocations: 11.44 kB / 0.6028 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1947, allocations: 3.938 kB / 0.6028 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01075/0.2054, allocations: 1.109 MB / 0.6039 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/0.2056, allocations: 197 kB / 0.6041 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/1.851, allocations: 7.875 kB / 0.6041 GB, free: 0.625 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) Environment - environmentSimulation: