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.2269/0.2291, allocations: 80.83 MB / 0.6706 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.004224/0.2334, allocations: 1.673 MB / 0.6722 GB, free: 340 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.7995/1.033, allocations: 149.6 MB / 0.8183 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/1.033, allocations: 0.9375 kB / 0.8183 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002234/1.034, allocations: 25.58 kB / 0.8184 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.525e-05/1.034, allocations: 25 kB / 0.8184 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000911/1.035, allocations: 193.4 kB / 0.8186 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002602/1.035, allocations: 143.3 kB / 0.8187 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/1.035, allocations: 33.02 kB / 0.8187 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/1.035, allocations: 81.83 kB / 0.8188 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/1.035, allocations: 64.38 kB / 0.8189 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.976e-05/1.035, allocations: 10.28 kB / 0.8189 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003726/1.036, allocations: 177 kB / 0.8191 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.675e-05/1.036, allocations: 25.73 kB / 0.8191 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 8.104e-05/1.036, allocations: 51.34 kB / 0.8191 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003796/1.036, allocations: 218.8 kB / 0.8193 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/1.036, allocations: 4 kB / 0.8194 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.244e-06/1.036, allocations: 5.312 kB / 0.8194 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.361e-05/1.036, allocations: 0 / 0.8194 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.001076/1.037, allocations: 0.5034 MB / 0.8198 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/1.037, allocations: 13.19 kB / 0.8199 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000623/1.038, allocations: 56.02 kB / 0.8199 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/1.038, allocations: 204.8 kB / 0.8201 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/1.038, allocations: 7.625 kB / 0.8201 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/1.038, allocations: 10.25 kB / 0.8201 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005166/1.039, allocations: 182.7 kB / 0.8203 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/1.039, allocations: 1.375 kB / 0.8203 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/1.039, allocations: 0 / 0.8203 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/1.039, allocations: 2.75 kB / 0.8203 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005875/1.04, allocations: 181.8 kB / 0.8205 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/1.041, allocations: 0.7311 MB / 0.8212 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004942/1.041, allocations: 149.7 kB / 0.8213 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/1.042, allocations: 93.84 kB / 0.8214 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/1.042, allocations: 5.828 kB / 0.8214 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/1.042, allocations: 31.59 kB / 0.8215 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/1.042, allocations: 4 kB / 0.8215 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.001828/1.044, allocations: 476 kB / 0.8219 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/1.044, allocations: 54.25 kB / 0.822 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/1.044, allocations: 142.5 kB / 0.8221 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/1.044, allocations: 28.48 kB / 0.8221 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/1.044, allocations: 107.6 kB / 0.8222 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/1.044, allocations: 29.83 kB / 0.8223 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.89e-05/1.044, allocations: 33.48 kB / 0.8223 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.044, allocations: 332.9 kB / 0.8226 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/1.044, allocations: 90.08 kB / 0.8227 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/1.045, allocations: 124.2 kB / 0.8228 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005916/1.045, allocations: 268.5 kB / 0.8231 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.045, allocations: 4 kB / 0.8231 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00118/1.047, allocations: 392.3 kB / 0.8235 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.45e-05/1.047, allocations: 62.77 kB / 0.8235 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/1.047, allocations: 2.875 kB / 0.8235 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005681/1.047, allocations: 80.59 kB / 0.8236 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/1.048, allocations: 37.02 kB / 0.8236 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002542/1.05, allocations: 1.629 MB / 0.8252 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/1.05, allocations: 20.91 kB / 0.8252 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/1.05, allocations: 12.8 kB / 0.8252 GB, free: 2.223 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.0001362/1.05, allocations: 130.7 kB / 0.8254 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.549e-05/1.051, allocations: 13.22 kB / 0.8254 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/1.052, allocations: 344 kB / 0.8257 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/1.052, allocations: 2.719 kB / 0.8257 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/1.052, allocations: 0 / 0.8257 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/1.052, allocations: 3.938 kB / 0.8257 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/1.053, allocations: 0.5822 MB / 0.8263 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/1.053, allocations: 6.469 kB / 0.8263 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/1.053, allocations: 33.39 kB / 0.8263 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003795/1.054, allocations: 71.64 kB / 0.8264 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/1.054, allocations: 3.984 kB / 0.8264 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/1.055, allocations: 1.595 MB / 0.828 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.055, allocations: 0 / 0.828 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/1.056, allocations: 397.7 kB / 0.8283 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.542e-05/1.057, allocations: 83.62 kB / 0.8284 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/1.057, allocations: 7.938 kB / 0.8284 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/1.057, allocations: 22.69 kB / 0.8284 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.755e-05/1.057, allocations: 16.83 kB / 0.8285 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/1.057, allocations: 5.094 kB / 0.8285 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.531e-05/1.057, allocations: 108.5 kB / 0.8286 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/1.057, allocations: 0 / 0.8286 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004293/1.057, allocations: 49.52 kB / 0.8286 GB, free: 15.27 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.0004675/1.058, allocations: 137.4 kB / 0.8287 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001133/1.059, allocations: 439.6 kB / 0.8292 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/1.059, allocations: 0 / 0.8292 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005683/1.06, allocations: 237.9 kB / 0.8294 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/1.06, allocations: 35.12 kB / 0.8294 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000937/1.061, allocations: 311.2 kB / 0.8297 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/1.061, allocations: 0.706 MB / 0.8304 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000147/1.061, allocations: 25.38 kB / 0.8304 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.581e-05/1.062, allocations: 22.77 kB / 0.8305 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of SimCode: time 3.71e-07/1.062, allocations: 0 / 0.8305 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of Templates: time 0.008689/1.07, allocations: 3.398 MB / 0.8338 GB, free: 11.94 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)