Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.751/1.751, allocations: 288.2 MB / 303.2 MB, free: 8.164 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.001178/0.001178, allocations: 177 kB / 371.8 MB, free: 10.28 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.684/1.684, allocations: 205.4 MB / 0.6305 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009374/0.0009371, allocations: 90.88 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004201/0.0004203, allocations: 11.34 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2358, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001797/0.2376, allocations: 1.371 MB / 0.9808 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.658/0.8957, allocations: 126.4 MB / 1.104 GB, free: 2.484 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.953e-05/0.8958, allocations: 1.25 kB / 1.104 GB, free: 2.484 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.896, allocations: 17.67 kB / 1.104 GB, free: 2.48 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.8962, allocations: 46.62 kB / 1.104 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.8966, allocations: 163 kB / 1.104 GB, free: 2.465 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.8968, allocations: 93.62 kB / 1.105 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.8969, allocations: 22.77 kB / 1.105 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002869/0.8972, allocations: 105.9 kB / 1.105 GB, free: 2.449 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.717e-05/0.8973, allocations: 50.81 kB / 1.105 GB, free: 2.441 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.8973, allocations: 4.031 kB / 1.105 GB, free: 2.441 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003236/0.8977, allocations: 168.5 kB / 1.105 GB, free: 2.438 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.181e-05/0.8977, allocations: 23.2 kB / 1.105 GB, free: 2.434 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 4.407e-05/0.8978, allocations: 43.61 kB / 1.105 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.898, allocations: 137.5 kB / 1.105 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.898, allocations: 0 / 1.105 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.344e-06/0.898, allocations: 0.7812 kB / 1.105 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.8981, allocations: 4 kB / 1.105 GB, free: 2.383 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009334/0.899, allocations: 455.7 kB / 1.106 GB, free: 17.99 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.8991, allocations: 14.33 kB / 1.106 GB, free: 17.98 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.851e-05/0.8991, allocations: 38.59 kB / 1.106 GB, free: 17.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005914/0.8997, allocations: 54.33 kB / 1.106 GB, free: 17.94 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.8999, allocations: 200 kB / 1.106 GB, free: 17.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.8999, allocations: 6 kB / 1.106 GB, free: 17.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.9, allocations: 8.938 kB / 1.106 GB, free: 17.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004603/0.9004, allocations: 198.8 kB / 1.106 GB, free: 17.65 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.9005, allocations: 7.141 kB / 1.106 GB, free: 17.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.9005, allocations: 4.531 kB / 1.106 GB, free: 17.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.9005, allocations: 1.156 kB / 1.106 GB, free: 17.64 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005318/0.901, allocations: 164.9 kB / 1.106 GB, free: 17.64 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.9022, allocations: 0.8253 MB / 1.107 GB, free: 16.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/0.9026, allocations: 141.3 kB / 1.107 GB, free: 16.92 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.9026, allocations: 4.297 kB / 1.107 GB, free: 16.92 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.9027, allocations: 39.33 kB / 1.107 GB, free: 16.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.9027, allocations: 0 / 1.107 GB, free: 16.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.001919/0.9046, allocations: 489.2 kB / 1.108 GB, free: 16.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.9046, allocations: 56.5 kB / 1.108 GB, free: 16.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.9048, allocations: 152.9 kB / 1.108 GB, free: 16.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.9048, allocations: 25.7 kB / 1.108 GB, free: 16.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.503e-05/0.9049, allocations: 112.3 kB / 1.108 GB, free: 16.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.9049, allocations: 26.97 kB / 1.108 GB, free: 16.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.197e-05/0.9049, allocations: 0 / 1.108 GB, free: 16.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.9051, allocations: 324 kB / 1.108 GB, free: 16.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.9054, allocations: 81.3 kB / 1.108 GB, free: 16.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.9057, allocations: 114.3 kB / 1.109 GB, free: 16.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.906, allocations: 90.41 kB / 1.109 GB, free: 16.04 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.906, allocations: 1.312 kB / 1.109 GB, free: 16.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001027/0.907, allocations: 304.9 kB / 1.109 GB, free: 15.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.907, allocations: 5.062 kB / 1.109 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.907, allocations: 2.062 kB / 1.109 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005614/0.9076, allocations: 85.56 kB / 1.109 GB, free: 15.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.9078, allocations: 36.19 kB / 1.109 GB, free: 15.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.9101, allocations: 1.57 MB / 1.111 GB, free: 14.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.9103, allocations: 34.91 kB / 1.111 GB, free: 14.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.9104, allocations: 4.188 kB / 1.111 GB, free: 14.64 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001269/0.9105, allocations: 119.4 kB / 1.111 GB, free: 14.53 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.9105, allocations: 8.375 kB / 1.111 GB, free: 14.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.9117, allocations: 344.8 kB / 1.111 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.9117, allocations: 2.031 kB / 1.111 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.9117, allocations: 0 / 1.111 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.9117, allocations: 2.031 kB / 1.111 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.912, allocations: 230.8 kB / 1.111 GB, free: 14.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.912, allocations: 0 / 1.111 GB, free: 14.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.9122, allocations: 42.47 kB / 1.111 GB, free: 14.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005035/0.9127, allocations: 89.47 kB / 1.111 GB, free: 14.24 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.9128, allocations: 7 kB / 1.111 GB, free: 14.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/0.9147, allocations: 1.586 MB / 1.113 GB, free: 12.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.9147, allocations: 0.5625 kB / 1.113 GB, free: 12.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.9158, allocations: 402 kB / 1.113 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/0.9159, allocations: 84.92 kB / 1.113 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.9159, allocations: 5.969 kB / 1.113 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.9161, allocations: 22.08 kB / 1.113 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-05/0.9162, allocations: 13.47 kB / 1.113 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.9162, allocations: 4.031 kB / 1.113 GB, free: 12.67 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.634e-05/0.9163, allocations: 107.7 kB / 1.114 GB, free: 12.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.132e-06/0.9163, allocations: 1.188 kB / 1.114 GB, free: 12.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003621/0.9167, allocations: 46.27 kB / 1.114 GB, free: 12.59 MB / 0.698 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 (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001431/0.9181, allocations: 0.9456 MB / 1.115 GB, free: 11.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008934/0.919, allocations: 332.9 kB / 1.115 GB, free: 11.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.919, allocations: 0 / 1.115 GB, free: 11.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000522/0.9196, allocations: 242.7 kB / 1.115 GB, free: 11.65 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.9198, allocations: 27 kB / 1.115 GB, free: 11.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/0.9226, allocations: 1.632 MB / 1.117 GB, free: 10.58 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.9229, allocations: 0.7125 MB / 1.117 GB, free: 9.883 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001808/0.9231, allocations: 22.25 kB / 1.117 GB, free: 9.875 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.17e-05/0.9232, allocations: 36.55 kB / 1.117 GB, free: 9.867 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/0.9232, allocations: 0 / 1.117 GB, free: 9.867 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01675/0.9399, allocations: 4.224 MB / 1.122 GB, free: 9.52 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/0.9402, allocations: 238 kB / 1.122 GB, free: 9.273 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/2.678, allocations: 1.25 kB / 1.122 GB, free: 9.273 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)