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.001524/0.001524, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001762/0.001762, allocations: 195.5 kB / 16.14 MB, free: 6.656 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.558/1.558, allocations: 205.1 MB / 222 MB, free: 4.746 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.6734/0.6734, allocations: 95.48 MB / 364.8 MB, free: 10.09 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.001841/0.001841, allocations: 71.89 kB / 444.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3711, allocations: 69.07 MB / 0.5017 GB, free: 17.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003131/0.3743, allocations: 1.787 MB / 0.5034 GB, free: 15.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007437/0.375, allocations: 399.7 kB / 0.5038 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.702e-05/0.3751, allocations: 0 / 0.5038 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.043e-05/0.3752, allocations: 11.86 kB / 0.5038 GB, free: 15.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.497e-05/0.3753, allocations: 27.77 kB / 0.5039 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.3755, allocations: 91.77 kB / 0.504 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.3757, allocations: 107.5 kB / 0.5041 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.3758, allocations: 27.06 kB / 0.5041 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.908e-05/0.3758, allocations: 43.84 kB / 0.5041 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.958e-05/0.3759, allocations: 51.77 kB / 0.5042 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.3759, allocations: 4 kB / 0.5042 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.3761, allocations: 43.97 kB / 0.5042 GB, free: 15.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.117e-05/0.3761, allocations: 15.92 kB / 0.5042 GB, free: 15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.417e-05/0.3761, allocations: 55.7 kB / 0.5043 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.3763, allocations: 111.6 kB / 0.5044 GB, free: 14.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3763, allocations: 0 / 0.5044 GB, free: 14.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3763, allocations: 0 / 0.5044 GB, free: 14.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.3763, allocations: 0 / 0.5044 GB, free: 14.83 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.0006419/0.377, allocations: 438.9 kB / 0.5048 GB, free: 14.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.377, allocations: 11.98 kB / 0.5048 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003244/0.3774, allocations: 28.81 kB / 0.5048 GB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.3775, allocations: 204 kB / 0.505 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.3776, allocations: 8.312 kB / 0.5051 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.3776, allocations: 8.375 kB / 0.5051 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.3779, allocations: 142.4 kB / 0.5052 GB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.3779, allocations: 192 / 0.5052 GB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.3779, allocations: 11.94 kB / 0.5052 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3779, allocations: 0 / 0.5052 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.3781, allocations: 87.88 kB / 0.5053 GB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006518/0.3788, allocations: 0.7003 MB / 0.506 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.379, allocations: 90.56 kB / 0.5061 GB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.3791, allocations: 40.88 kB / 0.5061 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.3792, allocations: 7.984 kB / 0.5061 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.3792, allocations: 34.56 kB / 0.5061 GB, free: 12.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.3792, allocations: 0 / 0.5061 GB, free: 12.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.001201/0.3804, allocations: 315.2 kB / 0.5064 GB, free: 12.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.3805, allocations: 51.41 kB / 0.5065 GB, free: 12.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.972e-05/0.3806, allocations: 159.3 kB / 0.5066 GB, free: 12.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.3806, allocations: 29.7 kB / 0.5067 GB, free: 12.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.3806, allocations: 112.2 kB / 0.5068 GB, free: 12.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.3807, allocations: 15.72 kB / 0.5068 GB, free: 12.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.3807, allocations: 29.7 kB / 0.5068 GB, free: 12.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.198e-05/0.3808, allocations: 318.8 kB / 0.5071 GB, free: 11.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.3809, allocations: 35.97 kB / 0.5072 GB, free: 11.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.381, allocations: 72.27 kB / 0.5072 GB, free: 11.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.3812, allocations: 108.1 kB / 0.5073 GB, free: 11.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3812, allocations: 7.938 kB / 0.5073 GB, free: 11.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006737/0.3819, allocations: 194.2 kB / 0.5075 GB, free: 11.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.3819, allocations: 8 kB / 0.5075 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3819, allocations: 3.984 kB / 0.5075 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005372/0.3825, allocations: 68.86 kB / 0.5076 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.3826, allocations: 27.92 kB / 0.5076 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.384, allocations: 1.411 MB / 0.509 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.3841, allocations: 15.89 kB / 0.509 GB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.3842, allocations: 0 / 0.509 GB, free: 9.637 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 (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 6.742e-05/0.3842, allocations: 129.7 kB / 0.5091 GB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.3843, allocations: 7.906 kB / 0.5092 GB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006771/0.3849, allocations: 215.8 kB / 0.5094 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.385, allocations: 3.984 kB / 0.5094 GB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.385, allocations: 3.938 kB / 0.5094 GB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.385, allocations: 0 / 0.5094 GB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.3851, allocations: 213.5 kB / 0.5096 GB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-06/0.3851, allocations: 0 / 0.5096 GB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.3853, allocations: 27.92 kB / 0.5096 GB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004175/0.3857, allocations: 68.8 kB / 0.5097 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.3857, allocations: 3.984 kB / 0.5097 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001067/0.3868, allocations: 1.427 MB / 0.5111 GB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3868, allocations: 0 / 0.5111 GB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006225/0.3874, allocations: 284.2 kB / 0.5113 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.883e-05/0.3875, allocations: 100.9 kB / 0.5114 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.3875, allocations: 3.984 kB / 0.5114 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.3876, allocations: 8 kB / 0.5114 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/0.3877, allocations: 7.984 kB / 0.5114 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.3877, allocations: 12 kB / 0.5115 GB, free: 6.895 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.36e-05/0.3878, allocations: 134.2 kB / 0.5116 GB, free: 6.766 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3878, allocations: 0 / 0.5116 GB, free: 6.766 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.3881, allocations: 24 kB / 0.5116 GB, free: 6.742 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 (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 9.68e-05/0.3882, allocations: 99.25 kB / 0.5117 GB, free: 6.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004789/0.3887, allocations: 226.7 kB / 0.5119 GB, free: 6.402 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3887, allocations: 3.938 kB / 0.5119 GB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002748/0.3889, allocations: 174.6 kB / 0.5121 GB, free: 6.215 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.3893, allocations: 39.3 kB / 0.5121 GB, free: 6.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004219/0.3897, allocations: 282 kB / 0.5124 GB, free: 5.879 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.3898, allocations: 0.7124 MB / 0.5131 GB, free: 5.141 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.03e-05/0.3899, allocations: 8.891 kB / 0.5131 GB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.39, allocations: 19.42 kB / 0.5131 GB, free: 5.113 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.39, allocations: 0 / 0.5131 GB, free: 5.113 MB / 382.1 MB Notification: Performance of Templates: time 0.004267/0.3942, allocations: 2.268 MB / 0.5153 GB, free: 2.871 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (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)