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.653/1.653, allocations: 289.7 MB / 302.2 MB, free: 2.16 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.001092/0.001093, allocations: 182.9 kB / 371.6 MB, free: 3.414 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.073/2.073, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.00109/0.00109, allocations: 88.89 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.102e-05/4.105e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2945, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.473/6.768, allocations: 2.075 GB / 3.055 GB, free: 122.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/6.768, allocations: 79.67 kB / 3.055 GB, free: 122 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1809/6.949, allocations: 90.5 MB / 3.143 GB, free: 37.42 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.094e-06/6.949, allocations: 0 / 3.143 GB, free: 37.42 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.866e-05/6.949, allocations: 4 kB / 3.143 GB, free: 37.42 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.0009436/6.95, allocations: 0.4935 MB / 3.144 GB, free: 36.88 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/6.95, allocations: 8.219 kB / 3.144 GB, free: 36.87 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.017e-05/6.95, allocations: 58.48 kB / 3.144 GB, free: 36.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008441/6.951, allocations: 83.62 kB / 3.144 GB, free: 36.72 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/6.952, allocations: 222.8 kB / 3.144 GB, free: 36.46 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.528e-05/6.952, allocations: 38.03 kB / 3.144 GB, free: 36.42 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/6.952, allocations: 20 kB / 3.144 GB, free: 36.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/6.952, allocations: 239.3 kB / 3.144 GB, free: 36.14 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/6.952, allocations: 0 / 3.144 GB, free: 36.14 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.287e-05/6.952, allocations: 11.95 kB / 3.144 GB, free: 36.13 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/6.952, allocations: 4 kB / 3.144 GB, free: 36.12 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002639/6.953, allocations: 128.9 kB / 3.145 GB, free: 36 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/6.954, allocations: 1.185 MB / 3.146 GB, free: 34.74 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007694/6.955, allocations: 198.7 kB / 3.146 GB, free: 34.54 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/6.955, allocations: 64.84 kB / 3.146 GB, free: 34.47 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/6.955, allocations: 3.984 kB / 3.146 GB, free: 34.46 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/6.955, allocations: 38.5 kB / 3.146 GB, free: 34.42 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/6.955, allocations: 0 / 3.146 GB, free: 34.42 MB / 0.948 GB Notification: Performance of matching and sorting (n=12): time 0.001234/6.957, allocations: 275.1 kB / 3.146 GB, free: 34.14 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/6.957, allocations: 59.41 kB / 3.146 GB, free: 34.07 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/6.957, allocations: 177.5 kB / 3.147 GB, free: 33.89 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/6.957, allocations: 29.7 kB / 3.147 GB, free: 33.85 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/6.957, allocations: 139.6 kB / 3.147 GB, free: 33.71 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/6.957, allocations: 35.45 kB / 3.147 GB, free: 33.68 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.714e-05/6.957, allocations: 4 kB / 3.147 GB, free: 33.67 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002108/6.957, allocations: 322.8 kB / 3.147 GB, free: 33.35 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/6.958, allocations: 56.36 kB / 3.147 GB, free: 33.29 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/6.958, allocations: 123.8 kB / 3.147 GB, free: 33.14 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/6.958, allocations: 71.94 kB / 3.147 GB, free: 33.07 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/6.958, allocations: 4 kB / 3.147 GB, free: 33.07 MB / 0.948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001276/6.959, allocations: 338.8 kB / 3.148 GB, free: 32.72 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/6.959, allocations: 4 kB / 3.148 GB, free: 32.72 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/6.959, allocations: 8.219 kB / 3.148 GB, free: 32.71 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/6.96, allocations: 161.5 kB / 3.148 GB, free: 32.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/6.961, allocations: 43.89 kB / 3.148 GB, free: 32.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003435/6.964, allocations: 3.027 MB / 3.151 GB, free: 29.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003361/6.964, allocations: 43.72 kB / 3.151 GB, free: 29.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/6.964, allocations: 15.95 kB / 3.151 GB, free: 29.14 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 () * 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.0001078/6.965, allocations: 109 kB / 3.151 GB, free: 29.03 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/6.965, allocations: 15.81 kB / 3.151 GB, free: 29.01 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/6.966, allocations: 356.4 kB / 3.151 GB, free: 28.65 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/6.966, allocations: 0 / 3.151 GB, free: 28.65 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/6.966, allocations: 0 / 3.151 GB, free: 28.65 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/6.966, allocations: 0 / 3.151 GB, free: 28.65 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/6.966, allocations: 274.3 kB / 3.152 GB, free: 28.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/6.966, allocations: 3.938 kB / 3.152 GB, free: 28.33 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/6.966, allocations: 27.98 kB / 3.152 GB, free: 28.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008644/6.967, allocations: 173.7 kB / 3.152 GB, free: 28.13 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/6.967, allocations: 0 / 3.152 GB, free: 28.13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002783/6.97, allocations: 3.072 MB / 3.155 GB, free: 24.78 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/6.97, allocations: 0 / 3.155 GB, free: 24.78 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/6.971, allocations: 401.9 kB / 3.155 GB, free: 24.36 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/6.971, allocations: 116.8 kB / 3.155 GB, free: 24.23 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/6.971, allocations: 8 kB / 3.155 GB, free: 24.22 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/6.971, allocations: 19.98 kB / 3.155 GB, free: 24.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.26e-05/6.971, allocations: 15.97 kB / 3.155 GB, free: 24.19 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/6.971, allocations: 12.12 kB / 3.155 GB, free: 24.18 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001189/6.972, allocations: 148.8 kB / 3.155 GB, free: 24.03 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.6e-07/6.972, allocations: 0 / 3.155 GB, free: 24.03 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000678/6.972, allocations: 131.9 kB / 3.156 GB, free: 23.9 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 () * 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.002106/6.974, allocations: 1.537 MB / 3.157 GB, free: 22.34 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008454/6.975, allocations: 417 kB / 3.157 GB, free: 21.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/6.975, allocations: 3.938 kB / 3.157 GB, free: 21.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000534/6.976, allocations: 339.1 kB / 3.158 GB, free: 21.54 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/6.976, allocations: 56.16 kB / 3.158 GB, free: 21.49 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/6.977, allocations: 364 kB / 3.158 GB, free: 21.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/6.978, allocations: 0.7362 MB / 3.159 GB, free: 20.34 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002103/6.978, allocations: 34.06 kB / 3.159 GB, free: 20.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/6.978, allocations: 51.41 kB / 3.159 GB, free: 20.25 MB / 0.948 GB Notification: Performance of SimCode: time 7.42e-07/6.978, allocations: 4 kB / 3.159 GB, free: 20.25 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6962/7.674, allocations: 20.74 MB / 3.179 GB, free: 254.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002933/7.675, allocations: 199.3 kB / 3.179 GB, free: 253.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.543/10.22, allocations: 4.141 kB / 3.179 GB, free: 253.9 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)