Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.861/1.861, allocations: 292.6 MB / 307.5 MB, free: 5.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 185 kB / 377.1 MB, free: 1.535 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.928/1.928, allocations: 205.4 MB / 0.6366 GB, free: 8.621 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009215/0.0009214, allocations: 95.33 kB / 0.7509 GB, free: 63.39 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005108/0.0005108, allocations: 12 kB / 0.8748 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3028, allocations: 116.3 MB / 0.9884 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.953/6.256, allocations: 2.075 GB / 3.063 GB, free: 107.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003267/6.256, allocations: 90.28 kB / 3.064 GB, free: 107.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1742/6.43, allocations: 90.65 MB / 3.152 GB, free: 16.69 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.394e-06/6.43, allocations: 0 / 3.152 GB, free: 16.69 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.513e-05/6.431, allocations: 8 kB / 3.152 GB, free: 16.68 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009341/6.431, allocations: 0.5184 MB / 3.153 GB, free: 16.11 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/6.432, allocations: 12.02 kB / 3.153 GB, free: 16.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.34e-05/6.432, allocations: 46.55 kB / 3.153 GB, free: 16.05 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007742/6.432, allocations: 83.69 kB / 3.153 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/6.433, allocations: 226.8 kB / 3.153 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.75e-05/6.433, allocations: 46.03 kB / 3.153 GB, free: 15.65 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/6.433, allocations: 16 kB / 3.153 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004868/6.433, allocations: 263.3 kB / 3.153 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/6.433, allocations: 3.938 kB / 3.153 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/6.433, allocations: 15.92 kB / 3.153 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/6.433, allocations: 4 kB / 3.153 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004003/6.434, allocations: 175.8 kB / 3.153 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/6.435, allocations: 1.188 MB / 3.155 GB, free: 13.89 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007325/6.436, allocations: 214.6 kB / 3.155 GB, free: 13.68 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/6.436, allocations: 3.984 kB / 3.155 GB, free: 13.67 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/6.436, allocations: 35.56 kB / 3.155 GB, free: 13.63 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 3.015e-06/6.436, allocations: 0 / 3.155 GB, free: 13.63 MB / 0.948 GB Notification: Performance of matching and sorting (n=12): time 0.002611/6.439, allocations: 0.6456 MB / 3.155 GB, free: 12.93 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/6.439, allocations: 55.41 kB / 3.156 GB, free: 12.87 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/6.439, allocations: 186.3 kB / 3.156 GB, free: 12.68 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/6.439, allocations: 29.7 kB / 3.156 GB, free: 12.64 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/6.439, allocations: 127.7 kB / 3.156 GB, free: 12.52 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.162e-05/6.439, allocations: 47.3 kB / 3.156 GB, free: 12.47 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.368e-05/6.439, allocations: 4 kB / 3.156 GB, free: 12.46 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.072e-05/6.439, allocations: 326.8 kB / 3.156 GB, free: 12.14 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/6.44, allocations: 76.31 kB / 3.156 GB, free: 12.06 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/6.44, allocations: 141.3 kB / 3.156 GB, free: 11.89 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/6.44, allocations: 91.92 kB / 3.157 GB, free: 11.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/6.44, allocations: 0 / 3.157 GB, free: 11.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00138/6.441, allocations: 386.7 kB / 3.157 GB, free: 11.41 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/6.441, allocations: 4 kB / 3.157 GB, free: 11.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/6.441, allocations: 4 kB / 3.157 GB, free: 11.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/6.443, allocations: 169.8 kB / 3.157 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/6.443, allocations: 39.91 kB / 3.157 GB, free: 11.19 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003362/6.446, allocations: 3.063 MB / 3.16 GB, free: 7.855 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003978/6.447, allocations: 39.7 kB / 3.16 GB, free: 7.816 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/6.447, allocations: 11.98 kB / 3.16 GB, free: 7.805 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001501/6.447, allocations: 135.7 kB / 3.16 GB, free: 7.664 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/6.447, allocations: 15.81 kB / 3.16 GB, free: 7.648 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/6.448, allocations: 389.7 kB / 3.161 GB, free: 7.258 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/6.448, allocations: 4 kB / 3.161 GB, free: 7.254 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/6.448, allocations: 0 / 3.161 GB, free: 7.254 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/6.448, allocations: 0 / 3.161 GB, free: 7.254 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002785/6.448, allocations: 277.4 kB / 3.161 GB, free: 6.934 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/6.448, allocations: 0 / 3.161 GB, free: 6.934 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/6.449, allocations: 23.98 kB / 3.161 GB, free: 6.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009532/6.45, allocations: 165.5 kB / 3.161 GB, free: 6.742 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/6.45, allocations: 0 / 3.161 GB, free: 6.742 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00338/6.453, allocations: 3.107 MB / 3.164 GB, free: 3.352 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/6.453, allocations: 0 / 3.164 GB, free: 3.352 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/6.454, allocations: 436.7 kB / 3.165 GB, free: 2.902 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/6.454, allocations: 120.8 kB / 3.165 GB, free: 2.766 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/6.454, allocations: 4 kB / 3.165 GB, free: 2.762 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003027/6.455, allocations: 19.97 kB / 3.165 GB, free: 2.742 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.986e-05/6.455, allocations: 23.83 kB / 3.165 GB, free: 2.719 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/6.455, allocations: 4 kB / 3.165 GB, free: 2.715 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001756/6.455, allocations: 155 kB / 3.165 GB, free: 2.562 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.61e-07/6.455, allocations: 0 / 3.165 GB, free: 2.562 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007393/6.456, allocations: 127.9 kB / 3.165 GB, free: 2.438 MB / 0.948 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 (12): * Single equations (assignments): 10 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002429/6.458, allocations: 1.587 MB / 3.167 GB, free: 0.8281 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001029/6.459, allocations: 457.9 kB / 3.167 GB, free: 364 kB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/6.459, allocations: 0 / 3.167 GB, free: 364 kB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.5919/7.051, allocations: 357.4 kB / 3.167 GB, free: 253.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007432/7.052, allocations: 53.77 kB / 3.167 GB, free: 253.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004561/7.057, allocations: 2.38 MB / 3.17 GB, free: 252 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/7.057, allocations: 0.7325 MB / 3.17 GB, free: 251.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003021/7.057, allocations: 38 kB / 3.17 GB, free: 251.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/7.058, allocations: 55.03 kB / 3.17 GB, free: 251.3 MB / 0.948 GB Notification: Performance of SimCode: time 2.715e-06/7.058, allocations: 1.062 kB / 3.17 GB, free: 251.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04982/7.107, allocations: 18.52 MB / 3.189 GB, free: 250.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/7.108, allocations: 221.7 kB / 3.189 GB, free: 250.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/9.597, allocations: 1.281 kB / 3.189 GB, free: 250.6 MB / 0.948 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)