Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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_TDryBulPhi,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.618/1.618, allocations: 288.4 MB / 303.6 MB, free: 8.133 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.0009913/0.0009913, allocations: 180.8 kB / 372.3 MB, free: 10.12 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.249/1.249, allocations: 205.4 MB / 0.631 GB, free: 9.902 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.0007129/0.0007129, allocations: 102.9 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003222/0.0003222, allocations: 16.75 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1584, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00154/0.16, allocations: 1.601 MB / 0.9817 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5028/0.6628, allocations: 141.2 MB / 1.12 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.663, allocations: 4.906 kB / 1.12 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.6631, allocations: 13.98 kB / 1.12 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002558/0.6634, allocations: 61.45 kB / 1.12 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007108/0.6641, allocations: 213.3 kB / 1.12 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.6644, allocations: 233.4 kB / 1.12 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.6645, allocations: 62.3 kB / 1.12 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009701/0.6655, allocations: 192 kB / 1.12 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.6656, allocations: 72.98 kB / 1.12 GB, free: 2.074 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.6657, allocations: 10 kB / 1.12 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003485/0.666, allocations: 169.6 kB / 1.121 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 5.334e-05/0.6661, allocations: 36.02 kB / 1.121 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.6662, allocations: 94.8 kB / 1.121 GB, free: 18 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.6665, allocations: 191 kB / 1.121 GB, free: 17.98 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.6665, allocations: 0 / 1.121 GB, free: 17.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6665, allocations: 0 / 1.121 GB, free: 17.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.6665, allocations: 0 / 1.121 GB, free: 17.98 MB / 0.698 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.0007936/0.6673, allocations: 491.1 kB / 1.121 GB, free: 17.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.6674, allocations: 8.812 kB / 1.121 GB, free: 17.57 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.207e-05/0.6675, allocations: 55.88 kB / 1.121 GB, free: 17.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007497/0.6682, allocations: 85.11 kB / 1.122 GB, free: 17.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.6685, allocations: 220.9 kB / 1.122 GB, free: 17.31 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.128e-05/0.6685, allocations: 42.53 kB / 1.122 GB, free: 17.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.6686, allocations: 21.53 kB / 1.122 GB, free: 17.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004793/0.6691, allocations: 263.5 kB / 1.122 GB, free: 17.17 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.6691, allocations: 3.938 kB / 1.122 GB, free: 17.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.6691, allocations: 8.5 kB / 1.122 GB, free: 17.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.6691, allocations: 8.75 kB / 1.122 GB, free: 17.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004269/0.6696, allocations: 181.4 kB / 1.122 GB, free: 17.15 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.671, allocations: 1.177 MB / 1.123 GB, free: 16.26 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007006/0.6717, allocations: 213 kB / 1.124 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.6719, allocations: 77.52 kB / 1.124 GB, free: 16.22 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.672, allocations: 3.656 kB / 1.124 GB, free: 16.22 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.672, allocations: 34.41 kB / 1.124 GB, free: 16.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.672, allocations: 4 kB / 1.124 GB, free: 16.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.002458/0.6744, allocations: 0.6411 MB / 1.124 GB, free: 15.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.6745, allocations: 58 kB / 1.124 GB, free: 15.85 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.6747, allocations: 194.2 kB / 1.125 GB, free: 15.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.6747, allocations: 26.86 kB / 1.125 GB, free: 15.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.81e-05/0.6748, allocations: 144.1 kB / 1.125 GB, free: 15.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.6748, allocations: 47.8 kB / 1.125 GB, free: 15.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.426e-05/0.6749, allocations: 0 / 1.125 GB, free: 15.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.533e-05/0.675, allocations: 338.8 kB / 1.125 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.6752, allocations: 76.36 kB / 1.125 GB, free: 15.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.6754, allocations: 131.6 kB / 1.125 GB, free: 15.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004059/0.6758, allocations: 212.2 kB / 1.126 GB, free: 15.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6758, allocations: 1.031 kB / 1.126 GB, free: 15.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001337/0.6772, allocations: 380.7 kB / 1.126 GB, free: 15.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.6772, allocations: 7.75 kB / 1.126 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.6772, allocations: 1.969 kB / 1.126 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/0.6782, allocations: 166.2 kB / 1.126 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.6785, allocations: 49.58 kB / 1.126 GB, free: 14.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003328/0.6818, allocations: 3.027 MB / 1.129 GB, free: 12.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/0.6822, allocations: 41 kB / 1.129 GB, free: 12.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.6822, allocations: 11.52 kB / 1.129 GB, free: 12.36 MB / 0.698 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.000129/0.6823, allocations: 130.8 kB / 1.129 GB, free: 12.24 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.6824, allocations: 14.72 kB / 1.129 GB, free: 12.23 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.6837, allocations: 386.8 kB / 1.13 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.6837, allocations: 2 kB / 1.13 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.6837, allocations: 2.484 kB / 1.13 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.6837, allocations: 1 kB / 1.13 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002971/0.684, allocations: 275.9 kB / 1.13 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.684, allocations: 0 / 1.13 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.6841, allocations: 23.86 kB / 1.13 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00092/0.6851, allocations: 164.8 kB / 1.13 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.6851, allocations: 5.344 kB / 1.13 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003112/0.6882, allocations: 3.084 MB / 1.133 GB, free: 9.309 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6882, allocations: 0 / 1.133 GB, free: 9.309 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.6894, allocations: 441.9 kB / 1.133 GB, free: 9.137 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.6895, allocations: 109.1 kB / 1.134 GB, free: 9.035 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.6896, allocations: 7.188 kB / 1.134 GB, free: 9.031 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002746/0.6899, allocations: 19.56 kB / 1.134 GB, free: 9.031 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.827e-05/0.6899, allocations: 17.95 kB / 1.134 GB, free: 9.031 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.69, allocations: 2.719 kB / 1.134 GB, free: 9.031 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001584/0.6901, allocations: 157.1 kB / 1.134 GB, free: 8.949 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6901, allocations: 0 / 1.134 GB, free: 8.949 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004163/0.6906, allocations: 71.53 kB / 1.134 GB, free: 8.941 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 (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.001485/0.692, allocations: 0.9933 MB / 1.135 GB, free: 8.238 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009477/0.693, allocations: 456.3 kB / 1.135 GB, free: 7.996 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.693, allocations: 0 / 1.135 GB, free: 7.996 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006133/0.6936, allocations: 365.7 kB / 1.136 GB, free: 7.766 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.6941, allocations: 68.64 kB / 1.136 GB, free: 7.746 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/0.6968, allocations: 1.316 MB / 1.137 GB, free: 7.176 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.6971, allocations: 0.7319 MB / 1.138 GB, free: 6.473 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002093/0.6973, allocations: 34.31 kB / 1.138 GB, free: 6.457 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.042e-05/0.6974, allocations: 57.23 kB / 1.138 GB, free: 6.445 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/0.6974, allocations: 0 / 1.138 GB, free: 6.445 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3845/1.082, allocations: 6.674 MB / 1.144 GB, free: 4.027 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002525/1.082, allocations: 230.8 kB / 1.145 GB, free: 3.789 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.254/3.337, allocations: 3.938 kB / 1.145 GB, free: 3.785 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)