Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.005248/0.005248, allocations: 102.2 kB / 15.73 MB, free: 6.066 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.001237/0.001237, allocations: 189.1 kB / 16.67 MB, free: 5.98 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.222/1.222, allocations: 205.1 MB / 222.5 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.363/1.363, allocations: 251.7 MB / 0.5094 GB, free: 3.023 MB / 414.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.001332/0.001332, allocations: 71.91 kB / 0.7258 GB, free: 9.008 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1898, allocations: 104.7 MB / 0.828 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002654/0.1925, allocations: 1.7 MB / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5762/0.7688, allocations: 149.7 MB / 0.9758 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.7689, allocations: 4.562 kB / 0.9758 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.7692, allocations: 20.77 kB / 0.9759 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002943/0.7695, allocations: 50.23 kB / 0.9759 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.7699, allocations: 184.7 kB / 0.9761 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.7701, allocations: 157.6 kB / 0.9762 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.7702, allocations: 27.47 kB / 0.9763 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.7713, allocations: 195.5 kB / 0.9764 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.656e-05/0.7714, allocations: 61.27 kB / 0.9765 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.7714, allocations: 10.16 kB / 0.9765 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002544/0.7716, allocations: 164.7 kB / 0.9767 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.843e-05/0.7717, allocations: 25.19 kB / 0.9767 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.67e-05/0.7718, allocations: 45.31 kB / 0.9767 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.772, allocations: 205.2 kB / 0.9769 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.7721, allocations: 0 / 0.9769 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7721, allocations: 1.125 kB / 0.9769 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.7721, allocations: 4 kB / 0.9769 GB, free: 6.398 MB / 0.7325 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.0008053/0.7729, allocations: 449.6 kB / 0.9774 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.7729, allocations: 13.91 kB / 0.9774 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005599/0.7735, allocations: 53.97 kB / 0.9774 GB, free: 6 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.7737, allocations: 205 kB / 0.9776 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.7737, allocations: 7.25 kB / 0.9776 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.7738, allocations: 4.719 kB / 0.9776 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000382/0.7741, allocations: 185.5 kB / 0.9778 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.7742, allocations: 2.969 kB / 0.9778 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.7742, allocations: 4.938 kB / 0.9778 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.84e-06/0.7742, allocations: 2.719 kB / 0.9778 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004358/0.7746, allocations: 145.1 kB / 0.978 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.7757, allocations: 0.8222 MB / 0.9788 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/0.7761, allocations: 134.2 kB / 0.9789 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.7763, allocations: 79.64 kB / 0.979 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.7763, allocations: 3.672 kB / 0.979 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.7763, allocations: 35.62 kB / 0.979 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.7764, allocations: 0 / 0.979 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001774/0.7781, allocations: 462.3 kB / 0.9795 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.7782, allocations: 52.53 kB / 0.9795 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.7783, allocations: 147.3 kB / 0.9796 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.7784, allocations: 30.83 kB / 0.9797 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.056e-05/0.7784, allocations: 110.6 kB / 0.9798 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.7785, allocations: 27.55 kB / 0.9798 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.838e-05/0.7785, allocations: 27.02 kB / 0.9798 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.7787, allocations: 319.5 kB / 0.9801 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.7789, allocations: 70.66 kB / 0.9802 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.7792, allocations: 106.2 kB / 0.9803 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004434/0.7796, allocations: 177.3 kB / 0.9805 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.7796, allocations: 1.125 kB / 0.9805 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009492/0.7806, allocations: 284.2 kB / 0.9807 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.7806, allocations: 5.75 kB / 0.9808 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.7806, allocations: 5.969 kB / 0.9808 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005434/0.7812, allocations: 85.69 kB / 0.9808 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.7814, allocations: 39.33 kB / 0.9809 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.7834, allocations: 1.662 MB / 0.9825 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.7836, allocations: 24.14 kB / 0.9825 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.7837, allocations: 5.609 kB / 0.9825 GB, free: 2.184 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 0.0001666/0.7838, allocations: 131.5 kB / 0.9827 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/0.7839, allocations: 9.922 kB / 0.9827 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009509/0.7848, allocations: 300.5 kB / 0.9829 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.7849, allocations: 12.27 kB / 0.983 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.7849, allocations: 0 / 0.983 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.7849, allocations: 0.8438 kB / 0.983 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.7851, allocations: 240.1 kB / 0.9832 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7851, allocations: 0 / 0.9832 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.7853, allocations: 28.28 kB / 0.9832 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00039/0.7857, allocations: 77.59 kB / 0.9833 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.7857, allocations: 9.406 kB / 0.9833 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/0.7875, allocations: 1.687 MB / 0.9849 GB, free: 140 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7875, allocations: 4.062 kB / 0.985 GB, free: 136 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009447/0.7885, allocations: 379.2 kB / 0.9853 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.074e-05/0.7885, allocations: 87.25 kB / 0.9854 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.7885, allocations: 5.375 kB / 0.9854 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.7887, allocations: 16.66 kB / 0.9854 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.7888, allocations: 22.3 kB / 0.9854 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.7888, allocations: 4.531 kB / 0.9854 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.466e-05/0.7889, allocations: 106.7 kB / 0.9855 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/0.7889, allocations: 0 / 0.9855 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003339/0.7892, allocations: 45.12 kB / 0.9856 GB, free: 15.71 MB / 0.7481 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.0001666/0.7894, allocations: 117 kB / 0.9857 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007771/0.7902, allocations: 319 kB / 0.986 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7902, allocations: 1.75 kB / 0.986 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004622/0.7907, allocations: 225.4 kB / 0.9862 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.791, allocations: 31.05 kB / 0.9862 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007075/0.7917, allocations: 295.6 kB / 0.9865 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.792, allocations: 0.7072 MB / 0.9872 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001158/0.7921, allocations: 26.5 kB / 0.9872 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.534e-05/0.7921, allocations: 17.23 kB / 0.9873 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of SimCode: time 2.6e-07/0.7922, allocations: 4 kB / 0.9873 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of Templates: time 0.006066/0.7982, allocations: 3.243 MB / 0.9904 GB, free: 12.9 MB / 0.7481 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)