Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.202/0.2042, allocations: 80.83 MB / 0.6706 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002886/0.2072, allocations: 1.673 MB / 0.6722 GB, free: 324 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.7516/0.9588, allocations: 149.6 MB / 0.8183 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.959, allocations: 1 kB / 0.8183 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.9592, allocations: 23.44 kB / 0.8184 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.9593, allocations: 21.86 kB / 0.8184 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008825/0.9602, allocations: 201.1 kB / 0.8186 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003249/0.9606, allocations: 143.3 kB / 0.8187 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.9607, allocations: 30.62 kB / 0.8187 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.961, allocations: 79.17 kB / 0.8188 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.9612, allocations: 64.25 kB / 0.8189 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.508e-05/0.9613, allocations: 14.75 kB / 0.8189 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004949/0.9618, allocations: 168.4 kB / 0.8191 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.561e-05/0.9619, allocations: 29.67 kB / 0.8191 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.962, allocations: 52.12 kB / 0.8191 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004594/0.9625, allocations: 213.8 kB / 0.8193 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.9625, allocations: 0 / 0.8193 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.426e-06/0.9625, allocations: 1.625 kB / 0.8193 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.9625, allocations: 0 / 0.8193 GB, free: 6.953 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001125/0.9637, allocations: 0.5042 MB / 0.8198 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.9637, allocations: 9.562 kB / 0.8198 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006222/0.9643, allocations: 63.88 kB / 0.8199 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.9646, allocations: 199.9 kB / 0.8201 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.9646, allocations: 7.875 kB / 0.8201 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.9647, allocations: 8.25 kB / 0.8201 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004614/0.9651, allocations: 185.2 kB / 0.8203 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.9652, allocations: 1.375 kB / 0.8203 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.9652, allocations: 12.8 kB / 0.8203 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.9652, allocations: 1.375 kB / 0.8203 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005343/0.9657, allocations: 178.8 kB / 0.8205 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.9668, allocations: 0.7292 MB / 0.8212 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004167/0.9673, allocations: 147.1 kB / 0.8213 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.9675, allocations: 101.1 kB / 0.8214 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.9676, allocations: 1.375 kB / 0.8214 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.9676, allocations: 31.94 kB / 0.8214 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.9676, allocations: 0 / 0.8214 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0017/0.9693, allocations: 478.3 kB / 0.8219 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.9694, allocations: 56.53 kB / 0.822 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.9695, allocations: 139.7 kB / 0.8221 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.9695, allocations: 28.08 kB / 0.8221 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.302e-05/0.9696, allocations: 103.5 kB / 0.8222 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.9697, allocations: 26.86 kB / 0.8222 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.268e-05/0.9698, allocations: 42.3 kB / 0.8223 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.9699, allocations: 324.5 kB / 0.8226 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/0.9702, allocations: 96.81 kB / 0.8227 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.9705, allocations: 129.8 kB / 0.8228 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005789/0.9711, allocations: 263.2 kB / 0.8231 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.9711, allocations: 0 / 0.8231 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00111/0.9722, allocations: 395.8 kB / 0.8234 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.711e-05/0.9723, allocations: 63.41 kB / 0.8235 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.9723, allocations: 0 / 0.8235 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000545/0.9729, allocations: 78.22 kB / 0.8236 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.9731, allocations: 38.86 kB / 0.8236 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/0.9752, allocations: 1.623 MB / 0.8252 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.9754, allocations: 28.95 kB / 0.8252 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.9755, allocations: 13.83 kB / 0.8252 GB, free: 2.203 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (wetBulApp.iWat,wetBul.iWat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.9756, allocations: 129.3 kB / 0.8254 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.939e-05/0.9757, allocations: 10.25 kB / 0.8254 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.9767, allocations: 339 kB / 0.8257 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-06/0.9767, allocations: 0 / 0.8257 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.9768, allocations: 1.125 kB / 0.8257 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.9768, allocations: 3.938 kB / 0.8257 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.9781, allocations: 0.588 MB / 0.8263 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.9781, allocations: 7.938 kB / 0.8263 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.9783, allocations: 28.91 kB / 0.8263 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003712/0.9787, allocations: 76 kB / 0.8264 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.9787, allocations: 2.719 kB / 0.8264 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/0.9803, allocations: 1.579 MB / 0.8279 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.9804, allocations: 3.938 kB / 0.8279 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.9814, allocations: 411.8 kB / 0.8283 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.9814, allocations: 97.86 kB / 0.8284 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.9815, allocations: 7.922 kB / 0.8284 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.9817, allocations: 11.83 kB / 0.8284 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.23e-05/0.9817, allocations: 20.61 kB / 0.8285 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.9818, allocations: 3.984 kB / 0.8285 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.045e-05/0.9818, allocations: 108.8 kB / 0.8286 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9819, allocations: 0 / 0.8286 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003518/0.9822, allocations: 43.91 kB / 0.8286 GB, free: 15.25 MB / 0.6075 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003071/0.9825, allocations: 130.4 kB / 0.8287 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001042/0.9836, allocations: 445.8 kB / 0.8292 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.9836, allocations: 0 / 0.8292 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005103/0.9841, allocations: 243.1 kB / 0.8294 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.9844, allocations: 20.52 kB / 0.8294 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008468/0.9853, allocations: 313.4 kB / 0.8297 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.9856, allocations: 0.7092 MB / 0.8304 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001289/0.9857, allocations: 29.91 kB / 0.8304 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.9858, allocations: 19.05 kB / 0.8304 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.9858, allocations: 0 / 0.8304 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of Templates: time 0.007904/0.9937, allocations: 3.486 MB / 0.8338 GB, free: 11.85 MB / 0.6075 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)