Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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_TDryBulXi,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.414/1.414, 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.001196/0.001196, allocations: 183.5 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.972/1.972, 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.000927/0.000927, allocations: 104.6 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003354, allocations: 9.5 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2406, allocations: 106.4 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001999/0.2427, allocations: 1.371 MB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1485/0.3912, allocations: 126.4 MB / 1.025 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.3913, allocations: 8 kB / 1.025 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001777/0.3915, allocations: 19.86 kB / 1.025 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.3918, allocations: 43.86 kB / 1.025 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004443/0.3922, allocations: 155.6 kB / 1.025 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.3924, allocations: 103.7 kB / 1.025 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.3925, allocations: 19.98 kB / 1.025 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002585/0.3928, allocations: 111.7 kB / 1.025 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.3929, allocations: 43.83 kB / 1.025 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.3929, allocations: 4 kB / 1.025 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002639/0.3932, allocations: 171.8 kB / 1.026 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.479e-05/0.3933, allocations: 19.92 kB / 1.026 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 5.524e-05/0.3933, allocations: 37.7 kB / 1.026 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.3935, allocations: 143.9 kB / 1.026 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.3936, allocations: 4 kB / 1.026 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3936, allocations: 0 / 1.026 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.3936, allocations: 0 / 1.026 GB, free: 14.8 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.0009565/0.3945, allocations: 447 kB / 1.026 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.3946, allocations: 8.031 kB / 1.026 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.453e-05/0.3947, allocations: 46.5 kB / 1.026 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00062/0.3953, allocations: 55.84 kB / 1.026 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.3956, allocations: 194.9 kB / 1.027 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.3956, allocations: 8 kB / 1.027 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.3956, allocations: 8 kB / 1.027 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004594/0.3961, allocations: 194.9 kB / 1.027 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.3961, allocations: 4 kB / 1.027 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.3961, allocations: 0 / 1.027 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.3961, allocations: 0 / 1.027 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005062/0.3966, allocations: 175.7 kB / 1.027 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.3978, allocations: 0.8246 MB / 1.028 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004374/0.3983, allocations: 146.4 kB / 1.028 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.3983, allocations: 0 / 1.028 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.3983, allocations: 38.52 kB / 1.028 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.3983, allocations: 4 kB / 1.028 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.001911/0.4003, allocations: 491.1 kB / 1.028 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.4003, allocations: 51.41 kB / 1.028 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.4005, allocations: 143.9 kB / 1.029 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.4005, allocations: 25.7 kB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.418e-05/0.4006, allocations: 112 kB / 1.029 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.4006, allocations: 35.62 kB / 1.029 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/0.4006, allocations: 4 kB / 1.029 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.4008, allocations: 322.8 kB / 1.029 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.4011, allocations: 79.94 kB / 1.029 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.4013, allocations: 112.2 kB / 1.029 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.4016, allocations: 83.95 kB / 1.029 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.4016, allocations: 0 / 1.029 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001058/0.4027, allocations: 298.1 kB / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.4027, allocations: 12.06 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.4027, allocations: 3.938 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005782/0.4033, allocations: 88.75 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.4036, allocations: 35.97 kB / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002085/0.4056, allocations: 1.569 MB / 1.031 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.4059, allocations: 39.7 kB / 1.031 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.4059, allocations: 8 kB / 1.031 GB, free: 8.762 MB / 0.6823 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.0001479/0.4061, allocations: 117.9 kB / 1.031 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/0.4061, allocations: 11.89 kB / 1.031 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.4072, allocations: 334.8 kB / 1.032 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.4072, allocations: 4 kB / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.4072, allocations: 0 / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4072, allocations: 4 kB / 1.032 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.4075, allocations: 237.5 kB / 1.032 GB, free: 8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4075, allocations: 0 / 1.032 GB, free: 8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.4077, allocations: 35.95 kB / 1.032 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004895/0.4082, allocations: 84.77 kB / 1.032 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.4082, allocations: 11.95 kB / 1.032 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/0.4102, allocations: 1.579 MB / 1.034 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.4102, allocations: 4.062 kB / 1.034 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.4113, allocations: 408.3 kB / 1.034 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.347e-05/0.4114, allocations: 81.02 kB / 1.034 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.4114, allocations: 7.984 kB / 1.034 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.4116, allocations: 23.97 kB / 1.034 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/0.4117, allocations: 15.98 kB / 1.034 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.4117, allocations: 7.984 kB / 1.034 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.631e-05/0.4118, allocations: 105 kB / 1.034 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4118, allocations: 3.938 kB / 1.034 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003175/0.4121, allocations: 40 kB / 1.034 GB, free: 5.43 MB / 0.6823 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.001415/0.4136, allocations: 0.9531 MB / 1.035 GB, free: 4.449 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009444/0.4145, allocations: 326.7 kB / 1.036 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4145, allocations: 0 / 1.036 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005212/0.4151, allocations: 246.5 kB / 1.036 GB, free: 3.863 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.4153, allocations: 27.94 kB / 1.036 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/0.418, allocations: 1.617 MB / 1.037 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.4183, allocations: 0.7124 MB / 1.038 GB, free: 1.41 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001892/0.4185, allocations: 28.81 kB / 1.038 GB, free: 1.383 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.801e-05/0.4186, allocations: 31.42 kB / 1.038 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/0.4186, allocations: 0 / 1.038 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.437, allocations: 4.229 MB / 1.042 GB, free: 13.34 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002987/0.4373, allocations: 224.7 kB / 1.042 GB, free: 13.11 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/2.123, allocations: 3.938 kB / 1.042 GB, free: 13.11 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)