Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.536/2.536, allocations: 287.3 MB / 302.3 MB, free: 8.352 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.00156/0.001559, allocations: 183.5 kB / 370.8 MB, free: 10.84 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.186/2.186, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001163/0.001162, allocations: 90.91 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006535/0.0006536, allocations: 11.7 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2225, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002053/0.2246, allocations: 1.368 MB / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8719/1.097, allocations: 126.4 MB / 1.103 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/1.097, allocations: 5.406 kB / 1.103 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001901/1.097, allocations: 21.36 kB / 1.103 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.000256/1.097, allocations: 44.89 kB / 1.103 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006487/1.098, allocations: 162 kB / 1.103 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001867/1.098, allocations: 89.95 kB / 1.103 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/1.098, allocations: 31.81 kB / 1.103 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003511/1.099, allocations: 111.3 kB / 1.104 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/1.099, allocations: 47.89 kB / 1.104 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/1.099, allocations: 4.031 kB / 1.104 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000487/1.099, allocations: 172.3 kB / 1.104 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.69e-05/1.099, allocations: 18.8 kB / 1.104 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/1.099, allocations: 44.48 kB / 1.104 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003752/1.1, allocations: 136.5 kB / 1.104 GB, free: 1.801 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/1.1, allocations: 0 / 1.104 GB, free: 1.801 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.185e-06/1.1, allocations: 0 / 1.104 GB, free: 1.801 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.112e-05/1.1, allocations: 5.281 kB / 1.104 GB, free: 1.797 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.001199/1.101, allocations: 450.5 kB / 1.104 GB, free: 17.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/1.101, allocations: 13.3 kB / 1.104 GB, free: 17.4 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.107e-05/1.101, allocations: 45.62 kB / 1.104 GB, free: 17.36 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009324/1.102, allocations: 54.38 kB / 1.104 GB, free: 17.35 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/1.102, allocations: 192.4 kB / 1.105 GB, free: 17.15 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/1.102, allocations: 9.5 kB / 1.105 GB, free: 17.15 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.474e-05/1.102, allocations: 14.05 kB / 1.105 GB, free: 17.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007127/1.103, allocations: 191.8 kB / 1.105 GB, free: 17.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/1.103, allocations: 0.6094 kB / 1.105 GB, free: 17.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/1.103, allocations: 4.656 kB / 1.105 GB, free: 17.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/1.103, allocations: 2.5 kB / 1.105 GB, free: 17.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009523/1.104, allocations: 164.2 kB / 1.105 GB, free: 17.06 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/1.106, allocations: 0.8274 MB / 1.106 GB, free: 16.37 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000674/1.107, allocations: 147 kB / 1.106 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/1.107, allocations: 3.797 kB / 1.106 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/1.107, allocations: 35.86 kB / 1.106 GB, free: 16.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 3.797e-06/1.107, allocations: 0 / 1.106 GB, free: 16.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.00332/1.11, allocations: 491.7 kB / 1.106 GB, free: 16.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/1.11, allocations: 56.84 kB / 1.107 GB, free: 16.08 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/1.11, allocations: 141.3 kB / 1.107 GB, free: 15.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/1.11, allocations: 27.02 kB / 1.107 GB, free: 15.95 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.587e-05/1.111, allocations: 111 kB / 1.107 GB, free: 15.85 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.222e-05/1.111, allocations: 28.59 kB / 1.107 GB, free: 15.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.828e-05/1.111, allocations: 0 / 1.107 GB, free: 15.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.111, allocations: 327 kB / 1.107 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000453/1.111, allocations: 80.27 kB / 1.107 GB, free: 15.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004905/1.112, allocations: 115.5 kB / 1.107 GB, free: 15.47 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004647/1.112, allocations: 89.12 kB / 1.107 GB, free: 15.46 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.112, allocations: 1.969 kB / 1.107 GB, free: 15.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001862/1.114, allocations: 303.8 kB / 1.108 GB, free: 15.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/1.114, allocations: 5.562 kB / 1.108 GB, free: 15.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/1.114, allocations: 2.047 kB / 1.108 GB, free: 15.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009868/1.115, allocations: 89.08 kB / 1.108 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004103/1.116, allocations: 35.09 kB / 1.108 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003179/1.119, allocations: 1.567 MB / 1.109 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004286/1.119, allocations: 33.27 kB / 1.109 GB, free: 14.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/1.119, allocations: 9.125 kB / 1.109 GB, free: 14.06 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.000176/1.119, allocations: 117 kB / 1.109 GB, free: 13.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.332e-05/1.12, allocations: 7.781 kB / 1.109 GB, free: 13.95 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/1.122, allocations: 347.5 kB / 1.11 GB, free: 13.87 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/1.122, allocations: 2.844 kB / 1.11 GB, free: 13.87 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/1.122, allocations: 0 / 1.11 GB, free: 13.87 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/1.122, allocations: 1.656 kB / 1.11 GB, free: 13.87 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000482/1.122, allocations: 229.9 kB / 1.11 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.122, allocations: 0 / 1.11 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004133/1.123, allocations: 41.47 kB / 1.11 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000914/1.124, allocations: 84.59 kB / 1.11 GB, free: 13.67 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.389e-05/1.124, allocations: 10.41 kB / 1.11 GB, free: 13.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003086/1.127, allocations: 1.59 MB / 1.112 GB, free: 12.35 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/1.127, allocations: 1.344 kB / 1.112 GB, free: 12.35 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/1.129, allocations: 400.6 kB / 1.112 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.418e-05/1.129, allocations: 89.89 kB / 1.112 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.99e-05/1.129, allocations: 4.062 kB / 1.112 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/1.129, allocations: 22.34 kB / 1.112 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/1.129, allocations: 11.33 kB / 1.112 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/1.129, allocations: 7.25 kB / 1.112 GB, free: 12.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001236/1.13, allocations: 108 kB / 1.112 GB, free: 12.01 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.81e-07/1.13, allocations: 5.156 kB / 1.112 GB, free: 12.01 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004908/1.13, allocations: 38.5 kB / 1.112 GB, free: 12.01 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.002354/1.133, allocations: 0.9456 MB / 1.113 GB, free: 11.32 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001541/1.134, allocations: 334.6 kB / 1.114 GB, free: 11.19 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/1.134, allocations: 0 / 1.114 GB, free: 11.19 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009183/1.135, allocations: 239 kB / 1.114 GB, free: 11.07 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/1.135, allocations: 32.05 kB / 1.114 GB, free: 11.06 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004466/1.14, allocations: 1.625 MB / 1.115 GB, free: 10 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/1.14, allocations: 0.7157 MB / 1.116 GB, free: 9.301 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003223/1.141, allocations: 23.19 kB / 1.116 GB, free: 9.293 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/1.141, allocations: 32.02 kB / 1.116 GB, free: 9.285 MB / 0.698 GB Notification: Performance of SimCode: time 2.425e-06/1.141, allocations: 0 / 1.116 GB, free: 9.285 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03608/1.177, allocations: 4.227 MB / 1.12 GB, free: 8.934 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003499/1.177, allocations: 226.7 kB / 1.121 GB, free: 8.695 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/3.711, allocations: 0 / 1.121 GB, free: 8.695 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)