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.0008405/0.0008404, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005587/0.005587, allocations: 171.7 kB / 16.27 MB, free: 6.652 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.751/1.751, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.6585/0.6585, allocations: 95.62 MB / 366.4 MB, free: 10.22 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.0005764/0.0005766, allocations: 16.61 kB / 447.5 MB, free: 8.965 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.364, allocations: 70.34 MB / 0.5057 GB, free: 16.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.001881/0.3659, allocations: 1.445 MB / 0.5071 GB, free: 14.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008184/0.3668, allocations: 399.7 kB / 0.5075 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.179e-05/0.3668, allocations: 0 / 0.5075 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.916e-05/0.3669, allocations: 7.922 kB / 0.5075 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.775e-05/0.367, allocations: 23.78 kB / 0.5075 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.3673, allocations: 83.83 kB / 0.5076 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.3674, allocations: 107.5 kB / 0.5077 GB, free: 14.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.3676, allocations: 39.05 kB / 0.5077 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.697e-05/0.3676, allocations: 35.86 kB / 0.5077 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.759e-05/0.3677, allocations: 47.77 kB / 0.5078 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.3677, allocations: 4 kB / 0.5078 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.3679, allocations: 39.95 kB / 0.5078 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.348e-05/0.3679, allocations: 11.92 kB / 0.5078 GB, free: 14.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.017e-05/0.368, allocations: 73.44 kB / 0.5079 GB, free: 14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.3681, allocations: 111.6 kB / 0.508 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3682, allocations: 8 kB / 0.508 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3682, allocations: 0 / 0.508 GB, free: 13.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.3682, allocations: 0 / 0.508 GB, free: 13.88 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.0005994/0.3688, allocations: 415.1 kB / 0.5084 GB, free: 13.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/0.3688, allocations: 15.98 kB / 0.5084 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003148/0.3692, allocations: 28.73 kB / 0.5085 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.3693, allocations: 200.1 kB / 0.5086 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.3694, allocations: 4.375 kB / 0.5087 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.3694, allocations: 16.31 kB / 0.5087 GB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.3697, allocations: 150.3 kB / 0.5088 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3697, allocations: 4.188 kB / 0.5088 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.3697, allocations: 3.938 kB / 0.5088 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.3697, allocations: 4 kB / 0.5088 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002687/0.37, allocations: 99.86 kB / 0.5089 GB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006315/0.3706, allocations: 0.7003 MB / 0.5096 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.3709, allocations: 94.62 kB / 0.5097 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.371, allocations: 48.88 kB / 0.5097 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.371, allocations: 0 / 0.5097 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.327e-05/0.371, allocations: 34.5 kB / 0.5098 GB, free: 11.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.3711, allocations: 0 / 0.5098 GB, free: 11.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.001193/0.3722, allocations: 335.2 kB / 0.5101 GB, free: 11.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.3723, allocations: 51.41 kB / 0.5101 GB, free: 11.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.3724, allocations: 160.8 kB / 0.5103 GB, free: 11.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.3724, allocations: 25.7 kB / 0.5103 GB, free: 11.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.515e-05/0.3725, allocations: 112.2 kB / 0.5104 GB, free: 11.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.3725, allocations: 23.7 kB / 0.5104 GB, free: 11.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.3725, allocations: 13.72 kB / 0.5105 GB, free: 11.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.907e-05/0.3726, allocations: 318.8 kB / 0.5108 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.3727, allocations: 43.91 kB / 0.5108 GB, free: 10.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.3728, allocations: 76.27 kB / 0.5109 GB, free: 10.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.3731, allocations: 124.2 kB / 0.511 GB, free: 10.53 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3731, allocations: 0 / 0.511 GB, free: 10.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006543/0.3737, allocations: 210.3 kB / 0.5112 GB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.3738, allocations: 14.12 kB / 0.5112 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3738, allocations: 0 / 0.5112 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005349/0.3743, allocations: 76.78 kB / 0.5113 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.3745, allocations: 23.98 kB / 0.5113 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.3759, allocations: 1.412 MB / 0.5127 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.376, allocations: 15.98 kB / 0.5127 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.3761, allocations: 4 kB / 0.5127 GB, free: 8.633 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 7.823e-05/0.3761, allocations: 121.7 kB / 0.5128 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.3762, allocations: 11.81 kB / 0.5128 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006591/0.3768, allocations: 227.8 kB / 0.5131 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3769, allocations: 3.938 kB / 0.5131 GB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.3769, allocations: 3.938 kB / 0.5131 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3769, allocations: 3.984 kB / 0.5131 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.3771, allocations: 217.5 kB / 0.5133 GB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3771, allocations: 7.938 kB / 0.5133 GB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.3772, allocations: 19.98 kB / 0.5133 GB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003924/0.3776, allocations: 72.8 kB / 0.5134 GB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.3776, allocations: 0 / 0.5134 GB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/0.3787, allocations: 1.434 MB / 0.5148 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3787, allocations: 0 / 0.5148 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006324/0.3794, allocations: 300.2 kB / 0.5151 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.575e-05/0.3794, allocations: 96.91 kB / 0.5151 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.3795, allocations: 7.984 kB / 0.5152 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.3796, allocations: 12 kB / 0.5152 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/0.3797, allocations: 11.98 kB / 0.5152 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.3797, allocations: 0 / 0.5152 GB, free: 5.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.11e-05/0.3798, allocations: 124.9 kB / 0.5153 GB, free: 5.734 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.62e-07/0.3798, allocations: 4 kB / 0.5153 GB, free: 5.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.3801, allocations: 31.94 kB / 0.5153 GB, free: 5.699 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 0.0001038/0.3802, allocations: 99.23 kB / 0.5154 GB, free: 5.594 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005172/0.3807, allocations: 234.7 kB / 0.5156 GB, free: 5.352 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3807, allocations: 0 / 0.5156 GB, free: 5.352 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002793/0.381, allocations: 186.8 kB / 0.5158 GB, free: 5.156 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.3813, allocations: 31.91 kB / 0.5159 GB, free: 5.125 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004495/0.3818, allocations: 282.2 kB / 0.5161 GB, free: 4.824 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.382, allocations: 0.7163 MB / 0.5168 GB, free: 4.082 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.718e-05/0.3821, allocations: 8.891 kB / 0.5168 GB, free: 4.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.414e-05/0.3821, allocations: 19.42 kB / 0.5169 GB, free: 4.051 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3821, allocations: 0 / 0.5169 GB, free: 4.051 MB / 382.1 MB Notification: Performance of Templates: time 0.005078/0.3872, allocations: 2.248 MB / 0.519 GB, free: 1.832 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: