Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 108.9 kB / 16.37 MB, free: 6.465 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.001689/0.001689, allocations: 189.8 kB / 17.31 MB, free: 5.809 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.604/1.604, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.886/1.886, allocations: 292.3 MB / 0.5496 GB, free: 17.71 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 75.19 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2723, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.004265/0.2766, allocations: 1.928 MB / 0.7867 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.6912/0.9678, allocations: 155.4 MB / 0.9384 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.9681, allocations: 4 kB / 0.9384 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.9683, allocations: 27.72 kB / 0.9384 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003504/0.9687, allocations: 75.42 kB / 0.9385 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007402/0.9694, allocations: 259.2 kB / 0.9387 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002956/0.9698, allocations: 251.2 kB / 0.939 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.97, allocations: 80.31 kB / 0.9391 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.9712, allocations: 240.2 kB / 0.9393 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.9713, allocations: 87.66 kB / 0.9394 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.9713, allocations: 20.5 kB / 0.9394 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003467/0.9717, allocations: 187.7 kB / 0.9396 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.754e-05/0.9718, allocations: 39.89 kB / 0.9396 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.647e-05/0.9719, allocations: 87.58 kB / 0.9397 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004154/0.9723, allocations: 275 kB / 0.94 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.9723, allocations: 4 kB / 0.94 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.372e-06/0.9723, allocations: 1.969 kB / 0.94 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.9723, allocations: 0 / 0.94 GB, free: 11.25 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009503/0.9733, allocations: 0.5057 MB / 0.9405 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.9733, allocations: 8.031 kB / 0.9405 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008281/0.9742, allocations: 83.73 kB / 0.9405 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.9745, allocations: 230.6 kB / 0.9408 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.728e-05/0.9746, allocations: 45.97 kB / 0.9408 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.9746, allocations: 16 kB / 0.9408 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005165/0.9751, allocations: 260.2 kB / 0.9411 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.9751, allocations: 4 kB / 0.9411 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.9752, allocations: 8 kB / 0.9411 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.9752, allocations: 4 kB / 0.9411 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004443/0.9756, allocations: 163.8 kB / 0.9412 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.9773, allocations: 1.173 MB / 0.9424 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007305/0.978, allocations: 198.7 kB / 0.9426 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.9782, allocations: 68.81 kB / 0.9426 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.9782, allocations: 11.92 kB / 0.9427 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.9783, allocations: 35.19 kB / 0.9427 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.9783, allocations: 0 / 0.9427 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.002635/0.9809, allocations: 0.6362 MB / 0.9433 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.981, allocations: 51.41 kB / 0.9434 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.9812, allocations: 201 kB / 0.9435 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.9813, allocations: 25.7 kB / 0.9436 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.685e-05/0.9814, allocations: 139.6 kB / 0.9437 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.9814, allocations: 31.47 kB / 0.9437 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.9815, allocations: 57.58 kB / 0.9438 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.9816, allocations: 330.8 kB / 0.9441 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.9819, allocations: 67.94 kB / 0.9442 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.9821, allocations: 131.7 kB / 0.9443 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004231/0.9826, allocations: 202 kB / 0.9445 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.9826, allocations: 9.188 kB / 0.9445 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00141/0.984, allocations: 370.6 kB / 0.9449 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.984, allocations: 4 kB / 0.9449 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.984, allocations: 9.578 kB / 0.9449 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.9851, allocations: 157.8 kB / 0.945 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.9853, allocations: 39.95 kB / 0.9451 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003988/0.9893, allocations: 3.25 MB / 0.9482 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/0.9897, allocations: 39.67 kB / 0.9483 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.9897, allocations: 7.984 kB / 0.9483 GB, free: 2.082 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001486/0.9899, allocations: 141.7 kB / 0.9484 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.053e-05/0.9899, allocations: 11.91 kB / 0.9484 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.9912, allocations: 375.3 kB / 0.9488 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.9913, allocations: 4 kB / 0.9488 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.9913, allocations: 0 / 0.9488 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.9913, allocations: 0 / 0.9488 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.9916, allocations: 269.5 kB / 0.949 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.9916, allocations: 3.984 kB / 0.949 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.9917, allocations: 27.86 kB / 0.9491 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008169/0.9926, allocations: 137.6 kB / 0.9492 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.9926, allocations: 8 kB / 0.9492 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003654/0.9963, allocations: 3.298 MB / 0.9524 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.9963, allocations: 3.938 kB / 0.9524 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.9975, allocations: 428.7 kB / 0.9528 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.9977, allocations: 104.9 kB / 0.9529 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.9977, allocations: 7.938 kB / 0.9529 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002738/0.998, allocations: 15.98 kB / 0.953 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-05/0.9981, allocations: 19.89 kB / 0.953 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.9981, allocations: 11.98 kB / 0.953 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00017/0.9983, allocations: 139.2 kB / 0.9531 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9983, allocations: 0 / 0.9531 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004185/0.9987, allocations: 75.94 kB / 0.9532 GB, free: 12.64 MB / 0.7481 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 (12): * 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: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002079/0.9989, allocations: 119.2 kB / 0.9533 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001029/1, allocations: 450.7 kB / 0.9537 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1, allocations: 0 / 0.9537 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006693/1.001, allocations: 365.2 kB / 0.9541 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004387/1.001, allocations: 60.72 kB / 0.9541 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000951/1.002, allocations: 445.4 kB / 0.9546 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/1.002, allocations: 0.7323 MB / 0.9553 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.445e-05/1.002, allocations: 27.42 kB / 0.9553 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of SimCode: time 5.61e-07/1.002, allocations: 0 / 0.9553 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of Templates: time 0.006847/1.009, allocations: 4.398 MB / 0.9596 GB, free: 6.016 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)