Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json 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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007289/0.007289, allocations: 101.8 kB / 15.73 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001157, allocations: 193.9 kB / 16.67 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.1 MB / 222.6 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.627/0.627, allocations: 95.48 MB / 365.4 MB, free: 9.762 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 71.89 kB / 0.5036 GB, free: 13.45 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1863, allocations: 69.08 MB / 0.5711 GB, free: 8.305 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.00312/0.1895, allocations: 1.746 MB / 0.5728 GB, free: 6.543 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.6601/0.8496, allocations: 158.4 MB / 0.7275 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.8499, allocations: 0 / 0.7275 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.8501, allocations: 19.8 kB / 0.7275 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.106e-05/0.8502, allocations: 35.64 kB / 0.7275 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000939/0.8512, allocations: 243.1 kB / 0.7277 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.8514, allocations: 151.5 kB / 0.7279 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.8516, allocations: 32.42 kB / 0.7279 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.8517, allocations: 83.75 kB / 0.728 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.8519, allocations: 71.73 kB / 0.7281 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.234e-05/0.8519, allocations: 8 kB / 0.7281 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004496/0.8524, allocations: 251.6 kB / 0.7283 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.743e-05/0.8524, allocations: 23.92 kB / 0.7283 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.685e-05/0.8525, allocations: 63.66 kB / 0.7284 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000428/0.853, allocations: 261.6 kB / 0.7286 GB, free: 13.14 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.853, allocations: 0 / 0.7286 GB, free: 13.14 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.455e-06/0.853, allocations: 4 kB / 0.7286 GB, free: 13.13 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.853, allocations: 2.25 kB / 0.7286 GB, free: 13.13 MB / 0.545 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.001098/0.8541, allocations: 0.5367 MB / 0.7292 GB, free: 12.54 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.8542, allocations: 11.98 kB / 0.7292 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002683/0.8545, allocations: 23.94 kB / 0.7292 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.8547, allocations: 206.8 kB / 0.7294 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.8547, allocations: 8 kB / 0.7294 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.8548, allocations: 11.94 kB / 0.7294 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004148/0.8552, allocations: 168.9 kB / 0.7296 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.8552, allocations: 0 / 0.7296 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.8552, allocations: 11.98 kB / 0.7296 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.8553, allocations: 0 / 0.7296 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004557/0.8557, allocations: 151.8 kB / 0.7297 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009625/0.8567, allocations: 0.719 MB / 0.7304 GB, free: 11.1 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003339/0.857, allocations: 134.5 kB / 0.7306 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.8573, allocations: 80.8 kB / 0.7306 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.8573, allocations: 4 kB / 0.7307 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.8573, allocations: 30.56 kB / 0.7307 GB, free: 10.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.8573, allocations: 0 / 0.7307 GB, free: 10.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.001574/0.8589, allocations: 455.3 kB / 0.7311 GB, free: 10.36 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.859, allocations: 51.41 kB / 0.7312 GB, free: 10.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.8591, allocations: 166.6 kB / 0.7313 GB, free: 10.13 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.8592, allocations: 29.7 kB / 0.7314 GB, free: 10.09 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.948e-05/0.8592, allocations: 100.3 kB / 0.7314 GB, free: 9.992 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.8593, allocations: 27.78 kB / 0.7315 GB, free: 9.965 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-05/0.8594, allocations: 42.22 kB / 0.7315 GB, free: 9.918 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.8595, allocations: 318.8 kB / 0.7318 GB, free: 9.598 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.8597, allocations: 83.92 kB / 0.7319 GB, free: 9.516 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.86, allocations: 111.4 kB / 0.732 GB, free: 9.395 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005968/0.8606, allocations: 250.6 kB / 0.7322 GB, free: 9.125 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.8607, allocations: 3.938 kB / 0.7322 GB, free: 9.121 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001101/0.8618, allocations: 373.5 kB / 0.7326 GB, free: 8.734 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.579e-05/0.8619, allocations: 66.36 kB / 0.7327 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.8619, allocations: 0 / 0.7327 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000607/0.8625, allocations: 84.88 kB / 0.7327 GB, free: 8.574 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.8627, allocations: 27.97 kB / 0.7328 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002379/0.8651, allocations: 1.634 MB / 0.7344 GB, free: 6.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.8653, allocations: 24.08 kB / 0.7344 GB, free: 6.746 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.8653, allocations: 17.02 kB / 0.7344 GB, free: 6.73 MB / 0.545 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.0001493/0.8655, allocations: 125.8 kB / 0.7345 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.8655, allocations: 11.95 kB / 0.7345 GB, free: 6.586 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009847/0.8665, allocations: 328.5 kB / 0.7349 GB, free: 6.246 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.8665, allocations: 0 / 0.7349 GB, free: 6.246 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.8666, allocations: 4 kB / 0.7349 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.8666, allocations: 3.984 kB / 0.7349 GB, free: 6.238 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.8678, allocations: 0.581 MB / 0.7354 GB, free: 5.598 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.8678, allocations: 0 / 0.7354 GB, free: 5.598 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.8679, allocations: 35.97 kB / 0.7355 GB, free: 5.562 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003879/0.8683, allocations: 68.89 kB / 0.7355 GB, free: 5.492 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.8684, allocations: 8.812 kB / 0.7355 GB, free: 5.484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/0.87, allocations: 1.585 MB / 0.7371 GB, free: 3.758 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.87, allocations: 0 / 0.7371 GB, free: 3.758 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.8711, allocations: 401.4 kB / 0.7375 GB, free: 3.348 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.8712, allocations: 101 kB / 0.7376 GB, free: 3.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.8713, allocations: 7.984 kB / 0.7376 GB, free: 3.223 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.8714, allocations: 15.98 kB / 0.7376 GB, free: 3.207 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/0.8715, allocations: 19.98 kB / 0.7376 GB, free: 3.188 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.8715, allocations: 4 kB / 0.7376 GB, free: 3.184 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001008/0.8716, allocations: 120.2 kB / 0.7377 GB, free: 3.066 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8717, allocations: 3.938 kB / 0.7377 GB, free: 3.062 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003954/0.8721, allocations: 63.86 kB / 0.7378 GB, free: 3 MB / 0.545 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 (13): * Single equations (assignments): 12 * 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.0003869/0.8724, allocations: 150.4 kB / 0.7379 GB, free: 2.852 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008867/0.8733, allocations: 433.1 kB / 0.7383 GB, free: 2.391 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.8734, allocations: 0 / 0.7383 GB, free: 2.391 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004518/0.8738, allocations: 230.7 kB / 0.7386 GB, free: 2.152 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.8741, allocations: 19.92 kB / 0.7386 GB, free: 2.133 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000644/0.8748, allocations: 314.8 kB / 0.7389 GB, free: 1.805 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.8752, allocations: 0.7087 MB / 0.7396 GB, free: 1.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.587e-05/0.8753, allocations: 22.2 kB / 0.7396 GB, free: 1.051 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.508e-05/0.8753, allocations: 23.38 kB / 0.7396 GB, free: 1.027 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.8753, allocations: 0 / 0.7396 GB, free: 1.027 MB / 0.545 GB Notification: Performance of Templates: time 0.008154/0.8835, allocations: 3.543 MB / 0.7431 GB, free: 13.52 MB / 0.5606 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)