Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.493/1.493, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001176/0.001177, allocations: 180 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.22/2.22, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.001082/0.001082, allocations: 99.39 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003699, allocations: 9.781 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2844, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.584/6.868, allocations: 2.192 GB / 3.092 GB, free: 250.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005192/6.869, allocations: 89.17 kB / 3.092 GB, free: 250.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2245/7.093, allocations: 88.07 MB / 3.178 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.865e-06/7.093, allocations: 0 / 3.178 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.823e-05/7.094, allocations: 3.906 kB / 3.178 GB, free: 230.4 MB / 0.8855 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.001277/7.095, allocations: 0.5146 MB / 3.179 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.397e-05/7.095, allocations: 7.812 kB / 3.179 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001223/7.095, allocations: 52.8 kB / 3.179 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008968/7.096, allocations: 78.7 kB / 3.179 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004406/7.096, allocations: 222.6 kB / 3.179 GB, free: 229.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.095e-05/7.096, allocations: 44.53 kB / 3.179 GB, free: 229.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.982e-05/7.097, allocations: 18.66 kB / 3.179 GB, free: 229.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006014/7.097, allocations: 258.8 kB / 3.18 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/7.097, allocations: 3.953 kB / 3.18 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/7.097, allocations: 10.97 kB / 3.18 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/7.097, allocations: 3.906 kB / 3.18 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004813/7.098, allocations: 179.9 kB / 3.18 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/7.1, allocations: 1.195 MB / 3.181 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008171/7.1, allocations: 217.5 kB / 3.181 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/7.101, allocations: 0 / 3.181 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/7.101, allocations: 35.47 kB / 3.181 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/7.101, allocations: 0 / 3.181 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12): time 0.003027/7.104, allocations: 0.6489 MB / 3.182 GB, free: 227.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/7.104, allocations: 55.31 kB / 3.182 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/7.104, allocations: 171.6 kB / 3.182 GB, free: 227.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/7.104, allocations: 29.64 kB / 3.182 GB, free: 227.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.414e-05/7.104, allocations: 145.4 kB / 3.182 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/7.104, allocations: 38.86 kB / 3.182 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.705e-05/7.104, allocations: 7.25 kB / 3.182 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001122/7.104, allocations: 325.7 kB / 3.183 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/7.104, allocations: 81.53 kB / 3.183 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/7.105, allocations: 145.6 kB / 3.183 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/7.105, allocations: 91.3 kB / 3.183 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/7.105, allocations: 0 / 3.183 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001601/7.107, allocations: 384.1 kB / 3.183 GB, free: 226.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/7.107, allocations: 12 kB / 3.183 GB, free: 226.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/7.107, allocations: 0 / 3.183 GB, free: 226.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/7.108, allocations: 165.5 kB / 3.183 GB, free: 226.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/7.108, allocations: 43.38 kB / 3.183 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003782/7.112, allocations: 3.052 MB / 3.186 GB, free: 224.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004157/7.112, allocations: 54.8 kB / 3.186 GB, free: 224 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/7.112, allocations: 7.219 kB / 3.186 GB, free: 224 MB / 0.8855 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.0001667/7.113, allocations: 128.8 kB / 3.187 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/7.113, allocations: 19.62 kB / 3.187 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/7.114, allocations: 388.6 kB / 3.187 GB, free: 223.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/7.114, allocations: 3.984 kB / 3.187 GB, free: 223.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/7.114, allocations: 3.906 kB / 3.187 GB, free: 223.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/7.114, allocations: 0 / 3.187 GB, free: 223.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/7.114, allocations: 278.5 kB / 3.187 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/7.114, allocations: 0 / 3.187 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/7.115, allocations: 23.55 kB / 3.187 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009895/7.116, allocations: 161.8 kB / 3.187 GB, free: 223.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/7.116, allocations: 11.83 kB / 3.187 GB, free: 223.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003427/7.119, allocations: 3.1 MB / 3.19 GB, free: 220.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/7.119, allocations: 0 / 3.19 GB, free: 220.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/7.12, allocations: 448.8 kB / 3.191 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/7.121, allocations: 115.8 kB / 3.191 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/7.121, allocations: 11.88 kB / 3.191 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003015/7.121, allocations: 15.77 kB / 3.191 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.415e-05/7.121, allocations: 19.5 kB / 3.191 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/7.121, allocations: 3.906 kB / 3.191 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002028/7.121, allocations: 156.2 kB / 3.191 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/7.121, allocations: 0 / 3.191 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008559/7.122, allocations: 130.3 kB / 3.191 GB, free: 220.2 MB / 0.8855 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.002849/7.125, allocations: 1.555 MB / 3.193 GB, free: 219.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001211/7.126, allocations: 460.1 kB / 3.193 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/7.126, allocations: 4 kB / 3.193 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007081/7.127, allocations: 361.4 kB / 3.194 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/7.127, allocations: 57.97 kB / 3.194 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003785/7.131, allocations: 2.381 MB / 3.196 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/7.131, allocations: 0.7353 MB / 3.197 GB, free: 216 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002422/7.132, allocations: 36.92 kB / 3.197 GB, free: 216 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/7.132, allocations: 53.55 kB / 3.197 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of SimCode: time 7.01e-07/7.132, allocations: 3.938 kB / 3.197 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04756/7.179, allocations: 18.53 MB / 3.215 GB, free: 206 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/7.18, allocations: 234.1 kB / 3.215 GB, free: 205.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.509/9.689, allocations: 0 / 3.215 GB, free: 205.8 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)