Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.446/1.446, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 182.1 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008085/0.0008085, allocations: 84.58 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003287, allocations: 9.562 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2324, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002108/0.2346, allocations: 1.648 MB / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1653/0.3999, allocations: 153.1 MB / 1.048 GB, free: 8.816 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001981/0.4002, allocations: 4 kB / 1.048 GB, free: 8.812 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.4004, allocations: 23.78 kB / 1.048 GB, free: 8.789 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003264/0.4007, allocations: 59.61 kB / 1.048 GB, free: 8.73 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007534/0.4015, allocations: 225.3 kB / 1.048 GB, free: 8.512 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003628/0.4019, allocations: 243.2 kB / 1.048 GB, free: 8.273 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.402, allocations: 66.27 kB / 1.048 GB, free: 8.207 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002413/0.4045, allocations: 210.1 kB / 1.049 GB, free: 8.02 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.4046, allocations: 83.67 kB / 1.049 GB, free: 7.938 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.186e-05/0.4047, allocations: 7.938 kB / 1.049 GB, free: 7.93 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003832/0.4051, allocations: 175.7 kB / 1.049 GB, free: 7.758 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.469e-05/0.4051, allocations: 27.84 kB / 1.049 GB, free: 7.73 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.4053, allocations: 79.58 kB / 1.049 GB, free: 7.652 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003397/0.4056, allocations: 187.6 kB / 1.049 GB, free: 7.469 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.4056, allocations: 0 / 1.049 GB, free: 7.469 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4056, allocations: 7.875 kB / 1.049 GB, free: 7.461 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.834e-06/0.4056, allocations: 0 / 1.049 GB, free: 7.461 MB / 0.698 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.0009811/0.4066, allocations: 487.1 kB / 1.05 GB, free: 6.938 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.4067, allocations: 12.03 kB / 1.05 GB, free: 6.926 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008797/0.4076, allocations: 83.7 kB / 1.05 GB, free: 6.844 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.4079, allocations: 226.6 kB / 1.05 GB, free: 6.582 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.425e-05/0.4079, allocations: 37.97 kB / 1.05 GB, free: 6.539 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.408, allocations: 20 kB / 1.05 GB, free: 6.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005285/0.4085, allocations: 271.3 kB / 1.05 GB, free: 6.227 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.4085, allocations: 0 / 1.05 GB, free: 6.227 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.4086, allocations: 4 kB / 1.05 GB, free: 6.223 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.4086, allocations: 8 kB / 1.05 GB, free: 6.215 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004331/0.409, allocations: 175.8 kB / 1.05 GB, free: 6.043 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.4107, allocations: 1.188 MB / 1.052 GB, free: 4.777 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007267/0.4114, allocations: 206.7 kB / 1.052 GB, free: 4.566 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.4116, allocations: 76.81 kB / 1.052 GB, free: 4.488 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.4116, allocations: 0 / 1.052 GB, free: 4.488 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.4117, allocations: 42.56 kB / 1.052 GB, free: 4.438 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.163e-06/0.4117, allocations: 0 / 1.052 GB, free: 4.438 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.002756/0.4144, allocations: 0.6453 MB / 1.053 GB, free: 3.742 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.4145, allocations: 59.41 kB / 1.053 GB, free: 3.672 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.4147, allocations: 194.4 kB / 1.053 GB, free: 3.473 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.4148, allocations: 29.7 kB / 1.053 GB, free: 3.438 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.737e-05/0.4149, allocations: 139.4 kB / 1.053 GB, free: 3.297 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.876e-05/0.4149, allocations: 47.38 kB / 1.053 GB, free: 3.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.415, allocations: 21.7 kB / 1.053 GB, free: 3.223 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.4151, allocations: 330.8 kB / 1.053 GB, free: 2.891 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.4153, allocations: 71.95 kB / 1.053 GB, free: 2.82 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.4156, allocations: 139.7 kB / 1.054 GB, free: 2.656 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004278/0.416, allocations: 217.5 kB / 1.054 GB, free: 2.422 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.416, allocations: 4 kB / 1.054 GB, free: 2.418 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001433/0.4175, allocations: 382.7 kB / 1.054 GB, free: 2.031 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.4175, allocations: 4 kB / 1.054 GB, free: 2.027 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4175, allocations: 3.938 kB / 1.054 GB, free: 2.023 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/0.4186, allocations: 169.7 kB / 1.054 GB, free: 1.852 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.4188, allocations: 39.95 kB / 1.054 GB, free: 1.812 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3699/0.7888, allocations: 3.02 MB / 1.057 GB, free: 160.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004164/0.7892, allocations: 42.45 kB / 1.057 GB, free: 160.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.7892, allocations: 9.688 kB / 1.057 GB, free: 160.3 MB / 0.698 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.0001343/0.7894, allocations: 128.2 kB / 1.057 GB, free: 160.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.373e-05/0.7894, allocations: 16.56 kB / 1.057 GB, free: 160.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.7908, allocations: 390.9 kB / 1.058 GB, free: 160.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.7908, allocations: 1.719 kB / 1.058 GB, free: 160.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.7909, allocations: 0 / 1.058 GB, free: 160.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.7909, allocations: 2.656 kB / 1.058 GB, free: 160.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.7911, allocations: 279.7 kB / 1.058 GB, free: 159.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.7912, allocations: 2.031 kB / 1.058 GB, free: 159.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.7913, allocations: 26.77 kB / 1.058 GB, free: 159.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009347/0.7922, allocations: 167.2 kB / 1.058 GB, free: 159.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.7923, allocations: 0.6094 kB / 1.058 GB, free: 159.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002667/0.7949, allocations: 3.076 MB / 1.061 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.795, allocations: 3.938 kB / 1.061 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.7961, allocations: 449.3 kB / 1.062 GB, free: 157.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.854e-05/0.7962, allocations: 107.1 kB / 1.062 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.7962, allocations: 6.188 kB / 1.062 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/0.7965, allocations: 19.34 kB / 1.062 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-05/0.7966, allocations: 19.2 kB / 1.062 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.7966, allocations: 2.875 kB / 1.062 GB, free: 157.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001418/0.7967, allocations: 159.5 kB / 1.062 GB, free: 157 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7967, allocations: 0.9375 kB / 1.062 GB, free: 157 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004102/0.7972, allocations: 72.5 kB / 1.062 GB, free: 157 MB / 0.698 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.0001585/0.7973, allocations: 116.8 kB / 1.062 GB, free: 156.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009258/0.7983, allocations: 455.1 kB / 1.063 GB, free: 156.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.7983, allocations: 0 / 1.063 GB, free: 156.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005712/0.7989, allocations: 364.2 kB / 1.063 GB, free: 156.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.7993, allocations: 53.69 kB / 1.063 GB, free: 156.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008266/0.8001, allocations: 489.4 kB / 1.064 GB, free: 156.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.8003, allocations: 0.7394 MB / 1.064 GB, free: 155.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.584e-05/0.8004, allocations: 21.17 kB / 1.064 GB, free: 155.5 MB / 0.698 GB Notification: Performance of SimCode: time 5.31e-07/0.8004, allocations: 0 / 1.064 GB, free: 155.5 MB / 0.698 GB Notification: Performance of Templates: time 0.008184/0.8086, allocations: 4.392 MB / 1.069 GB, free: 155.2 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)