Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.Examples.Phi_pTX,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_8_Buildings_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.001264/0.001264, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001368/0.001369, allocations: 194.2 kB / 16.13 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.391/1.391, allocations: 205.1 MB / 222 MB, free: 4.738 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.708/1.708, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001363/0.001363, allocations: 66.34 kB / 0.6709 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1939, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002939/0.197, allocations: 1.564 MB / 0.7843 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.1982, allocations: 0.8245 MB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.524e-05/0.1983, allocations: 0 / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.496e-05/0.1983, allocations: 7.922 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.171e-05/0.1984, allocations: 3.938 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003344/0.1987, allocations: 115.5 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.342e-05/0.1988, allocations: 59.78 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.234e-05/0.1989, allocations: 16.27 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.924e-05/0.1989, allocations: 15.98 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.585e-05/0.199, allocations: 23.84 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.199, allocations: 4 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002882/0.1993, allocations: 175.7 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.1993, allocations: 7.984 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.1993, allocations: 15.88 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.1996, allocations: 155.6 kB / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1996, allocations: 4 kB / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.971e-06/0.1996, allocations: 3.984 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.1996, allocations: 0 / 0.7857 GB, free: 10.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004809/0.2001, allocations: 399.2 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.2001, allocations: 8.031 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.225e-05/0.2002, allocations: 34.75 kB / 0.7861 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.299e-05/0.2002, allocations: 0.9375 kB / 0.7861 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.478e-05/0.2003, allocations: 172.3 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.2003, allocations: 4.375 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.2003, allocations: 4.375 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.2006, allocations: 78.2 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2006, allocations: 3.938 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.2006, allocations: 0 / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.2006, allocations: 0 / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002749/0.2009, allocations: 75.86 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.2012, allocations: 292.7 kB / 0.7867 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.2014, allocations: 54.55 kB / 0.7868 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.2016, allocations: 40.91 kB / 0.7868 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001699/0.2018, allocations: 93.03 kB / 0.7869 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.2018, allocations: 38.44 kB / 0.7869 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2018, allocations: 0 / 0.7869 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000519/0.2023, allocations: 137.5 kB / 0.7871 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.2024, allocations: 51.41 kB / 0.7871 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.699e-05/0.2024, allocations: 113.8 kB / 0.7872 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.2025, allocations: 25.7 kB / 0.7873 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/0.2025, allocations: 88.14 kB / 0.7873 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.2025, allocations: 15.89 kB / 0.7874 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.2026, allocations: 13.72 kB / 0.7874 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.137e-05/0.2027, allocations: 318.8 kB / 0.7877 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.2028, allocations: 35.95 kB / 0.7877 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.2029, allocations: 31.91 kB / 0.7877 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.2032, allocations: 72.78 kB / 0.7878 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2032, allocations: 0 / 0.7878 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002864/0.2035, allocations: 97.53 kB / 0.7879 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.2035, allocations: 8 kB / 0.7879 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.2035, allocations: 0 / 0.7879 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.2035, allocations: 4 kB / 0.7879 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.2037, allocations: 15.97 kB / 0.7879 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.2037, allocations: 4 kB / 0.7879 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.354e-05/0.2037, allocations: 7.984 kB / 0.7879 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.2038, allocations: 4 kB / 0.7879 GB, free: 8.383 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 (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 7.467e-05/0.2038, allocations: 117.7 kB / 0.788 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.2039, allocations: 4.328 kB / 0.7881 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003323/0.2042, allocations: 113.5 kB / 0.7882 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2042, allocations: 0 / 0.7882 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.227e-06/0.2042, allocations: 0 / 0.7882 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2042, allocations: 3.984 kB / 0.7882 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.2044, allocations: 177.4 kB / 0.7883 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2044, allocations: 0 / 0.7883 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.938e-05/0.2045, allocations: 27.97 kB / 0.7884 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2045, allocations: 0 / 0.7884 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.2045, allocations: 0 / 0.7884 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2045, allocations: 3.938 kB / 0.7884 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2045, allocations: 4 kB / 0.7884 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.2049, allocations: 199.4 kB / 0.7886 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.549e-05/0.2049, allocations: 81.02 kB / 0.7886 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.2049, allocations: 7.984 kB / 0.7886 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.205, allocations: 7.984 kB / 0.7887 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.2051, allocations: 4 kB / 0.7887 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.2051, allocations: 0 / 0.7887 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.486e-05/0.2052, allocations: 91.7 kB / 0.7887 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.81e-07/0.2052, allocations: 3.938 kB / 0.7887 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002583/0.2054, allocations: 35.98 kB / 0.7888 GB, free: 7.41 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 (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.0006697/0.2061, allocations: 0.7631 MB / 0.7895 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003007/0.2064, allocations: 71.92 kB / 0.7896 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2064, allocations: 0 / 0.7896 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.2066, allocations: 31.97 kB / 0.7896 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.2069, allocations: 12.31 kB / 0.7896 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.2085, allocations: 1.442 MB / 0.791 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.2087, allocations: 0.6809 MB / 0.7917 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.222e-05/0.2088, allocations: 0 / 0.7917 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.362e-05/0.2088, allocations: 23.42 kB / 0.7917 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2088, allocations: 0 / 0.7917 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/0.234, allocations: 2.168 MB / 0.7938 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/0.2342, allocations: 200.4 kB / 0.794 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/1.948, allocations: 0 / 0.794 GB, free: 1.934 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)