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.5556/0.558, allocations: 80.81 MB / 0.5904 GB, free: 22.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003627/0.5617, allocations: 1.67 MB / 0.592 GB, free: 20.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1933/0.755, allocations: 149.6 MB / 0.7381 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.7553, allocations: 4 kB / 0.7381 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.7555, allocations: 19.8 kB / 0.7382 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.356e-05/0.7556, allocations: 31.72 kB / 0.7382 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007272/0.7563, allocations: 187.3 kB / 0.7384 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.7565, allocations: 151.5 kB / 0.7385 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.7567, allocations: 30.52 kB / 0.7385 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.7568, allocations: 75.77 kB / 0.7386 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.757, allocations: 67.73 kB / 0.7387 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.321e-05/0.757, allocations: 12 kB / 0.7387 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000314/0.7573, allocations: 171.7 kB / 0.7388 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.335e-05/0.7574, allocations: 27.95 kB / 0.7389 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.271e-05/0.7575, allocations: 55.72 kB / 0.7389 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003451/0.7579, allocations: 215.5 kB / 0.7391 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7579, allocations: 0 / 0.7391 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7579, allocations: 0 / 0.7391 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.7579, allocations: 0 / 0.7391 GB, free: 13.94 MB / 0.5762 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.001155/0.7591, allocations: 0.5063 MB / 0.7396 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.7591, allocations: 8.031 kB / 0.7396 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006254/0.7597, allocations: 60.16 kB / 0.7397 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.76, allocations: 202.1 kB / 0.7399 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.76, allocations: 11.94 kB / 0.7399 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.7601, allocations: 12 kB / 0.7399 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004643/0.7605, allocations: 180.9 kB / 0.7401 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.7605, allocations: 0 / 0.7401 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.7606, allocations: 4 kB / 0.7401 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.7606, allocations: 7.938 kB / 0.7401 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005522/0.7611, allocations: 175.8 kB / 0.7403 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.7627, allocations: 0.7306 MB / 0.741 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004439/0.7631, allocations: 150.5 kB / 0.7411 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002904/0.7634, allocations: 96.72 kB / 0.7412 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.7635, allocations: 4 kB / 0.7412 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.7635, allocations: 38.56 kB / 0.7412 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.7635, allocations: 0 / 0.7412 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.002129/0.7657, allocations: 475.3 kB / 0.7417 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.7657, allocations: 55.34 kB / 0.7418 GB, free: 11 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.7659, allocations: 143 kB / 0.7419 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.766, allocations: 33.7 kB / 0.7419 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.7662, allocations: 99.94 kB / 0.742 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.7662, allocations: 27.56 kB / 0.742 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.185e-05/0.7663, allocations: 41.69 kB / 0.7421 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.7664, allocations: 322.8 kB / 0.7424 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/0.7668, allocations: 87.92 kB / 0.7425 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.7671, allocations: 123.3 kB / 0.7426 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006194/0.7677, allocations: 270.6 kB / 0.7429 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.7677, allocations: 0 / 0.7429 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001169/0.7689, allocations: 385.5 kB / 0.7432 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.49e-05/0.769, allocations: 63.39 kB / 0.7433 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.769, allocations: 0 / 0.7433 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005999/0.7696, allocations: 88.91 kB / 0.7434 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.7698, allocations: 39.84 kB / 0.7434 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002749/0.7726, allocations: 1.62 MB / 0.745 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.7728, allocations: 27.94 kB / 0.745 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.7729, allocations: 19.97 kB / 0.745 GB, free: 7.398 MB / 0.5762 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.0001197/0.773, allocations: 126.4 kB / 0.7452 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/0.773, allocations: 7.906 kB / 0.7452 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.7742, allocations: 342.9 kB / 0.7455 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.7742, allocations: 4 kB / 0.7455 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.7742, allocations: 0 / 0.7455 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.7742, allocations: 7.922 kB / 0.7455 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.7756, allocations: 0.5759 MB / 0.7461 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.7756, allocations: 0 / 0.7461 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.7758, allocations: 43.95 kB / 0.7461 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003834/0.7762, allocations: 72.73 kB / 0.7462 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.7763, allocations: 0 / 0.7462 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/0.7781, allocations: 1.584 MB / 0.7477 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.7781, allocations: 4 kB / 0.7477 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.7792, allocations: 407.9 kB / 0.7481 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.7793, allocations: 89.14 kB / 0.7482 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.7794, allocations: 3.938 kB / 0.7482 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.7796, allocations: 19.97 kB / 0.7482 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.303e-05/0.7797, allocations: 15.97 kB / 0.7482 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.7797, allocations: 8 kB / 0.7482 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.576e-05/0.7798, allocations: 107.6 kB / 0.7483 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7798, allocations: 0 / 0.7483 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003598/0.7801, allocations: 51.98 kB / 0.7484 GB, free: 3.695 MB / 0.5762 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.0004227/0.7806, allocations: 134.5 kB / 0.7485 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.7816, allocations: 449.2 kB / 0.7489 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.7816, allocations: 192 / 0.749 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005373/0.7822, allocations: 230.6 kB / 0.7492 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.7825, allocations: 34.12 kB / 0.7492 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000859/0.7833, allocations: 316.3 kB / 0.7495 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.7837, allocations: 0.7045 MB / 0.7502 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001563/0.7838, allocations: 25 kB / 0.7502 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.798e-05/0.7839, allocations: 19.42 kB / 0.7502 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/0.7839, allocations: 0 / 0.7502 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of Templates: time 0.3099/1.094, allocations: 3.365 MB / 0.7535 GB, free: 162.4 MB / 0.5762 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)