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.001234/0.001234, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001356/0.001356, allocations: 193.8 kB / 16.25 MB, free: 6.617 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.483/1.483, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.71/1.71, allocations: 292.3 MB / 0.5486 GB, free: 13.65 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.001311/0.001311, allocations: 68.98 kB / 0.6711 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1979, allocations: 114.6 MB / 0.783 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002629/0.2005, allocations: 1.553 MB / 0.7845 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.2017, allocations: 0.8088 MB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.503e-05/0.2018, allocations: 4 kB / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.79e-05/0.2019, allocations: 3.938 kB / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.947e-05/0.2019, allocations: 11.92 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004803/0.2024, allocations: 111.6 kB / 0.7854 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.973e-05/0.2025, allocations: 55.72 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.2026, allocations: 20.27 kB / 0.7855 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.825e-05/0.2027, allocations: 19.98 kB / 0.7855 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.406e-05/0.2027, allocations: 19.86 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.2028, allocations: 4 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003124/0.2031, allocations: 183.7 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.829e-05/0.2031, allocations: 8 kB / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.496e-05/0.2031, allocations: 23.86 kB / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.2034, allocations: 147.6 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.2034, allocations: 4 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.355e-06/0.2035, allocations: 0 / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.429e-05/0.2035, allocations: 4 kB / 0.7859 GB, free: 10.84 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.000582/0.2041, allocations: 391.2 kB / 0.7862 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.2041, allocations: 8.031 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.198e-05/0.2042, allocations: 38.75 kB / 0.7863 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.2042, allocations: 0.9375 kB / 0.7863 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.2043, allocations: 176.2 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.2044, allocations: 4.375 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.2044, allocations: 384 / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.2046, allocations: 74.22 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.2047, allocations: 3.938 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.2047, allocations: 7.984 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.2047, allocations: 4 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/0.205, allocations: 59.94 kB / 0.7866 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004552/0.2054, allocations: 300.6 kB / 0.7869 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.2057, allocations: 54.53 kB / 0.7869 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.2058, allocations: 36.92 kB / 0.787 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000208/0.2061, allocations: 97.03 kB / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.2061, allocations: 38.55 kB / 0.7871 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2061, allocations: 0 / 0.7871 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005422/0.2066, allocations: 145.5 kB / 0.7872 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.2067, allocations: 51.41 kB / 0.7873 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.2068, allocations: 122.2 kB / 0.7874 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.2068, allocations: 25.7 kB / 0.7874 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.947e-05/0.2069, allocations: 88.14 kB / 0.7875 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.2069, allocations: 3.906 kB / 0.7875 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.207, allocations: 17.72 kB / 0.7875 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2071, allocations: 322.8 kB / 0.7878 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.2072, allocations: 31.97 kB / 0.7879 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.2074, allocations: 31.95 kB / 0.7879 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.2076, allocations: 72.72 kB / 0.788 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2076, allocations: 4 kB / 0.788 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002957/0.2079, allocations: 97.53 kB / 0.7881 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.208, allocations: 8 kB / 0.7881 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.208, allocations: 4 kB / 0.7881 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.208, allocations: 0 / 0.7881 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.2081, allocations: 11.98 kB / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2081, allocations: 8 kB / 0.7881 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.763e-05/0.2082, allocations: 11.98 kB / 0.7881 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.2082, allocations: 7.984 kB / 0.7881 GB, free: 8.27 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.027e-05/0.2083, allocations: 109.8 kB / 0.7882 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.2083, allocations: 4 kB / 0.7882 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003483/0.2087, allocations: 113.5 kB / 0.7883 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2087, allocations: 0 / 0.7883 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2087, allocations: 0 / 0.7883 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.2087, allocations: 0 / 0.7883 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.2089, allocations: 181.4 kB / 0.7885 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2089, allocations: 0 / 0.7885 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.195e-05/0.209, allocations: 15.98 kB / 0.7885 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.209, allocations: 0 / 0.7885 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.209, allocations: 3.938 kB / 0.7885 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.209, allocations: 0 / 0.7885 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.209, allocations: 8 kB / 0.7885 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.2094, allocations: 199.3 kB / 0.7887 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.2094, allocations: 81.02 kB / 0.7888 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.2094, allocations: 4 kB / 0.7888 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.2095, allocations: 11.98 kB / 0.7888 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.2096, allocations: 11.98 kB / 0.7888 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.2096, allocations: 0 / 0.7888 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.4e-05/0.2097, allocations: 95.31 kB / 0.7889 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2097, allocations: 0 / 0.7889 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002826/0.21, allocations: 28 kB / 0.789 GB, free: 7.312 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.0007481/0.2107, allocations: 0.7631 MB / 0.7897 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003235/0.2111, allocations: 80.14 kB / 0.7898 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2111, allocations: 0 / 0.7898 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.2112, allocations: 40.03 kB / 0.7898 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.2115, allocations: 4 kB / 0.7898 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.2132, allocations: 1.441 MB / 0.7912 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.2135, allocations: 0.6884 MB / 0.7919 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.694e-05/0.2135, allocations: 8 kB / 0.7919 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/0.2136, allocations: 15.44 kB / 0.7919 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.2136, allocations: 0 / 0.7919 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01198/0.2255, allocations: 2.227 MB / 0.7941 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.2258, allocations: 201.8 kB / 0.7943 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/1.935, allocations: 4 kB / 0.7943 GB, free: 1.781 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)