Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.018/2.018, allocations: 391.2 MB / 407 MB, free: 10.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001064, allocations: 187.5 kB / 499.1 MB, free: 4.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 0.7948 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009046/0.0009045, allocations: 114.4 kB / 0.9329 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 54.12 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2191, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002442/0.2216, allocations: 1.698 MB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1127/0.3343, allocations: 147.4 MB / 1.364 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.3345, allocations: 0 / 1.364 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002063/0.3348, allocations: 15.86 kB / 1.364 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.3351, allocations: 47.7 kB / 1.364 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005649/0.3357, allocations: 155.5 kB / 1.364 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.000233/0.336, allocations: 155.5 kB / 1.364 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.3361, allocations: 30.09 kB / 1.364 GB, free: 15.17 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002554/0.3387, allocations: 171.3 kB / 1.364 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.3388, allocations: 51.83 kB / 1.364 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.3389, allocations: 4 kB / 1.364 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004304/0.3393, allocations: 163.7 kB / 1.364 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 6.775e-05/0.3394, allocations: 23.91 kB / 1.364 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.3395, allocations: 51.67 kB / 1.365 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004277/0.3399, allocations: 199.4 kB / 1.365 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.34, allocations: 0 / 1.365 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of FrontEnd: time 7.484e-06/0.34, allocations: 4 kB / 1.365 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.34, allocations: 0 / 1.365 GB, free: 14.54 MB / 0.8698 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.001315/0.3413, allocations: 459 kB / 1.365 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.816e-05/0.3414, allocations: 11.98 kB / 1.365 GB, free: 14.03 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007101/0.3421, allocations: 56.78 kB / 1.365 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.3424, allocations: 198.8 kB / 1.365 GB, free: 13.74 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.3424, allocations: 7.938 kB / 1.365 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.3425, allocations: 12 kB / 1.365 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004686/0.3429, allocations: 179.3 kB / 1.366 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.343, allocations: 4 kB / 1.366 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.343, allocations: 4 kB / 1.366 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.343, allocations: 4 kB / 1.366 GB, free: 13.51 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004763/0.3435, allocations: 147.8 kB / 1.366 GB, free: 13.37 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.3445, allocations: 0.8206 MB / 1.367 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003851/0.3449, allocations: 130.4 kB / 1.367 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/0.3452, allocations: 88.78 kB / 1.367 GB, free: 12.24 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.3452, allocations: 0 / 1.367 GB, free: 12.24 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.3453, allocations: 34.56 kB / 1.367 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.3453, allocations: 0 / 1.367 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.001843/0.3471, allocations: 451.2 kB / 1.367 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.3472, allocations: 55.41 kB / 1.367 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.3473, allocations: 146.9 kB / 1.367 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.3473, allocations: 25.7 kB / 1.367 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.306e-05/0.3474, allocations: 112 kB / 1.368 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.3474, allocations: 27.56 kB / 1.368 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.941e-05/0.3475, allocations: 37.69 kB / 1.368 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.993e-05/0.3476, allocations: 322.8 kB / 1.368 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.3478, allocations: 71.94 kB / 1.368 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.3481, allocations: 96.23 kB / 1.368 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004561/0.3485, allocations: 184.4 kB / 1.368 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3486, allocations: 0 / 1.368 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009442/0.3495, allocations: 282.1 kB / 1.369 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.3495, allocations: 7.938 kB / 1.369 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.3495, allocations: 4 kB / 1.369 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000553/0.3501, allocations: 88.83 kB / 1.369 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.3503, allocations: 31.95 kB / 1.369 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/0.3522, allocations: 1.552 MB / 1.37 GB, free: 8.488 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.3524, allocations: 23.88 kB / 1.37 GB, free: 8.465 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.3524, allocations: 8 kB / 1.37 GB, free: 8.457 MB / 0.8698 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 (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 prepare postOptimizeDAE: time 0.0001032/0.3525, allocations: 130.4 kB / 1.37 GB, free: 8.32 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.3526, allocations: 7.906 kB / 1.37 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009982/0.3536, allocations: 314.9 kB / 1.371 GB, free: 7.992 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3536, allocations: 4 kB / 1.371 GB, free: 7.988 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.3536, allocations: 0 / 1.371 GB, free: 7.988 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.3536, allocations: 7.922 kB / 1.371 GB, free: 7.98 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.3538, allocations: 225.6 kB / 1.371 GB, free: 7.711 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3538, allocations: 4 kB / 1.371 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.354, allocations: 31.95 kB / 1.371 GB, free: 7.676 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004656/0.3545, allocations: 84.77 kB / 1.371 GB, free: 7.59 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.3545, allocations: 4 kB / 1.371 GB, free: 7.586 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/0.3562, allocations: 1.575 MB / 1.373 GB, free: 5.875 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3562, allocations: 3.938 kB / 1.373 GB, free: 5.871 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.3576, allocations: 1.021 MB / 1.374 GB, free: 4.789 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.013e-05/0.3577, allocations: 89 kB / 1.374 GB, free: 4.684 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.3577, allocations: 4 kB / 1.374 GB, free: 4.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.3579, allocations: 15.98 kB / 1.374 GB, free: 4.664 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.885e-05/0.358, allocations: 15.91 kB / 1.374 GB, free: 4.648 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.358, allocations: 8 kB / 1.374 GB, free: 4.641 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.688e-05/0.3581, allocations: 109.2 kB / 1.374 GB, free: 4.535 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3581, allocations: 0 / 1.374 GB, free: 4.535 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004104/0.3585, allocations: 43.98 kB / 1.374 GB, free: 4.492 MB / 0.8698 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 (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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000193/0.3587, allocations: 119.1 kB / 1.374 GB, free: 4.367 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008461/0.3596, allocations: 306.4 kB / 1.374 GB, free: 4.055 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3596, allocations: 0 / 1.374 GB, free: 4.055 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004944/0.3601, allocations: 230.9 kB / 1.374 GB, free: 3.816 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.3604, allocations: 32.5 kB / 1.374 GB, free: 3.789 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008134/0.3613, allocations: 472.5 kB / 1.375 GB, free: 3.297 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.3615, allocations: 0.7166 MB / 1.376 GB, free: 2.555 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000155/0.3617, allocations: 28.95 kB / 1.376 GB, free: 2.527 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.763e-05/0.3617, allocations: 19.42 kB / 1.376 GB, free: 2.508 MB / 0.8698 GB Notification: Performance of SimCode: time 4.21e-07/0.3617, allocations: 0 / 1.376 GB, free: 2.508 MB / 0.8698 GB Notification: Performance of Templates: time 0.005708/0.3675, allocations: 3.044 MB / 1.379 GB, free: 15.48 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)