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.0008522/0.0008554, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005318/0.005318, allocations: 172 kB / 16.26 MB, free: 6.613 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.35/1.35, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.639/1.639, allocations: 292.7 MB / 0.5502 GB, free: 14.44 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.0004562/0.0004562, allocations: 21.92 kB / 0.6744 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2011, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001481/0.2026, allocations: 1.214 MB / 0.7892 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.2037, allocations: 0.8244 MB / 0.79 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.24e-05/0.2038, allocations: 0 / 0.79 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.472e-05/0.2038, allocations: 0 / 0.79 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.271e-05/0.2039, allocations: 19.84 kB / 0.79 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.2042, allocations: 103.6 kB / 0.7901 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.851e-05/0.2043, allocations: 59.78 kB / 0.7902 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.046e-05/0.2044, allocations: 8.281 kB / 0.7902 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4e-05/0.2044, allocations: 15.92 kB / 0.7902 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.226e-05/0.2045, allocations: 31.84 kB / 0.7902 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.2045, allocations: 0 / 0.7902 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002906/0.2048, allocations: 167.7 kB / 0.7904 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.2048, allocations: 7.984 kB / 0.7904 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.906e-05/0.2048, allocations: 53.55 kB / 0.7904 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.2051, allocations: 143.6 kB / 0.7906 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.2051, allocations: 0 / 0.7906 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2051, allocations: 0 / 0.7906 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.2051, allocations: 0 / 0.7906 GB, free: 8.82 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.0004959/0.2056, allocations: 403.2 kB / 0.7909 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.2056, allocations: 12.03 kB / 0.791 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.043e-05/0.2057, allocations: 38.73 kB / 0.791 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.183e-05/0.2057, allocations: 4.938 kB / 0.791 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.2058, allocations: 176.2 kB / 0.7912 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.2058, allocations: 384 / 0.7912 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.2058, allocations: 384 / 0.7912 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.2061, allocations: 90.2 kB / 0.7913 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.2061, allocations: 3.938 kB / 0.7913 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.2061, allocations: 4 kB / 0.7913 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.2061, allocations: 0 / 0.7913 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/0.2064, allocations: 91.92 kB / 0.7914 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.2068, allocations: 284.6 kB / 0.7916 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.207, allocations: 70.55 kB / 0.7917 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.2072, allocations: 52.91 kB / 0.7917 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/0.2073, allocations: 93.09 kB / 0.7918 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.2074, allocations: 34.56 kB / 0.7919 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.2074, allocations: 0 / 0.7919 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005582/0.2079, allocations: 165.5 kB / 0.792 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.208, allocations: 55.34 kB / 0.7921 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.729e-05/0.2081, allocations: 113.8 kB / 0.7922 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.2081, allocations: 33.64 kB / 0.7922 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.422e-05/0.2081, allocations: 92.05 kB / 0.7923 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.2082, allocations: 3.906 kB / 0.7923 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.2082, allocations: 13.72 kB / 0.7923 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.2083, allocations: 326.8 kB / 0.7926 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.2085, allocations: 39.97 kB / 0.7927 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.2086, allocations: 47.95 kB / 0.7927 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.2089, allocations: 88.78 kB / 0.7928 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.2089, allocations: 0 / 0.7928 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003391/0.2093, allocations: 121.6 kB / 0.7929 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2093, allocations: 8 kB / 0.7929 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.2093, allocations: 0 / 0.7929 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.2093, allocations: 0 / 0.7929 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.2095, allocations: 23.98 kB / 0.7929 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.2095, allocations: 0 / 0.7929 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.518e-05/0.2096, allocations: 24.2 kB / 0.793 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.2096, allocations: 0 / 0.793 GB, free: 6.102 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.438e-05/0.2097, allocations: 117.8 kB / 0.7931 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.2097, allocations: 0 / 0.7931 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003716/0.2101, allocations: 137.4 kB / 0.7932 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2101, allocations: 4 kB / 0.7932 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2101, allocations: 0 / 0.7932 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.2101, allocations: 0 / 0.7932 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.2103, allocations: 185.6 kB / 0.7934 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2103, allocations: 0 / 0.7934 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.458e-05/0.2104, allocations: 19.98 kB / 0.7934 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.2104, allocations: 0 / 0.7934 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.2104, allocations: 0 / 0.7934 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2104, allocations: 4 kB / 0.7934 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2104, allocations: 0 / 0.7934 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.2108, allocations: 231.2 kB / 0.7936 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.2108, allocations: 85.05 kB / 0.7937 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.2108, allocations: 0 / 0.7937 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.211, allocations: 15.98 kB / 0.7937 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.211, allocations: 7.984 kB / 0.7937 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.211, allocations: 4 kB / 0.7937 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.695e-05/0.2111, allocations: 95.27 kB / 0.7938 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2111, allocations: 0 / 0.7938 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002525/0.2113, allocations: 31.91 kB / 0.7939 GB, free: 5.074 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.0007036/0.212, allocations: 0.7787 MB / 0.7946 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000335/0.2124, allocations: 95.8 kB / 0.7947 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.2124, allocations: 0 / 0.7947 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.2126, allocations: 47.95 kB / 0.7948 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.2128, allocations: 8 kB / 0.7948 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.2146, allocations: 1.502 MB / 0.7962 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.2148, allocations: 0.6848 MB / 0.7969 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.877e-05/0.2149, allocations: 4 kB / 0.7969 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.2149, allocations: 19.44 kB / 0.7969 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2149, allocations: 0 / 0.7969 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01059/0.2255, allocations: 2.108 MB / 0.799 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/0.2257, allocations: 196.4 kB / 0.7992 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/1.905, allocations: 4.062 kB / 0.7992 GB, free: 15.57 MB / 0.6231 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)