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.007758/0.007758, allocations: 102 kB / 15.73 MB, free: 6.051 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.001267/0.001267, allocations: 195 kB / 16.68 MB, free: 5.969 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.709/1.709, allocations: 205.1 MB / 222.6 MB, free: 4.371 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.6412/0.6412, allocations: 95.48 MB / 365.4 MB, free: 9.676 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.001421/0.001421, allocations: 67.91 kB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1845, allocations: 69.09 MB / 0.5711 GB, free: 8.305 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.WetBul_pTX): time 0.00299/0.1876, allocations: 1.513 MB / 0.5725 GB, free: 6.773 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006558/0.1882, allocations: 300 kB / 0.5728 GB, free: 6.477 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.021e-05/0.1883, allocations: 0 / 0.5728 GB, free: 6.477 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.639e-05/0.1884, allocations: 7.922 kB / 0.5728 GB, free: 6.469 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.798e-05/0.1884, allocations: 11.88 kB / 0.5729 GB, free: 6.457 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.1888, allocations: 43.81 kB / 0.5729 GB, free: 6.414 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.1889, allocations: 63.72 kB / 0.573 GB, free: 6.352 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.1891, allocations: 19.97 kB / 0.573 GB, free: 6.332 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.981e-05/0.1892, allocations: 31.86 kB / 0.573 GB, free: 6.301 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.542e-05/0.1892, allocations: 19.92 kB / 0.573 GB, free: 6.281 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.1892, allocations: 4 kB / 0.573 GB, free: 6.277 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.1894, allocations: 39.97 kB / 0.5731 GB, free: 6.238 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.018e-05/0.1894, allocations: 15.86 kB / 0.5731 GB, free: 6.223 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.55e-05/0.1895, allocations: 31.86 kB / 0.5731 GB, free: 6.191 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.1896, allocations: 67.86 kB / 0.5732 GB, free: 6.125 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.892e-06/0.1897, allocations: 0 / 0.5732 GB, free: 6.125 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1897, allocations: 0 / 0.5732 GB, free: 6.125 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1897, allocations: 0 / 0.5732 GB, free: 6.125 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.0006866/0.1904, allocations: 383.2 kB / 0.5735 GB, free: 5.699 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.1904, allocations: 15.92 kB / 0.5736 GB, free: 5.684 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002357/0.1907, allocations: 16.92 kB / 0.5736 GB, free: 5.668 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.1908, allocations: 176.2 kB / 0.5737 GB, free: 5.457 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1909, allocations: 384 / 0.5737 GB, free: 5.457 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.1909, allocations: 12.3 kB / 0.5738 GB, free: 5.445 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.1911, allocations: 66.23 kB / 0.5738 GB, free: 5.375 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1912, allocations: 192 / 0.5738 GB, free: 5.375 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.1912, allocations: 7.922 kB / 0.5738 GB, free: 5.367 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.1912, allocations: 0 / 0.5738 GB, free: 5.367 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.1914, allocations: 51.97 kB / 0.5739 GB, free: 5.316 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005494/0.1919, allocations: 300.7 kB / 0.5742 GB, free: 4.973 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.1921, allocations: 50.55 kB / 0.5742 GB, free: 4.914 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.549e-05/0.1922, allocations: 28.94 kB / 0.5742 GB, free: 4.883 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.1923, allocations: 0 / 0.5742 GB, free: 4.883 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.1923, allocations: 38.55 kB / 0.5743 GB, free: 4.836 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1923, allocations: 0 / 0.5743 GB, free: 4.836 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.001241/0.1935, allocations: 275.3 kB / 0.5745 GB, free: 4.539 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.1936, allocations: 51.41 kB / 0.5746 GB, free: 4.477 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.1937, allocations: 122.1 kB / 0.5747 GB, free: 4.348 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.1938, allocations: 25.7 kB / 0.5747 GB, free: 4.316 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.822e-05/0.1938, allocations: 88.14 kB / 0.5748 GB, free: 4.227 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.1939, allocations: 11.84 kB / 0.5748 GB, free: 4.215 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.1939, allocations: 17.7 kB / 0.5748 GB, free: 4.191 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.194, allocations: 318.8 kB / 0.5751 GB, free: 3.871 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.282e-05/0.1941, allocations: 23.98 kB / 0.5752 GB, free: 3.848 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.2e-05/0.1942, allocations: 23.97 kB / 0.5752 GB, free: 3.824 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.1944, allocations: 53.05 kB / 0.5752 GB, free: 3.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1944, allocations: 0 / 0.5752 GB, free: 3.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006053/0.195, allocations: 146.4 kB / 0.5754 GB, free: 3.617 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1951, allocations: 4 kB / 0.5754 GB, free: 3.613 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1951, allocations: 0 / 0.5754 GB, free: 3.613 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005233/0.1956, allocations: 72.73 kB / 0.5755 GB, free: 3.539 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.6e-05/0.1957, allocations: 15.92 kB / 0.5755 GB, free: 3.523 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002011/0.1977, allocations: 1.524 MB / 0.577 GB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.1978, allocations: 11.92 kB / 0.577 GB, free: 1.844 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.1978, allocations: 0 / 0.577 GB, free: 1.844 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.0001035/0.198, allocations: 119.7 kB / 0.5771 GB, free: 1.719 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.198, allocations: 0 / 0.5771 GB, free: 1.719 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006074/0.1986, allocations: 154.3 kB / 0.5772 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1986, allocations: 0 / 0.5772 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.1986, allocations: 0 / 0.5772 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1986, allocations: 3.938 kB / 0.5772 GB, free: 1.547 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.1988, allocations: 181.5 kB / 0.5774 GB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1988, allocations: 0 / 0.5774 GB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.05e-05/0.1989, allocations: 7.984 kB / 0.5774 GB, free: 1.312 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003509/0.1993, allocations: 64.95 kB / 0.5775 GB, free: 1.246 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.1993, allocations: 3.984 kB / 0.5775 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/0.2009, allocations: 1.545 MB / 0.579 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2009, allocations: 0 / 0.579 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006103/0.2016, allocations: 236.3 kB / 0.5792 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.2017, allocations: 89 kB / 0.5793 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.2017, allocations: 4 kB / 0.5793 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.785e-05/0.2018, allocations: 7.984 kB / 0.5793 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.2019, allocations: 4 kB / 0.5793 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/0.2019, allocations: 0 / 0.5793 GB, free: 15.18 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.164e-05/0.202, allocations: 99.27 kB / 0.5794 GB, free: 15.09 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.202, allocations: 0 / 0.5794 GB, free: 15.09 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.2022, allocations: 16 kB / 0.5794 GB, free: 15.07 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.0001287/0.2024, allocations: 107.2 kB / 0.5795 GB, free: 14.96 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004586/0.2028, allocations: 170.8 kB / 0.5797 GB, free: 14.78 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2028, allocations: 0 / 0.5797 GB, free: 14.78 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.2031, allocations: 154.7 kB / 0.5798 GB, free: 14.61 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.2034, allocations: 25.09 kB / 0.5799 GB, free: 14.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004159/0.2038, allocations: 163.1 kB / 0.58 GB, free: 14.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.2042, allocations: 0.6962 MB / 0.5807 GB, free: 13.68 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.39e-05/0.2042, allocations: 0 / 0.5807 GB, free: 13.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.582e-05/0.2042, allocations: 15.44 kB / 0.5807 GB, free: 13.66 MB / 462.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2042, allocations: 0 / 0.5807 GB, free: 13.66 MB / 462.1 MB Notification: Performance of Templates: time 0.005045/0.2093, allocations: 1.819 MB / 0.5825 GB, free: 11.86 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)