Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.557/1.557, allocations: 249.3 MB / 261.8 MB, free: 5.859 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 186.5 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.2 MB / 0.572 GB, free: 10.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 82.5 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.084e-05/3.086e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2396, allocations: 106.3 MB / 0.8919 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8575/1.097, allocations: 133.6 MB / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/1.097, allocations: 74.27 kB / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008359/1.106, allocations: 2.501 MB / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.435e-06/1.106, allocations: 0 / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.935e-06/1.106, allocations: 0 / 1.025 GB, free: 14.88 MB / 0.6511 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.0005336/1.106, allocations: 400.8 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/1.107, allocations: 8.031 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.314e-05/1.107, allocations: 34.56 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.804e-05/1.107, allocations: 7.891 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/1.107, allocations: 178.8 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/1.107, allocations: 4 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/1.107, allocations: 4 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/1.107, allocations: 48.81 kB / 1.026 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/1.107, allocations: 0 / 1.026 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/1.107, allocations: 0 / 1.026 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/1.107, allocations: 7.922 kB / 1.026 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.165e-05/1.107, allocations: 26.62 kB / 1.026 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/1.107, allocations: 289.9 kB / 1.026 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.033e-05/1.108, allocations: 36.19 kB / 1.026 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.26e-05/1.108, allocations: 16.23 kB / 1.026 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/1.108, allocations: 89.19 kB / 1.026 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/1.108, allocations: 30.56 kB / 1.026 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/1.108, allocations: 4 kB / 1.026 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.0001781/1.108, allocations: 61.05 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/1.108, allocations: 51.41 kB / 1.026 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/1.108, allocations: 111.8 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/1.108, allocations: 25.7 kB / 1.026 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.164e-05/1.108, allocations: 91.02 kB / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/1.108, allocations: 7.844 kB / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/1.108, allocations: 0 / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001165/1.108, allocations: 322.6 kB / 1.027 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.626e-05/1.108, allocations: 11.31 kB / 1.027 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.968e-05/1.108, allocations: 11.25 kB / 1.027 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.564e-05/1.109, allocations: 8 kB / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.109, allocations: 0 / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.782e-05/1.109, allocations: 56.59 kB / 1.027 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/1.109, allocations: 4 kB / 1.027 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/1.109, allocations: 0 / 1.027 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/1.109, allocations: 0 / 1.027 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/1.109, allocations: 27.23 kB / 1.027 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/1.109, allocations: 7.781 kB / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.33e-05/1.109, allocations: 19.97 kB / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/1.109, allocations: 4 kB / 1.027 GB, free: 12.78 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.749e-05/1.109, allocations: 105 kB / 1.027 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/1.109, allocations: 3.906 kB / 1.027 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/1.109, allocations: 67.78 kB / 1.027 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/1.109, allocations: 0 / 1.027 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.109, allocations: 0 / 1.027 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.109, allocations: 7.938 kB / 1.027 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/1.109, allocations: 175.8 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/1.109, allocations: 0 / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/1.11, allocations: 23.97 kB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/1.11, allocations: 0 / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/1.11, allocations: 4 kB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/1.11, allocations: 0 / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/1.11, allocations: 0 / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/1.11, allocations: 154.5 kB / 1.027 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/1.11, allocations: 85.02 kB / 1.027 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/1.11, allocations: 3.438 kB / 1.027 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/1.11, allocations: 19.98 kB / 1.027 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/1.11, allocations: 3.984 kB / 1.027 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/1.11, allocations: 4 kB / 1.027 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.916e-05/1.11, allocations: 90.34 kB / 1.027 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.11, allocations: 0 / 1.027 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002619/1.11, allocations: 35.92 kB / 1.028 GB, free: 11.95 MB / 0.6511 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 () * 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 (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.0005299/1.111, allocations: 0.7225 MB / 1.028 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001196/1.111, allocations: 26.98 kB / 1.028 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.111, allocations: 0 / 1.028 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.572e-05/1.111, allocations: 11.19 kB / 1.028 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/1.111, allocations: 10.09 kB / 1.028 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003773/1.112, allocations: 141.1 kB / 1.028 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/1.112, allocations: 0.6848 MB / 1.029 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.561e-05/1.112, allocations: 4.25 kB / 1.029 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/1.112, allocations: 17.98 kB / 1.029 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/1.112, allocations: 0 / 1.029 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01348/1.125, allocations: 2.036 MB / 1.031 GB, free: 8.363 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/1.126, allocations: 167.2 kB / 1.031 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/2.83, allocations: 3.938 kB / 1.031 GB, free: 8.133 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)