Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 100.8 kB / 16.29 MB, free: 6.016 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.001144/0.001144, allocations: 181.8 kB / 17.22 MB, free: 5.625 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.196/1.196, 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.567/1.567, allocations: 292.3 MB / 0.5495 GB, free: 17.51 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.001266/0.001266, allocations: 63.91 kB / 0.6722 GB, free: 6.57 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1917, allocations: 114.6 MB / 0.7841 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002779/0.1945, allocations: 1.679 MB / 0.7857 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4581/0.6526, allocations: 149.7 MB / 0.9319 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.6528, allocations: 5.562 kB / 0.9319 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.653, allocations: 21.05 kB / 0.9319 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003115/0.6533, allocations: 52.34 kB / 0.9319 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000491/0.6538, allocations: 178.8 kB / 0.9321 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.654, allocations: 159.5 kB / 0.9323 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.6542, allocations: 31.56 kB / 0.9323 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.6554, allocations: 190 kB / 0.9325 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.6555, allocations: 59.75 kB / 0.9325 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.6556, allocations: 8 kB / 0.9325 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003205/0.6559, allocations: 163.8 kB / 0.9327 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.888e-05/0.6559, allocations: 23.91 kB / 0.9327 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.649e-05/0.656, allocations: 47.8 kB / 0.9328 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003804/0.6564, allocations: 207.4 kB / 0.933 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6564, allocations: 0 / 0.933 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6564, allocations: 4 kB / 0.933 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.6564, allocations: 0 / 0.933 GB, free: 2.242 MB / 0.7169 GB 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.0007968/0.6572, allocations: 453.9 kB / 0.9334 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.6573, allocations: 16.03 kB / 0.9334 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005811/0.6579, allocations: 48.97 kB / 0.9335 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.6581, allocations: 202.8 kB / 0.9336 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.6581, allocations: 8 kB / 0.9337 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.6581, allocations: 8 kB / 0.9337 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004044/0.6585, allocations: 177.8 kB / 0.9338 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.6586, allocations: 3.938 kB / 0.9338 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.6586, allocations: 4.562 kB / 0.9338 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.6586, allocations: 4 kB / 0.9338 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004577/0.6591, allocations: 143.8 kB / 0.934 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.6602, allocations: 0.8244 MB / 0.9348 GB, free: 192 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003542/0.6606, allocations: 130.5 kB / 0.9349 GB, free: 52 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/0.6608, allocations: 81.03 kB / 0.935 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.6608, allocations: 0.8438 kB / 0.935 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.6609, allocations: 38.56 kB / 0.935 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.6609, allocations: 0 / 0.935 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001727/0.6626, allocations: 466 kB / 0.9355 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.6627, allocations: 55.41 kB / 0.9355 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.6628, allocations: 146.5 kB / 0.9357 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.6628, allocations: 25.7 kB / 0.9357 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.6629, allocations: 104 kB / 0.9358 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.6629, allocations: 31.55 kB / 0.9358 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.443e-05/0.663, allocations: 34.83 kB / 0.9358 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.6631, allocations: 318.8 kB / 0.9362 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.6634, allocations: 71.92 kB / 0.9362 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.6636, allocations: 105 kB / 0.9363 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004333/0.664, allocations: 180.1 kB / 0.9365 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.664, allocations: 0 / 0.9365 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009079/0.665, allocations: 282.2 kB / 0.9368 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.665, allocations: 8 kB / 0.9368 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.665, allocations: 3.938 kB / 0.9368 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00052/0.6655, allocations: 85.42 kB / 0.9369 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.6657, allocations: 31.95 kB / 0.9369 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/0.6676, allocations: 1.664 MB / 0.9385 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.6678, allocations: 23.83 kB / 0.9385 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.6678, allocations: 11.98 kB / 0.9385 GB, free: 12.06 MB / 0.7325 GB 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,2)} Notification: Performance of prepare postOptimizeDAE: time 9.585e-05/0.6679, allocations: 125.8 kB / 0.9387 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.668, allocations: 8.562 kB / 0.9387 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009436/0.6689, allocations: 309.6 kB / 0.939 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.6689, allocations: 7.938 kB / 0.939 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.6689, allocations: 0 / 0.939 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.669, allocations: 0 / 0.939 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.6692, allocations: 244.4 kB / 0.9392 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.6692, allocations: 1.312 kB / 0.9392 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.6694, allocations: 27.97 kB / 0.9392 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003788/0.6698, allocations: 80.7 kB / 0.9393 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.6698, allocations: 8 kB / 0.9393 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001679/0.6715, allocations: 1.676 MB / 0.941 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6715, allocations: 0 / 0.941 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008991/0.6724, allocations: 378.6 kB / 0.9413 GB, free: 9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.6725, allocations: 88.92 kB / 0.9414 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.6725, allocations: 4.125 kB / 0.9414 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.6727, allocations: 19.98 kB / 0.9414 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/0.6728, allocations: 19.91 kB / 0.9414 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.6728, allocations: 14.3 kB / 0.9415 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.971e-05/0.6728, allocations: 106.9 kB / 0.9416 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6729, allocations: 0 / 0.9416 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002883/0.6731, allocations: 44 kB / 0.9416 GB, free: 8.695 MB / 0.7325 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 (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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001554/0.6733, allocations: 115.2 kB / 0.9417 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008057/0.6741, allocations: 305 kB / 0.942 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.6741, allocations: 4 kB / 0.942 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004594/0.6746, allocations: 230.5 kB / 0.9422 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.6749, allocations: 24.77 kB / 0.9423 GB, free: 8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007102/0.6756, allocations: 300.6 kB / 0.9425 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.6759, allocations: 0.7046 MB / 0.9432 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.676, allocations: 22.75 kB / 0.9432 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.47e-05/0.6761, allocations: 23.42 kB / 0.9433 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.6761, allocations: 7.938 kB / 0.9433 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of Templates: time 0.006041/0.6821, allocations: 3.204 MB / 0.9464 GB, free: 3.77 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)