Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.Examples.Phi_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_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.00141/0.00141, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001639/0.001639, allocations: 191.2 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.147/1.147, allocations: 143 MB / 433.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 59.91 kB / 0.5138 GB, free: 11.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1943, allocations: 82.04 MB / 0.5939 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002722/0.1971, allocations: 1.564 MB / 0.5954 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.1984, allocations: 0.7875 MB / 0.5962 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.61e-05/0.1984, allocations: 0 / 0.5962 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.278e-05/0.1985, allocations: 3.938 kB / 0.5962 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.821e-05/0.1986, allocations: 11.91 kB / 0.5962 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004411/0.199, allocations: 115.5 kB / 0.5963 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.616e-05/0.1991, allocations: 59.78 kB / 0.5964 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.979e-05/0.1992, allocations: 12 kB / 0.5964 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.622e-05/0.1993, allocations: 19.92 kB / 0.5964 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.766e-05/0.1993, allocations: 31.89 kB / 0.5964 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.1993, allocations: 4 kB / 0.5964 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002969/0.1996, allocations: 171.7 kB / 0.5966 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.1997, allocations: 11.92 kB / 0.5966 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.1997, allocations: 23.92 kB / 0.5966 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.1999, allocations: 147.9 kB / 0.5968 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1999, allocations: 0 / 0.5968 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.744e-06/0.2, allocations: 4 kB / 0.5968 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2, allocations: 0 / 0.5968 GB, free: 6.926 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005412/0.2005, allocations: 402.1 kB / 0.5972 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.2006, allocations: 8.031 kB / 0.5972 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.397e-05/0.2006, allocations: 38.67 kB / 0.5972 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.2006, allocations: 4.938 kB / 0.5972 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.2008, allocations: 176.2 kB / 0.5974 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.2008, allocations: 4.375 kB / 0.5974 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.2008, allocations: 8.375 kB / 0.5974 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.2011, allocations: 78.14 kB / 0.5975 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.2011, allocations: 3.938 kB / 0.5975 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.2011, allocations: 0 / 0.5975 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2011, allocations: 0 / 0.5975 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002996/0.2014, allocations: 71.86 kB / 0.5975 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.2019, allocations: 288.7 kB / 0.5978 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.2021, allocations: 54.55 kB / 0.5979 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.2022, allocations: 44.91 kB / 0.5979 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002001/0.2025, allocations: 89.09 kB / 0.598 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.2025, allocations: 38.5 kB / 0.598 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.2025, allocations: 0 / 0.598 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005434/0.2031, allocations: 125.6 kB / 0.5982 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.2031, allocations: 55.39 kB / 0.5982 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.768e-05/0.2032, allocations: 117.8 kB / 0.5983 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.2032, allocations: 25.7 kB / 0.5983 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.2033, allocations: 92.05 kB / 0.5984 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.2033, allocations: 7.906 kB / 0.5984 GB, free: 5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.2033, allocations: 17.7 kB / 0.5985 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.2035, allocations: 322.8 kB / 0.5988 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.2036, allocations: 31.95 kB / 0.5988 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.2037, allocations: 35.91 kB / 0.5988 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.204, allocations: 77.05 kB / 0.5989 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.204, allocations: 0 / 0.5989 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003053/0.2043, allocations: 97.53 kB / 0.599 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.2043, allocations: 4 kB / 0.599 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.2044, allocations: 4 kB / 0.599 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.2044, allocations: 0 / 0.599 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.2045, allocations: 23.97 kB / 0.599 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.2045, allocations: 0 / 0.599 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.83e-05/0.2046, allocations: 11.98 kB / 0.599 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.2046, allocations: 0 / 0.599 GB, free: 4.363 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 (3): * Single equations (assignments): 3 * 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 9.103e-05/0.2047, allocations: 121.7 kB / 0.5992 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.2047, allocations: 0 / 0.5992 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003728/0.2051, allocations: 113.5 kB / 0.5993 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2051, allocations: 0 / 0.5993 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2051, allocations: 3.938 kB / 0.5993 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2052, allocations: 4 kB / 0.5993 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.2054, allocations: 181.5 kB / 0.5994 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2054, allocations: 0 / 0.5994 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.29e-05/0.2055, allocations: 15.98 kB / 0.5995 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2055, allocations: 0 / 0.5995 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.2055, allocations: 3.984 kB / 0.5995 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2055, allocations: 4 kB / 0.5995 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2055, allocations: 0 / 0.5995 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.2059, allocations: 195.4 kB / 0.5997 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.2059, allocations: 88.95 kB / 0.5997 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.2059, allocations: 4 kB / 0.5997 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.206, allocations: 15.97 kB / 0.5998 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.2061, allocations: 0 / 0.5998 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.2061, allocations: 0 / 0.5998 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.988e-05/0.2062, allocations: 103.6 kB / 0.5999 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2062, allocations: 0 / 0.5999 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002762/0.2064, allocations: 28 kB / 0.5999 GB, free: 3.391 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 (3): * Single equations (assignments): 3 * 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.0007432/0.2072, allocations: 0.7552 MB / 0.6006 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000335/0.2075, allocations: 75.91 kB / 0.6007 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2076, allocations: 0 / 0.6007 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.2077, allocations: 35.97 kB / 0.6007 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.2081, allocations: 11.98 kB / 0.6007 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.2099, allocations: 1.441 MB / 0.6021 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.2101, allocations: 0.6846 MB / 0.6028 GB, free: 264 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.651e-05/0.2102, allocations: 7.984 kB / 0.6028 GB, free: 256 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.2102, allocations: 19.44 kB / 0.6028 GB, free: 236 kB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.2102, allocations: 0 / 0.6028 GB, free: 236 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2874/0.4976, allocations: 2.251 MB / 0.605 GB, free: 43.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001382/0.4978, allocations: 208.5 kB / 0.6052 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.807/2.305, allocations: 3.734 kB / 0.6052 GB, free: 43.6 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)