Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 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_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001091/0.001092, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001197/0.001197, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.878/1.878, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.6398/0.6398, allocations: 95.64 MB / 366 MB, free: 10.25 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.0006885/0.0006889, allocations: 16 kB / 446.9 MB, free: 9.258 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3599, allocations: 70.34 MB / 0.5051 GB, free: 16.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.001567/0.3616, allocations: 1.406 MB / 0.5064 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006192/0.3622, allocations: 384 kB / 0.5068 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.651e-05/0.3623, allocations: 7.938 kB / 0.5068 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.195e-05/0.3623, allocations: 11.86 kB / 0.5068 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.38e-05/0.3624, allocations: 27.77 kB / 0.5069 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.3627, allocations: 75.83 kB / 0.5069 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.3628, allocations: 95.53 kB / 0.507 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.363, allocations: 25.11 kB / 0.507 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.859e-05/0.363, allocations: 43.83 kB / 0.5071 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.206e-05/0.3631, allocations: 39.78 kB / 0.5071 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.3631, allocations: 4 kB / 0.5071 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.914e-05/0.3632, allocations: 39.97 kB / 0.5072 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.3632, allocations: 23.91 kB / 0.5072 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.3633, allocations: 41.64 kB / 0.5072 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.3634, allocations: 85.77 kB / 0.5073 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3634, allocations: 0 / 0.5073 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3634, allocations: 0 / 0.5073 GB, free: 14.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.3634, allocations: 0 / 0.5073 GB, free: 14.14 MB / 382.1 MB 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.0005242/0.364, allocations: 414.9 kB / 0.5077 GB, free: 13.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.364, allocations: 11.98 kB / 0.5077 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002779/0.3643, allocations: 31.78 kB / 0.5077 GB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.3645, allocations: 187 kB / 0.5079 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.3645, allocations: 3.953 kB / 0.5079 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.3645, allocations: 12 kB / 0.5079 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.3647, allocations: 145.8 kB / 0.5081 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.3648, allocations: 0 / 0.5081 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.3648, allocations: 4 kB / 0.5081 GB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3648, allocations: 0 / 0.5081 GB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/0.365, allocations: 111.8 kB / 0.5082 GB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005998/0.3656, allocations: 0.7198 MB / 0.5089 GB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.3658, allocations: 98.56 kB / 0.509 GB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.207e-05/0.3659, allocations: 40.88 kB / 0.509 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.366, allocations: 0 / 0.509 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.366, allocations: 34.56 kB / 0.5091 GB, free: 12.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 8.11e-07/0.366, allocations: 0 / 0.5091 GB, free: 12.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.000983/0.367, allocations: 331.3 kB / 0.5094 GB, free: 11.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/0.367, allocations: 51.41 kB / 0.5094 GB, free: 11.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.87e-05/0.3671, allocations: 164.8 kB / 0.5096 GB, free: 11.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.3671, allocations: 29.7 kB / 0.5096 GB, free: 11.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.064e-05/0.3672, allocations: 112 kB / 0.5097 GB, free: 11.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.3672, allocations: 19.78 kB / 0.5097 GB, free: 11.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-06/0.3672, allocations: 0 / 0.5097 GB, free: 11.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.774e-05/0.3673, allocations: 326.8 kB / 0.51 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.915e-05/0.3674, allocations: 43.97 kB / 0.5101 GB, free: 11.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.958e-05/0.3675, allocations: 68.27 kB / 0.5102 GB, free: 10.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.3676, allocations: 51.92 kB / 0.5102 GB, free: 10.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3676, allocations: 0 / 0.5102 GB, free: 10.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005748/0.3682, allocations: 202.3 kB / 0.5104 GB, free: 10.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.3682, allocations: 7.984 kB / 0.5104 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.3682, allocations: 0 / 0.5104 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004323/0.3686, allocations: 72.86 kB / 0.5105 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.3688, allocations: 31.98 kB / 0.5105 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/0.37, allocations: 1.391 MB / 0.5119 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.3701, allocations: 27.95 kB / 0.5119 GB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.3701, allocations: 4.25 kB / 0.5119 GB, free: 9.02 MB / 382.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 6.248e-05/0.3702, allocations: 121.8 kB / 0.512 GB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.3702, allocations: 7.906 kB / 0.512 GB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005858/0.3708, allocations: 243.5 kB / 0.5123 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.3708, allocations: 8 kB / 0.5123 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.3708, allocations: 48 / 0.5123 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3708, allocations: 3.984 kB / 0.5123 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.371, allocations: 209.6 kB / 0.5125 GB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.371, allocations: 0 / 0.5125 GB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.3711, allocations: 23.98 kB / 0.5125 GB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003458/0.3715, allocations: 72.78 kB / 0.5126 GB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.3715, allocations: 11.95 kB / 0.5126 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009845/0.3725, allocations: 1.411 MB / 0.5139 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3725, allocations: 3.938 kB / 0.5139 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005419/0.373, allocations: 300.1 kB / 0.5142 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/0.3731, allocations: 104.9 kB / 0.5143 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.3731, allocations: 0 / 0.5143 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.3732, allocations: 12 kB / 0.5143 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.3733, allocations: 7.984 kB / 0.5144 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.3733, allocations: 11.92 kB / 0.5144 GB, free: 6.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.256e-05/0.3734, allocations: 124.8 kB / 0.5145 GB, free: 6.121 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3734, allocations: 0 / 0.5145 GB, free: 6.121 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.3737, allocations: 35.91 kB / 0.5145 GB, free: 6.086 MB / 382.1 MB 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 8.3e-05/0.3737, allocations: 99.25 kB / 0.5146 GB, free: 5.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004622/0.3742, allocations: 234.6 kB / 0.5148 GB, free: 5.738 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3742, allocations: 0 / 0.5148 GB, free: 5.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.3745, allocations: 178.7 kB / 0.515 GB, free: 5.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.3748, allocations: 32.28 kB / 0.515 GB, free: 5.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003957/0.3752, allocations: 322.6 kB / 0.5153 GB, free: 5.184 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.3753, allocations: 0.7085 MB / 0.516 GB, free: 4.449 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.785e-05/0.3754, allocations: 12.88 kB / 0.516 GB, free: 4.434 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.3754, allocations: 15.44 kB / 0.5161 GB, free: 4.418 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3755, allocations: 0 / 0.5161 GB, free: 4.418 MB / 382.1 MB Notification: Performance of Templates: time 0.004357/0.3798, allocations: 2.195 MB / 0.5182 GB, free: 2.254 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) Environment - environmentSimulation: