Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.WetBul_pTX.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.WetBul_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.WetBul_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.WetBul_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.WetBul_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009522/0.009522, allocations: 100.5 kB / 15.73 MB, free: 6 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.001661/0.001661, allocations: 191.4 kB / 16.67 MB, free: 5.926 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.707/1.707, allocations: 205.1 MB / 222.6 MB, free: 4.383 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.6867/0.6867, allocations: 95.48 MB / 365.4 MB, free: 9.688 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.001466/0.001466, allocations: 75.89 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.182, allocations: 69.09 MB / 0.5711 GB, free: 8.336 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.WetBul_pTX): time 0.002937/0.185, allocations: 1.513 MB / 0.5725 GB, free: 6.805 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006961/0.1857, allocations: 304 kB / 0.5728 GB, free: 6.504 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.345e-05/0.1858, allocations: 0 / 0.5728 GB, free: 6.504 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.014e-05/0.1858, allocations: 3.938 kB / 0.5728 GB, free: 6.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.485e-05/0.1859, allocations: 15.86 kB / 0.5729 GB, free: 6.484 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.1862, allocations: 39.81 kB / 0.5729 GB, free: 6.445 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.1863, allocations: 63.72 kB / 0.573 GB, free: 6.383 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.1865, allocations: 19.98 kB / 0.573 GB, free: 6.363 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.05e-05/0.1866, allocations: 31.86 kB / 0.573 GB, free: 6.332 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.801e-05/0.1867, allocations: 19.92 kB / 0.573 GB, free: 6.312 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.1867, allocations: 7.984 kB / 0.573 GB, free: 6.305 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.1868, allocations: 39.97 kB / 0.5731 GB, free: 6.266 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.263e-05/0.1869, allocations: 11.92 kB / 0.5731 GB, free: 6.254 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.123e-05/0.1869, allocations: 31.8 kB / 0.5731 GB, free: 6.223 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.1871, allocations: 67.86 kB / 0.5732 GB, free: 6.156 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1871, allocations: 0 / 0.5732 GB, free: 6.156 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1871, allocations: 0 / 0.5732 GB, free: 6.156 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.1871, allocations: 0 / 0.5732 GB, free: 6.156 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006354/0.1878, allocations: 387.2 kB / 0.5735 GB, free: 5.727 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.1878, allocations: 11.98 kB / 0.5736 GB, free: 5.715 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002213/0.188, allocations: 16.86 kB / 0.5736 GB, free: 5.699 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.1882, allocations: 176.2 kB / 0.5737 GB, free: 5.488 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.1882, allocations: 384 / 0.5737 GB, free: 5.488 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.1882, allocations: 8.312 kB / 0.5737 GB, free: 5.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.1884, allocations: 74.22 kB / 0.5738 GB, free: 5.402 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1885, allocations: 192 / 0.5738 GB, free: 5.402 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.1885, allocations: 7.922 kB / 0.5738 GB, free: 5.395 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1885, allocations: 0 / 0.5738 GB, free: 5.395 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.1887, allocations: 51.95 kB / 0.5739 GB, free: 5.344 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005138/0.1892, allocations: 304.7 kB / 0.5742 GB, free: 4.996 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.1894, allocations: 50.55 kB / 0.5742 GB, free: 4.938 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.1895, allocations: 28.92 kB / 0.5742 GB, free: 4.906 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.1895, allocations: 0 / 0.5742 GB, free: 4.906 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.1896, allocations: 34.56 kB / 0.5743 GB, free: 4.863 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1896, allocations: 4 kB / 0.5743 GB, free: 4.859 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.001171/0.1908, allocations: 271.3 kB / 0.5745 GB, free: 4.566 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.1908, allocations: 51.41 kB / 0.5746 GB, free: 4.504 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.1909, allocations: 123.7 kB / 0.5747 GB, free: 4.375 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.191, allocations: 25.7 kB / 0.5747 GB, free: 4.344 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.191, allocations: 92.14 kB / 0.5748 GB, free: 4.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.853e-05/0.191, allocations: 11.84 kB / 0.5748 GB, free: 4.238 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/0.1911, allocations: 17.7 kB / 0.5748 GB, free: 4.215 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1912, allocations: 318.8 kB / 0.5752 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.049e-05/0.1913, allocations: 23.97 kB / 0.5752 GB, free: 3.871 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.515e-05/0.1914, allocations: 19.98 kB / 0.5752 GB, free: 3.852 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.1916, allocations: 56.75 kB / 0.5752 GB, free: 3.793 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1916, allocations: 0 / 0.5752 GB, free: 3.793 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000579/0.1922, allocations: 134.4 kB / 0.5754 GB, free: 3.652 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.1922, allocations: 4 kB / 0.5754 GB, free: 3.648 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.1922, allocations: 4 kB / 0.5754 GB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005554/0.1928, allocations: 68.8 kB / 0.5754 GB, free: 3.574 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.619e-05/0.1929, allocations: 15.86 kB / 0.5755 GB, free: 3.559 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/0.1952, allocations: 1.529 MB / 0.577 GB, free: 1.883 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.583e-05/0.1953, allocations: 4 kB / 0.577 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.1953, allocations: 3.938 kB / 0.577 GB, free: 1.875 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * 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 0.0001017/0.1954, allocations: 121.8 kB / 0.5771 GB, free: 1.746 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.1954, allocations: 3.984 kB / 0.5771 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005952/0.196, allocations: 150.3 kB / 0.5772 GB, free: 1.578 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1961, allocations: 0 / 0.5772 GB, free: 1.578 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-06/0.1961, allocations: 0 / 0.5772 GB, free: 1.578 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.1961, allocations: 3.938 kB / 0.5772 GB, free: 1.574 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.1963, allocations: 177.5 kB / 0.5774 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1963, allocations: 0 / 0.5774 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.833e-05/0.1964, allocations: 7.984 kB / 0.5774 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004347/0.1968, allocations: 60.81 kB / 0.5775 GB, free: 1.281 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1968, allocations: 4 kB / 0.5775 GB, free: 1.277 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/0.1985, allocations: 1.557 MB / 0.579 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1985, allocations: 0 / 0.579 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007774/0.1993, allocations: 236.3 kB / 0.5792 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.787e-05/0.1994, allocations: 85.02 kB / 0.5793 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.1994, allocations: 4 kB / 0.5793 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.747e-05/0.1995, allocations: 7.984 kB / 0.5793 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.1995, allocations: 11.98 kB / 0.5793 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.1995, allocations: 0 / 0.5793 GB, free: 15.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.161e-05/0.1996, allocations: 102.1 kB / 0.5794 GB, free: 15.11 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1996, allocations: 0 / 0.5794 GB, free: 15.11 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.1999, allocations: 16 kB / 0.5794 GB, free: 15.09 MB / 462.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 (2): * Single equations (assignments): 1 * 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.0001196/0.2, allocations: 99.19 kB / 0.5795 GB, free: 14.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004443/0.2005, allocations: 174.6 kB / 0.5797 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2005, allocations: 0 / 0.5797 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000224/0.2007, allocations: 150.6 kB / 0.5798 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.201, allocations: 25 kB / 0.5799 GB, free: 14.62 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004119/0.2014, allocations: 168.8 kB / 0.58 GB, free: 14.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.2017, allocations: 0.6923 MB / 0.5807 GB, free: 13.71 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.39e-05/0.2017, allocations: 0 / 0.5807 GB, free: 13.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.2018, allocations: 11.44 kB / 0.5807 GB, free: 13.7 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2018, allocations: 4 kB / 0.5807 GB, free: 13.69 MB / 462.1 MB Notification: Performance of Templates: time 0.005645/0.2074, allocations: 1.818 MB / 0.5825 GB, free: 11.89 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.WetBul_pTX.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.WetBul_pTX.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.WetBul_pTX.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.WetBul_pTX.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.WetBul_pTX.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.WetBul_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.WetBul_pTX.pipe 2>&1)