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.009098/0.009098, allocations: 100.4 kB / 15.73 MB, free: 6.031 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.001446/0.001446, allocations: 193.2 kB / 16.67 MB, free: 5.965 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.555/1.555, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.6664/0.6664, allocations: 95.48 MB / 365.4 MB, free: 9.781 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.001501/0.001501, allocations: 63.91 kB / 0.5036 GB, free: 13.61 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.185, allocations: 69.09 MB / 0.5711 GB, free: 8.449 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.004115/0.1891, allocations: 1.723 MB / 0.5728 GB, free: 6.707 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.1903, allocations: 403.6 kB / 0.5731 GB, free: 6.309 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.1905, allocations: 4 kB / 0.5731 GB, free: 6.305 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.351e-05/0.1905, allocations: 11.86 kB / 0.5732 GB, free: 6.293 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.1907, allocations: 31.66 kB / 0.5732 GB, free: 6.262 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004977/0.1912, allocations: 91.75 kB / 0.5733 GB, free: 6.172 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002713/0.1915, allocations: 115.5 kB / 0.5734 GB, free: 6.059 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.1916, allocations: 25.11 kB / 0.5734 GB, free: 6.035 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.1918, allocations: 47.84 kB / 0.5735 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.1919, allocations: 55.75 kB / 0.5735 GB, free: 5.934 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.1919, allocations: 4 kB / 0.5735 GB, free: 5.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.1921, allocations: 43.97 kB / 0.5736 GB, free: 5.887 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.218e-05/0.1921, allocations: 23.92 kB / 0.5736 GB, free: 5.863 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.118e-05/0.1922, allocations: 51.73 kB / 0.5736 GB, free: 5.812 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.1925, allocations: 127.5 kB / 0.5738 GB, free: 5.688 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1925, allocations: 0 / 0.5738 GB, free: 5.688 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1925, allocations: 0 / 0.5738 GB, free: 5.688 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.1925, allocations: 3.984 kB / 0.5738 GB, free: 5.684 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008412/0.1933, allocations: 427 kB / 0.5742 GB, free: 5.215 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.1934, allocations: 11.98 kB / 0.5742 GB, free: 5.203 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003609/0.1938, allocations: 32.72 kB / 0.5742 GB, free: 5.172 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.1941, allocations: 196.2 kB / 0.5744 GB, free: 4.941 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.1941, allocations: 8.375 kB / 0.5744 GB, free: 4.934 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.1941, allocations: 8.375 kB / 0.5744 GB, free: 4.926 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.1945, allocations: 142.4 kB / 0.5745 GB, free: 4.766 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1945, allocations: 4.188 kB / 0.5745 GB, free: 4.762 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.1945, allocations: 3.938 kB / 0.5746 GB, free: 4.758 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1945, allocations: 4 kB / 0.5746 GB, free: 4.754 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002643/0.1948, allocations: 87.86 kB / 0.5746 GB, free: 4.668 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009038/0.1957, allocations: 0.7082 MB / 0.5753 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.196, allocations: 90.56 kB / 0.5754 GB, free: 3.797 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.1961, allocations: 40.88 kB / 0.5755 GB, free: 3.754 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.1961, allocations: 3.984 kB / 0.5755 GB, free: 3.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.1962, allocations: 34.56 kB / 0.5755 GB, free: 3.707 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.1962, allocations: 4 kB / 0.5755 GB, free: 3.703 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.001366/0.1976, allocations: 319.2 kB / 0.5758 GB, free: 3.363 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.704e-05/0.1976, allocations: 51.41 kB / 0.5758 GB, free: 3.301 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.1978, allocations: 163.3 kB / 0.576 GB, free: 3.133 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.282e-05/0.1979, allocations: 25.7 kB / 0.576 GB, free: 3.102 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.527e-05/0.198, allocations: 108.2 kB / 0.5761 GB, free: 2.992 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.1981, allocations: 27.64 kB / 0.5762 GB, free: 2.965 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.918e-05/0.1981, allocations: 25.66 kB / 0.5762 GB, free: 2.934 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002544/0.1984, allocations: 322.8 kB / 0.5765 GB, free: 2.609 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.1985, allocations: 31.97 kB / 0.5765 GB, free: 2.578 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.1987, allocations: 80.19 kB / 0.5766 GB, free: 2.484 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/0.1989, allocations: 104.2 kB / 0.5767 GB, free: 2.367 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.199, allocations: 0 / 0.5767 GB, free: 2.367 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007703/0.1997, allocations: 198.2 kB / 0.5769 GB, free: 2.164 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.1998, allocations: 12.03 kB / 0.5769 GB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1998, allocations: 0 / 0.5769 GB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005729/0.2004, allocations: 72.73 kB / 0.577 GB, free: 2.078 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.2005, allocations: 23.97 kB / 0.577 GB, free: 2.055 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.2026, allocations: 1.504 MB / 0.5785 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.2027, allocations: 23.83 kB / 0.5785 GB, free: 392 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.2028, allocations: 4 kB / 0.5785 GB, free: 388 kB / 446.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 0.000124/0.2029, allocations: 117.8 kB / 0.5786 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.2029, allocations: 7.906 kB / 0.5786 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007931/0.2037, allocations: 227.6 kB / 0.5788 GB, free: 4 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2038, allocations: 0 / 0.5788 GB, free: 4 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.2038, allocations: 48 / 0.5788 GB, free: 4 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.299e-05/0.2038, allocations: 4.047 kB / 0.5788 GB, free: 16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.2041, allocations: 217.5 kB / 0.579 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2041, allocations: 0 / 0.579 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.2042, allocations: 20.23 kB / 0.5791 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003792/0.2046, allocations: 60.75 kB / 0.5791 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.2046, allocations: 8 kB / 0.5791 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/0.2064, allocations: 1.521 MB / 0.5806 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2064, allocations: 0 / 0.5806 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007635/0.2072, allocations: 288.1 kB / 0.5809 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.2073, allocations: 104.9 kB / 0.581 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.2074, allocations: 4 kB / 0.581 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.2075, allocations: 11.92 kB / 0.581 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.212e-05/0.2076, allocations: 11.98 kB / 0.581 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.2076, allocations: 8 kB / 0.581 GB, free: 13.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.2078, allocations: 124.9 kB / 0.5811 GB, free: 13.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2078, allocations: 3.938 kB / 0.5811 GB, free: 13.39 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002994/0.2081, allocations: 28 kB / 0.5812 GB, free: 13.37 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 (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.0001651/0.2082, allocations: 103.4 kB / 0.5813 GB, free: 13.26 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006557/0.2089, allocations: 223 kB / 0.5815 GB, free: 13.03 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.2089, allocations: 4 kB / 0.5815 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003629/0.2093, allocations: 178.6 kB / 0.5816 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.2096, allocations: 36.31 kB / 0.5817 GB, free: 12.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005914/0.2102, allocations: 251 kB / 0.5819 GB, free: 12.53 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.2106, allocations: 0.7046 MB / 0.5826 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.791e-05/0.2107, allocations: 12.88 kB / 0.5826 GB, free: 11.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.809e-05/0.2107, allocations: 23.44 kB / 0.5826 GB, free: 11.77 MB / 462.1 MB Notification: Performance of SimCode: time 2e-07/0.2107, allocations: 0 / 0.5826 GB, free: 11.77 MB / 462.1 MB Notification: Performance of Templates: time 0.006718/0.2174, allocations: 2.543 MB / 0.5851 GB, free: 9.25 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (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)