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.0009874/0.0009875, allocations: 109.3 kB / 16.29 MB, free: 6.43 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.0009359/0.000936, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.189/1.189, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.596/1.596, allocations: 292.3 MB / 0.5495 GB, free: 17.38 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.001383/0.001383, allocations: 67.91 kB / 0.6722 GB, free: 6.484 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1913, allocations: 114.6 MB / 0.7841 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003157/0.1945, allocations: 1.92 MB / 0.7859 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4527/0.6473, allocations: 155.4 MB / 0.9377 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002349/0.6476, allocations: 1.875 kB / 0.9377 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000235/0.6479, allocations: 27.73 kB / 0.9377 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000432/0.6483, allocations: 75.42 kB / 0.9378 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008908/0.6492, allocations: 255.2 kB / 0.938 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003555/0.6496, allocations: 255.1 kB / 0.9383 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.6498, allocations: 78.25 kB / 0.9383 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.6512, allocations: 224.2 kB / 0.9386 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.6514, allocations: 91.59 kB / 0.9386 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.741e-05/0.6515, allocations: 16 kB / 0.9387 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004077/0.6519, allocations: 187.7 kB / 0.9388 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.464e-05/0.652, allocations: 39.89 kB / 0.9389 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.6521, allocations: 83.59 kB / 0.939 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005106/0.6526, allocations: 279.1 kB / 0.9392 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6526, allocations: 4 kB / 0.9392 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6526, allocations: 4 kB / 0.9392 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.6527, allocations: 0 / 0.9392 GB, free: 11.68 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.0009302/0.6536, allocations: 0.5135 MB / 0.9397 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.6536, allocations: 8.031 kB / 0.9397 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00078/0.6544, allocations: 80.8 kB / 0.9398 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.6547, allocations: 226.6 kB / 0.94 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.296e-05/0.6548, allocations: 42.02 kB / 0.9401 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.6548, allocations: 23.94 kB / 0.9401 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004831/0.6553, allocations: 259.5 kB / 0.9403 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.6553, allocations: 0 / 0.9403 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.6553, allocations: 8 kB / 0.9403 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.6554, allocations: 4 kB / 0.9404 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004043/0.6558, allocations: 163.8 kB / 0.9405 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.6572, allocations: 1.177 MB / 0.9417 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006696/0.6579, allocations: 202.7 kB / 0.9418 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.6581, allocations: 74.22 kB / 0.9419 GB, free: 8.715 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.6581, allocations: 3.938 kB / 0.9419 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.6582, allocations: 39.88 kB / 0.942 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.6582, allocations: 3.938 kB / 0.942 GB, free: 8.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.00243/0.6606, allocations: 0.6314 MB / 0.9426 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.6606, allocations: 51.41 kB / 0.9426 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.6609, allocations: 201 kB / 0.9428 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.6609, allocations: 25.7 kB / 0.9428 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.15e-05/0.661, allocations: 139.6 kB / 0.943 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.6611, allocations: 39.45 kB / 0.943 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-05/0.6612, allocations: 45.59 kB / 0.9431 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.6613, allocations: 334.8 kB / 0.9434 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.6615, allocations: 63.95 kB / 0.9434 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.6618, allocations: 139.7 kB / 0.9436 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003916/0.6622, allocations: 200.9 kB / 0.9438 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.6622, allocations: 0 / 0.9438 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001315/0.6635, allocations: 379.8 kB / 0.9441 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.6636, allocations: 4 kB / 0.9441 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.6636, allocations: 4 kB / 0.9441 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.6646, allocations: 161.8 kB / 0.9443 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.6649, allocations: 39.95 kB / 0.9443 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003904/0.6688, allocations: 3.247 MB / 0.9475 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.6691, allocations: 39.7 kB / 0.9475 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.6691, allocations: 12.05 kB / 0.9476 GB, free: 2.5 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.0001334/0.6693, allocations: 141.7 kB / 0.9477 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.784e-05/0.6693, allocations: 11.91 kB / 0.9477 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.6705, allocations: 373.3 kB / 0.9481 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.6705, allocations: 4 kB / 0.9481 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.6705, allocations: 0 / 0.9481 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.6706, allocations: 0 / 0.9481 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/0.6708, allocations: 265.5 kB / 0.9483 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.6709, allocations: 0 / 0.9483 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.671, allocations: 27.92 kB / 0.9483 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007401/0.6717, allocations: 149.5 kB / 0.9485 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.6718, allocations: 4 kB / 0.9485 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003304/0.6751, allocations: 3.289 MB / 0.9517 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.6751, allocations: 11.98 kB / 0.9517 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.6762, allocations: 429.6 kB / 0.9521 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.901e-05/0.6763, allocations: 100.9 kB / 0.9522 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.6764, allocations: 7 kB / 0.9522 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.6766, allocations: 23.91 kB / 0.9522 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.335e-05/0.6767, allocations: 19.89 kB / 0.9523 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-05/0.6768, allocations: 4 kB / 0.9523 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001497/0.6769, allocations: 154.9 kB / 0.9524 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6769, allocations: 1.125 kB / 0.9524 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003788/0.6773, allocations: 71.94 kB / 0.9525 GB, free: 13.05 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.0001742/0.6775, allocations: 119.2 kB / 0.9526 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009441/0.6784, allocations: 445.9 kB / 0.953 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6784, allocations: 0 / 0.953 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000592/0.679, allocations: 361.2 kB / 0.9534 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.6794, allocations: 57.84 kB / 0.9534 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008879/0.6803, allocations: 407.7 kB / 0.9538 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.6806, allocations: 0.7399 MB / 0.9545 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001542/0.6808, allocations: 35.92 kB / 0.9546 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.639e-05/0.6809, allocations: 23.42 kB / 0.9546 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of SimCode: time 3.81e-07/0.6809, allocations: 4 kB / 0.9546 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of Templates: time 0.009019/0.6899, allocations: 5.295 MB / 0.9598 GB, free: 5.617 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)